/* =========================================================
   DANOSYS AUTHENTICATION
========================================================= */

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 23, 68, .10),
            transparent 30%
        ),
        #f7f8fa;
    display: flex;
    flex-direction: column;
}

.auth-header {
    height: 74px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e8eaee;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.auth-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #ff1744;
    color: white;
    display: grid;
    place-items: center;
}

.auth-back {
    font-size: 13px;
    font-weight: 700;
}

.auth-main {
    width: 100%;
    max-width: 720px;
    margin: 50px auto;
    padding: 0 20px;
}

.auth-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 42px;
    box-shadow: 0 25px 70px rgba(0,0,0,.07);
}

.auth-heading {
    text-align: center;
    margin-bottom: 32px;
}

.auth-eyebrow {
    color: #ff1744;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.auth-heading h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.auth-heading p {
    color: #7b828d;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 12px;
    font-weight: 800;
    color: #333841;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #dfe2e7;
    border-radius: 11px;
    outline: none;
    background: white;
    color: #16191f;
    font-size: 14px;
    transition: .2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ff1744;
    box-shadow: 0 0 0 3px rgba(255,23,68,.08);
}

.password-note {
    font-size: 10px;
    color: #9298a2;
}

.optional {
    color: #999fa8;
    font-weight: 500;
}

.form-footer {
    margin-top: 26px;
}

.auth-submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: #ff1744;
    color: white;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s;
}

.auth-submit:hover {
    background: #d90032;
    transform: translateY(-1px);
}

.auth-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.auth-message {
    display: none;
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.auth-message.error {
    display: block;
    background: #fff0f2;
    color: #c4002c;
    border: 1px solid #ffd2da;
}

.auth-message.success {
    display: block;
    background: #eefbf4;
    color: #08783e;
    border: 1px solid #c8f0d9;
}

.auth-login {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #777e88;
}

.auth-login a {
    color: #ff1744;
    font-weight: 900;
}

.auth-footer {
    text-align: center;
    padding: 30px;
    color: #979da6;
    font-size: 11px;
}

@media (max-width: 650px) {

    .auth-main {
        margin: 25px auto;
    }

    .auth-card {
        padding: 27px 20px;
        border-radius: 20px;
    }

    .auth-heading h1 {
        font-size: 32px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .auth-header {
        padding: 0 5%;
    }
}