body { 
    overflow: hidden;
}

.auth-page .topbar,
.auth-page .footer {
    position: relative;
    z-index: 3;
}
.auth-page .footer {
    display: none;
}

.auth-page .topbar {justify-content: center;}

.auth-page .topbar a.logo {
    display: inline-block;
}

.auth-page .topbar .logo img {
    width: 380px;
    height: 108px;
}

.auth-hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px 0 20px;
    min-height: calc(100vh - 180px);
    max-width: 100%;
}

.auth-shell {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 2rem;
}

.auth-card,
.auth-side-card {
    border-radius: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.10);
}

.auth-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.auth-card-inner {
    padding: 42px 40px;
    text-align: left;
}

.auth-side-card {
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 36px;
    align-items: flex-start;
}

.auth-kicker,
.auth-side-kicker {
    margin: 0 0 10px;
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75 !important;
}

.auth-title {
    margin: 0 0 12px;
    font-size: 44px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    color: #000 !important;
}

.auth-subtitle {
    margin: 0 0 28px;
    font-size: 18px !important;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72) !important;
}

.auth-side-card h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    text-align: left;
}

.auth-side-card p {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.82);
    max-width: 420px;
    text-align: left;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.auth-field input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    padding: 0 18px;
    font-size: 16px;
    color: #000;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: #f6c400;
    box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.16);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -2px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111;
    cursor: pointer;
}

.auth-check input {
    width: 16px;
    height: 16px;
}

.auth-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 18px;
    background: #f6c400;
    color: #000;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 26px 0 18px;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.10);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(0, 0, 0, 0.55);
}

.auth-socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 52px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.10);

    color: #000;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.2s ease;
}

.auth-social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.auth-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.auth-social-btn:nth-child(1) img { /* Google */
    filter: none;
}

.auth-social-btn:nth-child(2) img { /* Facebook */
    filter: none;
}

.auth-social-btn:nth-child(3) img { /* X */
    filter: grayscale(1);
}

.auth-note {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
}

.auth-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-side-btn {
    min-width: 180px;
    text-align: center;
}

.auth-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.auth-alert-success {
    background: rgba(58, 180, 90, 0.14);
    border: 1px solid rgba(58, 180, 90, 0.20);
    color: #116329;
}

.auth-alert-error {
    background: rgba(220, 38, 38, 0.10);
    border: 1px solid rgba(220, 38, 38, 0.18);
    color: #991b1b;
}

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .auth-side-card {
        order: -1;
    }

    .auth-title {
        font-size: 36px;
    }

    .auth-side-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .auth-hero {
        padding: 20px 16px 90px;
    }

    .auth-card-inner,
    .auth-side-card {
        padding: 26px 20px;
    }

    .auth-title {
        font-size: 30px;
    }

    .auth-subtitle,
    .auth-side-card p {
        font-size: 16px;
    }

    .auth-socials {
        grid-template-columns: 1fr;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-side-btn {
        width: 100%;
        min-width: 0;
    }
}