:root {
    --notary-blue: #1a2a40;
    --notary-blue-dark: #121d2d;
    --notary-gold: #c5a059;
    --notary-teal: #40b3a2;
    --notary-teal-dark: #329488;
    --glass-bg: rgba(255, 255, 255, 0.97);
    --error-red: #c53030;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.13);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.25s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(-45deg, #dce8f0, #cfd9df, #f8f9fb, #e8edf2);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
    overflow-x: hidden;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
}

@keyframes gradientBG {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%,60%  { transform: translateX(-8px); }
    40%,80%  { transform: translateX(8px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes logoPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(64,179,162,0.35); }
    50%       { box-shadow: 0 0 0 8px rgba(64,179,162,0); }
}

/* ─── HEADER ─── */
.main-header {
    background: #fff;
    padding: 10px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 200px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-container:focus-visible { outline: 3px solid var(--notary-teal); border-radius: 4px; }

.header-logo {
    height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--notary-blue);
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.brand-text span { color: var(--notary-gold); }

.search-bar {
    background: #f1f4f7;
    border-radius: 30px;
    padding: 7px 16px;
    width: 100%;
    max-width: 240px;
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: var(--transition);
}
.search-bar:focus-within {
    border-color: var(--notary-teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(64,179,162,0.15);
}

.search-bar svg { flex-shrink: 0; opacity: 0.45; }

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.88rem;
    color: #333;
}
.search-bar input::placeholder { color: #9ca3af; }

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.68rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-teal  { display: none; background: var(--notary-teal);  color: #fff; }
.btn-dark  { display: none; background: var(--notary-blue);  color: #fff; }

.btn-teal:hover { background: var(--notary-teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--notary-blue-dark);  transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Language selector */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.72rem;
    border: 1.5px solid #dde1e8;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--notary-blue);
    white-space: nowrap;
    background: #fff;
    min-width: 64px;
    user-select: none;
    transition: var(--transition);
}

.lang-selector:hover { border-color: var(--notary-teal); }

.lang-selector.active {
    border-color: var(--notary-teal);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.lang-arrow {
    font-size: 0.55rem;
    transition: transform 0.2s;
    margin-left: auto;
}
.lang-selector.active .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: -1.5px;
    right: -1.5px;
    background: #fff;
    border: 1.5px solid var(--notary-teal);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    max-height: 320px;
    overflow-y: auto;
}
.lang-selector.active .lang-dropdown { display: block; }

.lang-option {
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.78rem;
}
.lang-option:hover { background: #f0f9f7; color: var(--notary-teal); }

/* ─── COUNTRY MODAL ─── */
.country-modal {
    position: fixed;
    inset: 0;
    background: rgba(10,18,30,0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease;
}

.country-modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    max-width: 480px;
    width: 92%;
    max-height: 82vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.25s ease;
}

.country-modal-content h3 {
    color: var(--notary-blue);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1.5px solid #e5e9ef;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--notary-blue);
    text-decoration: none;
}
.country-option span:first-child { font-size: 1.45rem; }
.country-option:hover {
    border-color: var(--notary-teal);
    background: #f0faf8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ─── MAIN CONTENT ─── */
.main-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
}

/* ─── CARD ─── */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 560px;
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    animation: fadeIn 0.35s ease;
}

.card-wide { max-width: 620px; }

/* ─── LOCK OVERLAY ─── */
#lock-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--notary-blue) 0%, #0e1a2e 100%);
    color: #fff;
    z-index: 10;
    padding: 30px 28px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#lock-overlay.visible { display: flex; }

.lock-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: pulse 2s ease infinite;
    display: inline-block;
    background: rgba(197,160,89,0.15);
    padding: 16px;
    border-radius: 50%;
}

#lock-title {
    color: var(--notary-gold);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

#lock-ip {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 6px;
}

#timer {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 16px 0;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

#lock-message {
    font-size: 0.78rem;
    color: #fca5a5;
    line-height: 1.5;
    max-width: 320px;
}

/* ─── FORM LOGO ─── */
.form-logo {
    width: 68px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    margin-bottom: 18px;
    transition: var(--transition);
}
.logo-pop { animation: logoPop 0.35s ease; }

/* ─── PROVIDERS TITLE ─── */
.providers-title {
    font-size: 1rem;
    color: var(--notary-blue);
    margin-bottom: 18px;
    font-weight: 700;
}

/* ─── PROVIDERS GRID ─── */
#providerForm {
    width: 100%;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
    width: 100%;
}

/* Le bouton est le seul enfant direct du grid — pas de form wrapper */
.provider-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    background: #fff;
    border: 2px solid #e4e9f2;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    width: 100%;
    min-height: 90px;
    font-family: inherit;
    overflow: hidden;
    position: relative;
}

