﻿.auth-wrap {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    background: #fff;
    overflow: hidden;
}

.auth-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: linear-gradient(180deg, rgba(13,110,253,.06), rgba(255,255,255,0));
}

    .auth-header.is-success {
        background: linear-gradient(180deg, rgba(25,135,84,.07), rgba(255,255,255,0));
    }

.auth-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.auth-subtitle {
    margin: .25rem 0 0 0;
    color: rgba(0,0,0,.6);
    font-size: .95rem;
}

.auth-body {
    padding: 1.5rem;
}

.form-control.auth-input {
    padding: .7rem .85rem;
    border-radius: 12px;
}

    .form-control.auth-input:focus {
        box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
    }

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .75rem;
}

.auth-footer {
    padding: 1rem 1.5rem 1.35rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.06);
    background: rgba(0,0,0,.01);
    font-size: .95rem;
    color: rgba(0,0,0,.7);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-links a {
    text-decoration: none;
}

    .auth-links a:hover {
        text-decoration: underline;
    }

.validation-box {
    border-radius: 12px;
    padding: .85rem .95rem;
    background: rgba(220,53,69,.07);
    border: 1px solid rgba(220,53,69,.20);
    color: rgba(220,53,69,.95);
    margin-top: 1rem;
}

.success-box {
    border-radius: 12px;
    padding: .85rem .95rem;
    background: rgba(25,135,84,.10);
    border: 1px solid rgba(25,135,84,.20);
    color: rgba(25,135,84,.95);
    margin-bottom: 1rem;
}

.env-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,.15);
}
