.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;
}

.signup-intro {
    color: var(--warm-gray);
    margin-bottom: 1.25rem;
}

.signup-section {
    border-top: 1px solid rgba(110, 59, 71, 0.12);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.signup-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.signup-section-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.signup-section-head h3 {
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}

.signup-section-head p {
    color: var(--warm-gray);
    margin-bottom: 0;
}

.signup-step {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 59, 71, 0.1);
    color: var(--wine);
    font-weight: 700;
    flex-shrink: 0;
}

.signup-grid {
    display: grid;
    gap: 14px;
}

.signup-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-grid-inline {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
}

.signup-price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(110, 59, 71, 0.08), rgba(184, 142, 151, 0.12));
    border: 1px solid rgba(110, 59, 71, 0.12);
    margin-bottom: 1rem;
}

.signup-price-card span {
    color: var(--warm-gray);
}

.signup-price-card strong {
    color: var(--wine-dark);
    font-size: 1.3rem;
}

.signup-payment-methods {
    display: grid;
    gap: 12px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(110, 59, 71, 0.14);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.payment-method-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--wine);
}

.payment-method-option strong,
.payment-method-option small {
    display: block;
}

.payment-method-option small {
    color: var(--warm-gray);
    margin-top: 0.2rem;
}

.signup-card-fields {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(110, 59, 71, 0.04);
    border: 1px dashed rgba(110, 59, 71, 0.18);
}

.signup-result-section {
    margin-top: 1.5rem;
}

.signup-result-card {
    padding: 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(110, 59, 71, 0.16);
    box-shadow: 0 18px 36px rgba(82, 55, 63, 0.1);
}

.signup-result-card h3 {
    margin-bottom: 0.65rem;
}

.signup-payment-art {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    display: inline-flex;
    border: 1px solid rgba(110, 59, 71, 0.08);
}

.signup-payment-art img {
    width: 220px;
    max-width: 100%;
    height: auto;
}

.signup-pix-tools {
    margin-top: 1rem;
}

.small-muted,
.text-muted-soft {
    color: var(--warm-gray);
}

.forgot-password-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.1rem;
    padding: 0.35rem 0;
    border: none;
    background: transparent;
    color: var(--wine);
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.forgot-password-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(173, 72, 104, 0.18), rgba(173, 72, 104, 0.78), rgba(173, 72, 104, 0.18));
    transform: scaleX(0.72);
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.forgot-password-trigger:hover,
.forgot-password-trigger:focus-visible {
    color: var(--wine-dark);
    transform: translateY(-1px);
}

.forgot-password-trigger:hover::after,
.forgot-password-trigger:focus-visible::after {
    transform: scaleX(1);
}

.forgot-password-trigger:focus-visible {
    outline: none;
}

.forgot-password-trigger i {
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .auth-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .auth-hero {
        display: none;
    }

    .auth-panel {
        width: min(100%, 720px);
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .page-shell {
        padding: 20px 0 48px;
    }

    .auth-panel {
        padding: 1.5rem;
        width: min(100%, 100%);
    }

    .auth-note-grid {
        grid-template-columns: 1fr;
    }

    .signup-grid-two,
    .signup-grid-inline {
        grid-template-columns: 1fr;
    }
}