.provider-btn:hover {
    border-color: var(--notary-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(64,179,162,0.18);
    background: #f5fdfb;
}
.provider-btn:focus-visible {
    outline: 3px solid var(--notary-teal);
    outline-offset: 2px;
}
.provider-btn.pressed {
    transform: translateY(-1px) scale(0.98);
}
.provider-btn--other {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-style: dashed;
}
.provider-btn--other:hover {
    border-style: solid;
}

/* Conteneur du logo — hauteur fixe pour aligner tous les boutons */
.provider-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    padding: 10px 8px 6px;
    flex-shrink: 0;
}

.provider-logo {
    max-height: 36px;
    max-width: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.provider-name {
    font-weight: 700;
    color: var(--notary-blue);
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.2;
    padding: 0 6px 10px;
    width: 100%;
}

/* Fournisseurs avec bord de couleur au hover */
.provider-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--notary-teal);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.provider-btn:hover::after { transform: scaleX(1); }

/* ─── FORM FIELDS ─── */
.form-section { animation: fadeIn 0.3s ease; }

/* En-tête de la page de connexion (étape 2) */
.login-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0faf8 0%, #e8f5f2 100%);
    border: 1.5px solid rgba(64,179,162,0.22);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    text-align: left;
}

.provider-badge-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    padding: 6px;
}
.provider-badge-logo img {
    max-width: 40px;
    max-height: 34px;
    object-fit: contain;
}

.login-header-via {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}
.login-header-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--notary-blue);
    line-height: 1.2;
}
.login-header-domain {
    font-size: 0.72rem;
    color: var(--notary-teal);
    font-weight: 600;
    margin-top: 2px;
}

.input-group {
    text-align: left;
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--notary-blue);
    font-size: 0.88rem;
}

.input-group label .domain-hint {
    font-weight: 400;
    color: #64748b;
    font-size: 0.8rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #dde3ed;
    font-size: 0.95rem;
    color: #1e293b;
    background: #fff;
    transition: var(--transition);
    outline: none;
}
.input-wrapper input:focus {
    border-color: var(--notary-teal);
    box-shadow: 0 0 0 3px rgba(64,179,162,0.15);
}
.input-wrapper input::placeholder { color: #b0bcc8; }
.input-wrapper input.input-error { border-color: var(--error-red); }

.input-icon {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    pointer-events: none;
    font-size: 1rem;
}

.input-toggle {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s;
}
.input-toggle:hover { color: var(--notary-blue); }

/* ─── ERROR ZONE ─── */
.error-zone {
    background: #fff5f5;
    border: 1.5px solid #fca5a5;
    color: var(--error-red);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.82rem;
    text-align: left;
    display: none;
    animation: shake 0.4s ease;
    line-height: 1.5;
}
.error-zone.visible { display: block; }

/* ─── BUTTONS ─── */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--notary-blue) 0%, #1e3254 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.08) 100%);
}
.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--notary-blue-dark) 0%, #152644 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,42,64,0.35);
}
.btn-submit:active:not(:disabled) { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-back {
    background: none;
    border: none;
    color: var(--notary-teal);
    font-size: 0.85rem;
    margin-top: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.btn-back:hover { color: var(--notary-teal-dark); }

/* ─── SPINNER ─── */
.spinner {
    width: 17px;
    height: 17px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.75s linear infinite;
    display: none;
    flex-shrink: 0;
}

/* ─── INFO CARD (index) ─── */
.providers-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    margin: 20px 0;
    border: 1px solid rgba(64,179,162,0.2);
}

.providers-preview h3 {
    color: var(--notary-blue);
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.providers-preview h3 .badge {
    background: var(--notary-teal);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
}

.mini-providers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.mini-provider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 64px;
}

.mini-provider-logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.mini-provider-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--notary-blue);
    text-align: center;
}

