/* =====================================================
   AUTH
===================================================== */

.auth-page {
    min-height: calc(100vh - 150px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background: #f8fafc;
}


.auth-card {
    width: min(480px, 100%);

    padding: 40px;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.07);
}


.auth-header {
    text-align: center;

    margin-bottom: 30px;
}


.auth-header h1 {
    margin: 0 0 10px;

    font-size: 32px;
}


.auth-header p {
    margin: 0;

    color: #64748b;

    line-height: 1.6;
}


.auth-errors {
    margin-bottom: 25px;

    padding: 15px;

    border: 1px solid #fecaca;
    border-radius: 8px;

    background: #fef2f2;

    color: #b91c1c;

    font-size: 14px;
}


.auth-errors div + div {
    margin-top: 7px;
}


.auth-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.form-group label {
    font-size: 14px;

    font-weight: 600;
}


.form-group input {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    outline: none;

    font-size: 15px;

    transition: 0.2s;
}


.form-group input:focus {
    border-color: #6366f1;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.12);
}


.form-group small {
    color: #64748b;

    font-size: 12px;
}


.auth-submit {
    width: 100%;

    height: 50px;

    border: 0;
    border-radius: 8px;

    background: #6366f1;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}


.auth-submit:hover {
    background: #4f46e5;
}


.auth-footer {
    margin-top: 25px;

    padding-top: 25px;

    border-top: 1px solid #eeeeee;

    text-align: center;

    color: #64748b;

    font-size: 14px;
}


.auth-footer a {
    color: #6366f1;

    font-weight: 600;
}


@media (max-width: 550px) {

    .auth-card {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

}