/* Auth pages (login / register / forgot) */
.auth-section{
    padding: 4rem 0 5rem;
}

.auth-card{
    background: rgba(255,255,255,0.96);
    border-radius: 1.5rem;
    border: 1px solid var(--dn-border-subtle);
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    padding: 2.25rem 2rem;
}

@media (min-width: 992px){
    .auth-card{
        padding: 2.75rem 2.6rem;
    }
}

.auth-title{
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.auth-subtitle{
    color: var(--dn-text-muted);
    font-size: 0.95rem;
}

/* Social buttons */
.auth-social-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 54px;
    width: 100%;
    border-radius: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(148,163,184,0.35);
    background: #fff;
    color: var(--dn-text-main);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    text-decoration: none;
    transition: transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.auth-social-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    color: var(--dn-text-main);
    text-decoration: none;
}

.auth-social-btn.google{
    background: #3b73f0;
    border-color: rgba(59,115,240,0.4);
    color: #fff;
}

.auth-social-btn.google:hover{
    background: #3468df;
    color: #fff;
}

.auth-social-icon{
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.auth-social-icon img{
    width: 14px;
    height: 14px;
    display: block;
}

/* Divider */
.auth-divider{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
    color: var(--dn-text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after{
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(148,163,184,0.25);
}

/* Inputs */
.auth-card .form-control{
    height: 46px;
    border-radius: 0.9rem;
    border-color: rgba(148,163,184,0.35);
}

.auth-card .form-control:focus{
    border-color: rgba(79,70,229,0.45);
    box-shadow: 0 0 0 0.2rem rgba(79,70,229,0.12);
}

/* Actions & meta */
.auth-submit{
    height: 50px;
    border-radius: 0.95rem;
    font-weight: 650;
}

.auth-meta{
    font-size: 0.9rem;
    color: var(--dn-text-muted);
}

.auth-meta a{
    color: var(--dn-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-meta a:hover{
    text-decoration: underline;
}

/* Optional row + checkbox helpers */
.auth-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.auth-check{
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--dn-text-muted);
    user-select: none;
}

.auth-check input{
    width: 18px;
    height: 18px;
    border-radius: 6px;
    margin-top: 0;
}
