.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo-img {
    width: 45px;
}

/* Language switcher: hidden for now — remove .lang-pill-toggle--hidden / [hidden] to show */
.lang-switcher.lang-switcher--hidden,
.lang-pill-toggle.lang-pill-toggle--hidden,
.lang-switcher[hidden],
.lang-pill-toggle[hidden] {
    display: none !important;
}

.lang-pill-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 32px;
    border: 1px solid rgba(23, 159, 117, 0.35);
    border-radius: 999px;
    background: #fff;
    color: #179f75;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 0 12px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(23, 159, 117, 0.12);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.lang-pill-toggle:hover {
    border-color: var(--ynmo-green);
    color: var(--ynmo-dark-green);
}

.form-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-content-wrapper--wide {
    max-width: 620px;
}

.login-prompt {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--text-muted);
}

.login-prompt a {
    color: var(--ynmo-green);
    text-decoration: none;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.asterisk {
    color: #e11d48;
}

.auth-footer-bar {
    width: calc(100% + 120px);
    margin: auto -60px 0;
    padding: 20px 60px;
    background: #f4f8f9;
    color: #5b6b82;
    font-size: 14px;
    font-weight: 500;
    border-top: none;
}

.auth-footer-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    direction: rtl;
}

.auth-footer-bar__copyright {
    margin: 0;
    line-height: 1.6;
    white-space: nowrap;
}

.auth-footer-bar__divider {
    color: #c5d0dc;
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.auth-footer-bar__links {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.auth-footer-bar__link {
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.auth-footer-bar__link:hover,
.auth-footer-bar__link:focus-visible {
    color: var(--ynmo-green);
}

@media (max-width: 768px) {
    .auth-footer-bar {
        width: calc(100% + 50px);
        margin-left: -25px;
        margin-right: -25px;
        padding: 18px 25px;
    }

    .auth-footer-bar__inner {
        gap: 12px;
        overflow-x: auto;
    }

    .auth-footer-bar__links {
        gap: 18px;
    }
}