.auth-layout {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: stretch;
}

.auth-hero {
    padding: 3rem;
    background:
        linear-gradient(145deg, rgba(110, 59, 71, 0.92), rgba(184, 142, 151, 0.82)),
        url('../img/default-cover.png') center center/contain no-repeat,
        linear-gradient(180deg, rgba(255, 253, 252, 0.98), rgba(248, 244, 241, 0.96));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-hero::before,
.auth-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-hero::before {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
}

.auth-hero::after {
    width: 180px;
    height: 180px;
    bottom: -50px;
    left: -30px;
}

.auth-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.auth-hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    margin: 16px 0;
}

.auth-hero p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
}

.auth-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 2rem;
}

.auth-note {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.auth-panel {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-panel .brand-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}

.auth-panel .brand-inline img {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.auth-hero .eyebrow {
    background: rgba(59, 45, 49, 0.72);
    color: #fff6f8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(59, 45, 49, 0.18);
}

.auth-hero .eyebrow i {
    color: #ffd9e3;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--warm-gray);
}

.input-with-action {
    position: relative;
}

.auth-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .auth-panel,
    .auth-hero {
        padding: 1.5rem;
    }

    .auth-note-grid {
        grid-template-columns: 1fr;
    }
}
