.sc-auth-hero .sc-page-meta {
    max-width: 620px;
}

.sc-auth-body {
    padding: 28px 0 72px;
    background: var(--sc-bg);
}

.sc-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.sc-auth-media {
    display: grid;
    gap: 22px;
    padding: 28px;
    border-radius: 22px;
    background: var(--sc-white);
    border: 1px solid rgba(184, 148, 31, 0.1);
    box-shadow: 0 14px 36px rgba(184, 148, 31, 0.07);
}

.sc-auth-media-frame {
    overflow: hidden;
    border-radius: 18px;
    background: var(--sc-bar);
}

.sc-auth-media-frame img {
    width: 100%;
    min-height: 280px;
    max-height: 360px;
    object-fit: cover;
}

.sc-auth-media-kicker {
    margin: 0 0 8px;
    color: var(--sc-pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sc-auth-media-title {
    margin: 0 0 10px;
    font-family: var(--sc-serif);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--sc-text);
}

.sc-auth-media-text {
    margin: 0;
    color: var(--sc-muted);
    font-size: 15px;
    line-height: 1.65;
}

.sc-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 32px;
    border-radius: 22px;
    background: var(--sc-white);
    border: 1px solid rgba(184, 148, 31, 0.1);
    box-shadow: 0 14px 36px rgba(184, 148, 31, 0.07);
}

.sc-auth-panel-title {
    margin: 0 0 8px;
    font-family: var(--sc-serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--sc-text);
}

.sc-auth-panel-sub {
    margin: 0 0 24px;
    color: var(--sc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sc-auth-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.sc-auth-alert.is-error {
    color: #8b2e24;
    background: #fdecea;
    border: 1px solid rgba(192, 57, 43, 0.18);
}

.sc-auth-alert.is-success {
    color: #245a38;
    background: #edf8f1;
    border: 1px solid rgba(39, 174, 96, 0.18);
}

.sc-auth-form {
    display: grid;
    gap: 18px;
}

.sc-auth-field {
    display: grid;
    gap: 8px;
}

.sc-auth-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-text);
}

.sc-password-wrap {
    position: relative;
}

.sc-password-wrap .sc-field-input {
    padding-right: 48px;
}

.sc-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--sc-muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.sc-password-toggle:hover {
    color: var(--sc-pink);
    background: rgba(184, 148, 31, 0.08);
}

.sc-password-toggle:focus-visible {
    outline: none;
    color: var(--sc-pink);
    box-shadow: 0 0 0 3px rgba(184, 148, 31, 0.14);
}

.sc-password-icon {
    width: 20px;
    height: 20px;
}

.sc-password-icon-hide {
    display: none;
}

.sc-password-toggle.is-visible .sc-password-icon-show {
    display: none;
}

.sc-password-toggle.is-visible .sc-password-icon-hide {
    display: block;
}

.sc-field-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--sc-line);
    border-radius: 12px;
    background: var(--sc-white);
    color: var(--sc-text);
    font-family: var(--sc-sans);
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sc-field-input:focus {
    outline: none;
    border-color: rgba(184, 148, 31, 0.55);
    box-shadow: 0 0 0 3px rgba(184, 148, 31, 0.14);
}

.sc-field-input.is-invalid {
    border-color: #c0392b;
}

.sc-field-error {
    color: #c0392b;
    font-size: 13px;
}

.sc-auth-submit {
    margin-top: 4px;
}

.sc-auth-hint {
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.4;
}

.sc-auth-switch {
    margin: 22px 0 0;
    text-align: center;
    color: var(--sc-muted);
    font-size: 14px;
}

.sc-auth-switch a {
    color: var(--sc-pink);
    font-weight: 600;
    transition: color 0.2s ease;
}

.sc-auth-switch a:hover {
    color: var(--sc-pink-hover);
}

@media (max-width: 991px) {
    .sc-auth-grid {
        grid-template-columns: 1fr;
    }

    .sc-auth-media {
        order: 2;
    }

    .sc-auth-panel {
        order: 1;
    }
}

@media (max-width: 767px) {
    .sc-auth-body {
        padding-bottom: 56px;
    }

    .sc-auth-media,
    .sc-auth-panel {
        padding: 24px 20px;
    }

    .sc-auth-media-frame img {
        min-height: 220px;
    }
}
