/*
|--------------------------------------------------------------------------
| Sean B Shop Marketplace
| Authentication Pages
| File: /assets/css/pages/auth.css
|--------------------------------------------------------------------------
*/

:root{

    --primary:#0b1f3a;
    --secondary:#e60000;
    --success:#16a34a;
    --danger:#dc2626;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e7eb;
    --bg:#f5f7fa;
    --white:#ffffff;

}


/* ======================================================
   PAGE
====================================================== */

.auth-page{

    background:var(--bg);

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:60px 20px;

}


/* ======================================================
   CONTAINER
====================================================== */

.auth-container{

    width:100%;

    max-width:460px;

}


/* ======================================================
   CARD
====================================================== */

.auth-card{

    background:var(--white);

    border-radius:18px;

    padding:40px;

    box-shadow:0 15px 45px rgba(0,0,0,.08);

    border:1px solid var(--border);

}


/* ======================================================
   LOGO
====================================================== */

.auth-logo{

    text-align:center;

    margin-bottom:20px;

}

.auth-logo img{

    width:80px;

    height:auto;

}


/* ======================================================
   TITLES
====================================================== */

.auth-card h1{

    font-size:30px;

    color:var(--primary);

    text-align:center;

    margin-bottom:10px;

}

.auth-card p{

    text-align:center;

    color:var(--muted);

    margin-bottom:30px;

    line-height:1.6;

}


/* ======================================================
   ERROR
====================================================== */

.auth-error{

    background:#fee2e2;

    color:var(--danger);

    padding:14px 18px;

    border-radius:10px;

    margin-bottom:20px;

    font-size:14px;

}


/* ======================================================
   FORM
====================================================== */

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    color:var(--text);

    font-weight:600;

    font-size:14px;

}

.form-group input{

    width:100%;

    height:50px;

    border:1px solid var(--border);

    border-radius:10px;

    padding:0 15px;

    font-size:15px;

    transition:.3s;

    outline:none;

    background:#fff;

}

.form-group input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(11,31,58,.08);

}


/* ======================================================
   BUTTON
====================================================== */

.auth-actions{

    margin-top:25px;

}

.auth-actions button{

    width:100%;

    height:52px;

    border:none;

    border-radius:10px;

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.auth-actions button:hover{

    background:var(--secondary);

}

.auth-actions button i{

    margin-right:8px;

}


/* ======================================================
   LINKS
====================================================== */

.auth-links{

    margin-top:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

}

.auth-links a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.auth-links a:hover{

    color:var(--secondary);

}

.auth-links span{

    color:#9ca3af;

}


/* ======================================================
   SUCCESS MESSAGE
====================================================== */

.auth-success{

    background:#dcfce7;

    color:var(--success);

    padding:14px;

    border-radius:10px;

    margin-bottom:20px;

}


/* ======================================================
   CHECKBOX
====================================================== */

.form-check{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

}

.form-check input{

    width:18px;

    height:18px;

}

.form-check label{

    margin:0;

    font-size:14px;

    color:var(--muted);

}


/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:768px){

    .auth-page{

        padding:30px 15px;

    }

    .auth-card{

        padding:30px 22px;

    }

    .auth-card h1{

        font-size:26px;

    }

}

@media(max-width:480px){

    .auth-card{

        padding:25px 18px;

        border-radius:14px;

    }

    .auth-card h1{

        font-size:22px;

    }

    .form-group input{

        height:46px;

    }

    .auth-actions button{

        height:48px;

    }

    .auth-links{

        flex-direction:column;

        gap:8px;

    }

    .auth-links span{

        display:none;

    }

}