:root {
    --background: 210 40% 98%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 214 80% 56%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 216 88% 97%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
    --radius: .75rem;
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%
}

.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 217.2 91.2% 59.8%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%
}


.sdk-privacy-btn,
.sdk-terms-btn {
    display: inline;
    font-weight: 600;
}

.iti {
    font-size: 15px;
    font-weight: 500;
}

form .iti .iti__selected-dial-code,
.iti--separate-dial-code .iti__selected-dial-code {
    padding-left: 0;
    margin-left: 0;
}

input[type="checkbox"] {
    height: auto;
    width: unset;
    min-width: unset;
}

.iti__selected-dial-code {
    color: #58468c;
}

.sdk-login-button {
    display: block;
    min-width: 100%;
    margin-top: 20px;
    padding-block: 16px;
    height: 48px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: #ff61eb;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Header logo + platform name (responsive) */
.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: none; /* override fixed max-width from base styles */
}

.header .logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
}

.header .logo__text {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    color: #58468c;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .header .logo img {
        height: 36px;
        max-width: 240px;
    }
    .header .logo__text {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .header .logo {
        gap: 8px;
    }
    .header .logo__text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .header .logo__text {
        display: none;
    }
}

/* Footer logo + platform name (responsive) */
.footer .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer .logo img {
    display: block;
    height: 30px;
    width: auto;
}

.footer .logo__text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .footer .logo {
        justify-content: flex-start;
    }
    .footer .logo__text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .footer .logo__text {
        display: none;
    }
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 3px;
    border: 1px solid #dcebff;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
}

.lang-switch > a,
.lang-switch > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: 34px;
    border-radius: 999px;
    padding: 0 18px;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

.lang-switch > a:hover {
    color: #1f7dff;
}

.lang-switch > .text-primary {
    background: #2187ff;
    color: #fff;
}

.lang-switch > a.text-foreground\/80 {
    color: #26344d;
}

.lang-switch--desktop {
    margin-right: 12px;
}
