.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;
    }
}

/* Header: nav + language switcher */
.header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

.header__right .menu__nav {
    width: auto;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 8px;
    background: rgba(88, 70, 140, 0.08);
    border: 1px solid rgba(88, 70, 140, 0.12);
    flex-shrink: 0;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #58468c;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switcher__btn:hover {
    color: #5580ff;
    background: rgba(85, 128, 255, 0.12);
}

.lang-switcher__btn--active,
.lang-switcher__btn[aria-current="true"] {
    color: #fff;
    background: linear-gradient(135deg, #5580ff 0%, #ff61eb 100%);
    pointer-events: none;
}

@media (max-width: 767px) {
    .header .flex-bl {
        flex-wrap: wrap;
    }

    .header__right {
        width: 100%;
        justify-content: center;
    }
}

