/* Country Compliance Checker Styles */
.hero-modern,
.hero-modern .hero-overlay,
.hero-modern .container-modern,
.hero-modern .hero-content-modern {
    overflow: visible !important;
}

.compliance-checker-wrapper {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.compliance-input-container {
    position: relative;
}

.compliance-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
    z-index: 1;
}

.compliance-search-input {
    width: 100%;
    padding: 1.125rem 1.25rem 1.125rem 3.25rem;
    font-size: 1.0625rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text-primary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.compliance-search-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 60, 104, 0.1);
}

.compliance-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(50,50,93,0.15), 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.compliance-dropdown.active {
    display: block;
    animation: dropSlide 0.2s ease;
}

@keyframes dropSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.compliance-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.compliance-option:hover {
    background: rgba(0, 171, 220, 0.08);
}

.compliance-option:first-child {
    border-radius: 12px 12px 0 0;
}

.compliance-option:last-child {
    border-radius: 0 0 12px 12px;
}

.compliance-option .flag {
    font-size: 1.375rem;
}

.compliance-option .name {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.compliance-option .name mark {
    background: rgba(0, 171, 220, 0.2);
    color: var(--brand-primary);
    padding: 0 2px;
    border-radius: 2px;
}

.no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.compliance-result {
    margin-top: 1.5rem;
    display: none;
}

.compliance-result.active {
    display: block;
    animation: resultFade 0.35s ease;
}

@keyframes resultFade {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.compliance-card {
    background: linear-gradient(135deg, rgba(13, 167, 120, 0.08), rgba(13, 167, 120, 0.04));
    border: 2px solid rgba(13, 167, 120, 0.3);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
}

.compliance-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.compliance-card-flag {
    font-size: 2rem;
}

.compliance-card-country {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0DA778, #0a9668);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: badgePop 0.4s ease 0.15s both;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.compliance-cta {
    animation: ctaSlide 0.4s ease 0.5s both;
}

@keyframes ctaSlide {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.compliance-badge svg {
    width: 18px;
    height: 18px;
    stroke: white !important;
}

.compliance-regulation {
    font-size: 1rem;
    color: var(--text-secondary);
}

.compliance-regulation strong {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .compliance-search-input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 1rem;
    }
    .compliance-card {
        padding: 1.25rem;
    }
    .compliance-card-country {
        font-size: 1.125rem;
    }
}
