/* Advertiser signup — align with login page (420px centered column) */
.signup-section.auth-section {
    height: 100vh;
}

.signup-section .signup-auth-column {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #fff;
}

.signup-section .signup-auth-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
}

.signup-section .signup-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 56px;
    padding-top: 20px;
    margin-bottom: 8px;
}

.signup-section .signup-top-bar__spacer {
    flex: 1 1 auto;
    min-height: 1px;
}

.signup-section .signup-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.signup-section .signup-lang-switcher__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
}

.signup-section .signup-lang-switcher__link.is-active {
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
}

.signup-section .signup-lang-switcher__link img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}

.signup-section .signup-lang-switcher__link:last-child img {
    border-radius: 0;
    height: 16px;
}

.signup-section .signup-form-stack {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.signup-section .signup-form-stack::-webkit-scrollbar {
    width: 6px;
}

.signup-section .signup-form-stack::-webkit-scrollbar-track {
    background: transparent;
}

.signup-section .signup-form-stack::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
}

.signup-section .signup-form-stack::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.28);
}

.signup-section .signup-form-stack.is-tall-step {
    justify-content: flex-start;
    padding-top: 0;
}

.signup-section .auth-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.signup-section .signup-alert {
    background: #fff8f6;
    border: 1px solid rgba(245, 81, 57, 0.45);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    color: #333;
}

.signup-section .signup-alert__title {
    font-weight: 600;
    color: #b91c1c;
    margin: 0;
    line-height: 1.45;
}

.signup-section .signup-alert__hint {
    color: #555;
    margin: 0;
}

.signup-section .auth-form h2 {
    margin-bottom: 30px;
    margin-top: 0;
}

.signup-section .auth-form .form-select {
    height: 50px;
    border-radius: 10px;
    background-color: #f6f6f6;
    border: 1px solid #cbcbcb;
    color: #01041d;
}

.signup-section .form-check-label {
    text-align: left !important;
    line-height: 1.45;
    font-weight: 500;
    color: #333;
}

.signup-section .auth-nav-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.signup-section .auth-nav-row .back-btn {
    align-self: center;
    margin: 0;
}

.signup-section .auth-nav-row .btn-primary {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
}

.signup-section button.back-btn,
.signup-section a.back-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 7px 2px rgba(0, 0, 0, 0.09);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}

.signup-section button.back-btn img,
.signup-section a.back-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transform: none;
}

.signup-section .signup-auth-footer.auth-footer {
    position: relative;
    flex-shrink: 0;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;
    padding: 20px 0 15px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.11);
}

.signup-section .auth-form .btn-primary.w-100 {
    width: 100% !important;
    max-width: none;
}

@media screen and (max-width: 991.98px) {
    .signup-section .signup-auth-inner {
        max-width: none;
        padding: 0 20px;
    }
}

@media screen and (max-width: 767.98px) {
    .signup-section .signup-form-stack {
        justify-content: flex-start;
        padding-top: 8px;
    }

    .signup-section .auth-form.active {
        display: block;
        min-height: auto;
    }

    .signup-section .signup-auth-footer.auth-footer {
        position: relative;
    }
}