/* ─── INSTRUCTION BOX ─── */
.instruction-box {
    text-align: left;
    background: #f8fafc;
    border-left: 5px solid var(--notary-gold);
    padding: 18px;
    margin: 20px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.instruction-step {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.instruction-step:last-child { margin-bottom: 0; }

.step-number {
    background: var(--notary-blue);
    color: #fff;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.instruction-step-text strong { color: var(--notary-blue); }

/* ─── PROCEED BUTTON ─── */
.btn-proceed {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--notary-teal) 0%, var(--notary-teal-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: var(--transition);
    margin-top: 8px;
}
.btn-proceed:hover {
    background: linear-gradient(135deg, var(--notary-teal-dark) 0%, #267a6f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(64,179,162,0.35);
}

/* ─── SECURITY BADGE ─── */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
}
.security-badge .badge-pill {
    background: var(--notary-gold);
    color: #fff;
    padding: 2px 10px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.68rem;
}

/* ─── FOOTER ─── */
.main-footer {
    background-color: var(--notary-blue);
    color: rgba(255,255,255,0.85);
    padding: 40px 5% 18px;
    font-size: 0.82rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-logo-section {}

.footer-logo-section img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-white {
    filter: brightness(0) invert(1);
}

/* ─── CANADA LOGO OVERRIDES ─── */
[data-country="en-canada"] .header-logo {
    height: 54px;
    max-width: 210px;
}
[data-country="en-canada"] #footerLogo {
    height: 58px;
    max-width: 220px;
}
[data-country="en-canada"] .form-logo {
    width: 95px;
    max-height: 95px;
}

/* ─── BELGIUM LOGO OVERRIDES ─── */
[data-country="nl-belgium"] .header-logo {
    height: 54px;
    max-width: 210px;
}
[data-country="nl-belgium"] #footerLogo {
    height: 58px;
    max-width: 220px;
}
[data-country="nl-belgium"] .form-logo {
    width: 95px;
    max-height: 95px;
}

.footer-brand-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.footer-brand-text span { color: var(--notary-gold); }

.footer-desc { font-size: 0.78rem; opacity: 0.7; margin-bottom: 14px; }

.btn-discovery {
    display: inline-block;
    padding: 8px 16px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.7rem;
    transition: var(--transition);
}
.btn-discovery:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.footer-link-group h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-link-group ul { list-style: none; }
.footer-link-group ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}
.footer-link-group ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--notary-teal);
    font-weight: 700;
}
.footer-link-group ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s;
}
.footer-link-group ul li a:hover { color: #fff; }

.footer-social h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.social-icons a {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    transition: var(--transition);
}
.social-icons a:hover {
    border-color: var(--notary-teal);
    background: rgba(64,179,162,0.2);
    color: #fff;
}

.partner-text { font-size: 0.65rem; opacity: 0.55; margin-bottom: 10px; }

.partner-logo {
    max-width: 140px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.7rem;
    opacity: 0.65;
}

.footer-bottom-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.footer-bottom-links a:hover { opacity: 1; }

.copyright-text { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ─── */
@media (min-width: 480px) {
    .provider-btn { padding: 14px 8px; }
    .provider-logo { height: 36px; }
    .country-grid { grid-template-columns: repeat(2, 1fr); }
    .card { padding: 32px 28px; }
    .mini-provider-logo { height: 48px; width: 48px; }
}

@media (min-width: 640px) {
    .btn-dark { display: inline-flex; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
    .copyright-text { text-align: right; }
}

@media (min-width: 768px) {
    .brand-text { font-size: 1.6rem; }
    .header-logo { height: 46px; max-width: 155px; }
    .card { padding: 40px; }
    .main-content { padding: 52px 20px; }
    .footer-top { gap: 36px; }
    .providers-container { gap: 12px; }
}

@media (min-width: 860px) {
    .btn-teal { display: inline-flex; }
    .search-bar { display: flex; max-width: 280px; }
}

@media (min-width: 1024px) {
    .btn { padding: 10px 20px; font-size: 0.75rem; }
    .lang-selector { font-size: 0.8rem; padding: 8px 14px; min-width: 80px; }
    .lang-option { font-size: 0.8rem; }
    .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 44px; margin-bottom: 48px; }
}

@media (max-width: 440px) {
    .providers-container { grid-template-columns: repeat(2, 1fr); }
}
