/*==================================================
                    ROOT
==================================================*/

:root{

    --primary:#B7722C;
    --secondary:#253261;
    --accent:#208288;

    --text:#253261;
    --muted:#6B7280;

    --border:#E6EAF0;

    --white:#FFFFFF;
    --background:#F8FAFC;

    --radius:18px;

    --transition:.35s ease;

}

/*==================================================
                    RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Manrope',sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

/*==================================================
                AUTH BODY
==================================================*/

.auth-body{

    min-height:100vh;

    background:

        radial-gradient(circle at top right,
        rgba(183,114,44,.05),
        transparent 40%),

        linear-gradient(
            180deg,
            #FCFCFD,
            #F7F8FA
        );

}

/*==================================================
                AUTH WRAPPER
==================================================*/

.auth-wrapper{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:80px 20px;

}

/*==================================================
                LOGIN CONTAINER
==================================================*/

.login-container{

    width:100%;

    max-width:560px;

}

/*==================================================
                LOGIN CARD
==================================================*/

.login-card{

    position:relative;

    background:#FFFFFF;

    border-radius:24px;

    padding:55px;

    overflow:hidden;

    border:1px solid rgba(37,50,97,.08);

    box-shadow:

        0 20px 60px rgba(0,0,0,.05);

}

.login-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(

        90deg,

        #B7722C,

        #D69B57

    );

}

/*==================================================
                    LOGO
==================================================*/

.login-logo{

    text-align:center;

    margin-bottom:25px;

}

.login-logo img{

    width:145px;

    height:auto;

}

/*==================================================
                    TAG
==================================================*/

.login-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(183,114,44,.08);

    color:#B7722C;

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.login-tag::before{

    content:"";

    width:28px;

    height:2px;

    background:#B7722C;

}

/*==================================================
                TITULOS
==================================================*/

.login-card h1{

    font-family:'Cormorant Garamond',serif;

    font-size:46px;

    color:#253261;

    font-weight:700;

    line-height:1.1;

    margin-bottom:12px;

}

.login-card p{

    color:#6B7280;

    font-size:16px;

    line-height:1.8;

    margin-bottom:35px;

}

/*==================================================
                LINKS
==================================================*/

a{

    color:#B7722C;

    text-decoration:none;

    transition:.3s;

}

a:hover{

    color:#8E5B24;

}
/*==================================================
                FORMULÁRIOS
==================================================*/

.form-group{

    margin-bottom:24px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#253261;

}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    height:56px;

    padding:0 18px;

    border:1px solid #E4E7EC;

    border-radius:14px;

    background:#FFFFFF;

    color:#253261;

    font-size:15px;

    font-family:'Manrope',sans-serif;

    transition:.30s;

    outline:none;

}

.form-group textarea{

    height:140px;

    padding:16px 18px;

    resize:vertical;

}

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#9CA3AF;

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color:#B7722C;

    box-shadow:0 0 0 4px rgba(183,114,44,.12);

}

/*==================================================
                LOGIN OPTIONS
==================================================*/

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:8px 0 30px;

    gap:15px;

}

.login-options label{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:14px;

    color:#6B7280;

    cursor:pointer;

}

.login-options input[type="checkbox"]{

    width:18px;

    height:18px;

    accent-color:#B7722C;

}

.login-options a{

    color:#B7722C;

    font-weight:600;

    transition:.30s;

}

.login-options a:hover{

    color:#8E5B24;

}

/*==================================================
                BOTÃO PRINCIPAL
==================================================*/

.submit-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        #B7722C,
        #D69B57
    );

    color:#FFFFFF;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    box-shadow:
        0 15px 35px rgba(183,114,44,.22);

}

.submit-btn:hover{

    transform:translateY(-2px);

    box-shadow:
        0 20px 40px rgba(183,114,44,.28);

}

/*==================================================
                BOTÃO SECUNDÁRIO
==================================================*/

.secondary-btn{

    width:100%;

    height:56px;

    margin-top:16px;

    border-radius:14px;

    border:2px solid #B7722C;

    background:#FFFFFF;

    color:#B7722C;

    font-weight:700;

    cursor:pointer;

    transition:.30s;

}

.secondary-btn:hover{

    background:#B7722C;

    color:#FFFFFF;

}

/*==================================================
                ALERTA SUCESSO
==================================================*/

.success-box{

    margin-bottom:20px;

    padding:16px 18px;

    border-radius:14px;

    background:#ECFDF3;

    border:1px solid #BBF7D0;

    color:#166534;

    font-size:14px;

}

/*==================================================
                ALERTA ERRO
==================================================*/

.error-box{

    margin-bottom:20px;

    padding:16px 18px;

    border-radius:14px;

    background:#FEF2F2;

    border:1px solid #FECACA;

}

.error-box ul{

    margin:0;

    padding-left:18px;

}

.error-box li{

    color:#B91C1C;

    margin-bottom:6px;

    font-size:14px;

}

/*==================================================
                REGISTO
==================================================*/

.register-box{

    margin-top:28px;

    padding-top:22px;

    border-top:1px solid #ECECEC;

    text-align:center;

}

.register-box span{

    display:block;

    margin-bottom:10px;

    color:#6B7280;

    font-size:15px;

}

.register-box a{

    color:#B7722C;

    font-weight:700;

    font-size:16px;

    transition:.30s;

}

.register-box a:hover{

    color:#8E5B24;

}
/*==================================================
                REGISTER GRID
==================================================*/

.register-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    margin-bottom:30px;

}

.register-grid .full{

    grid-column:1/-1;

}

/*==================================================
                DASHBOARD
==================================================*/

.dashboard-page{

    padding:120px 20px 80px;

    background:#F8FAFC;

    min-height:100vh;

}

.dashboard-card{

    max-width:980px;

    margin:auto;

    background:#FFFFFF;

    border-radius:24px;

    padding:55px;

    border:1px solid #E8EAF0;

    box-shadow:0 20px 50px rgba(0,0,0,.05);

}

.dashboard-logo{

    text-align:center;

    margin-bottom:25px;

}

.dashboard-logo img{

    width:160px;

    height:auto;

}

.dashboard-card h1{

    text-align:center;

    font-family:'Cormorant Garamond',serif;

    font-size:44px;

    color:#253261;

    margin-bottom:12px;

}

.dashboard-card p{

    text-align:center;

    color:#6B7280;

    line-height:1.8;

    margin-bottom:40px;

}

/*==================================================
                DASHBOARD GRID
==================================================*/

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.dashboard-grid a{

    display:block;

    padding:28px;

    background:#FFFFFF;

    border:1px solid #ECECEC;

    border-radius:18px;

    text-decoration:none;

    transition:.35s;

}

.dashboard-grid a:hover{

    border-color:#B7722C;

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(183,114,44,.12);

}

.dashboard-grid strong{

    display:block;

    margin-top:14px;

    font-size:18px;

    color:#253261;

    font-weight:700;

}

.dashboard-grid span{

    display:block;

    margin-top:8px;

    color:#6B7280;

    line-height:1.7;

    font-size:15px;

}

/*==================================================
                PROFILE
==================================================*/

.profile-page{

    background:#F8FAFC;

    padding:120px 20px 80px;

    min-height:100vh;

}

.profile-container{

    max-width:1050px;

    margin:auto;

}

.profile-header{

    text-align:center;

    margin-bottom:50px;

}

.profile-header h1{

    font-size:46px;

    color:#253261;

    font-family:'Cormorant Garamond',serif;

    margin-bottom:12px;

}

.profile-header p{

    max-width:720px;

    margin:auto;

    color:#6B7280;

    line-height:1.8;

}

.profile-card{

    background:#FFFFFF;

    border:1px solid #ECECEC;

    border-radius:22px;

    padding:40px;

    margin-bottom:28px;

    box-shadow:0 18px 45px rgba(0,0,0,.05);

}

.profile-section-header{

    margin-bottom:28px;

}

.profile-section-header h2{

    font-size:24px;

    color:#253261;

    margin-bottom:8px;

}

.profile-section-header p{

    color:#6B7280;

}

.profile-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

/*==================================================
                FORM ERROR
==================================================*/

.form-error{

    display:block;

    margin-top:8px;

    color:#DC2626;

    font-size:13px;

    font-weight:600;

}

/*==================================================
                DANGER ZONE
==================================================*/

.danger-card{

    border:1px solid #F5C8C8;

}

.danger-box{

    padding:28px;

    background:#FFF8F5;

    border:1px solid #F4D7C0;

    border-radius:18px;

}

.danger-box h3{

    color:#B91C1C;

    font-size:22px;

    margin-bottom:12px;

}

.danger-box p{

    color:#6B7280;

    line-height:1.8;

    margin-bottom:20px;

}

.delete-btn{

    height:54px;

    padding:0 34px;

    border:none;

    border-radius:14px;

    background:#B91C1C;

    color:#FFFFFF;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.30s;

}

.delete-btn:hover{

    background:#991B1B;

}

/*==================================================
                UTILITÁRIOS
==================================================*/

.text-center{

    text-align:center;

}

.w-100{

    width:100%;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mt-40{

    margin-top:40px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.rounded{

    border-radius:18px;

}

.shadow{

    box-shadow:0 20px 40px rgba(0,0,0,.05);

}
/*==================================================
                TABLET
==================================================*/

@media (max-width:992px){

    .dashboard-grid{

        grid-template-columns:1fr;

    }

    .profile-grid{

        grid-template-columns:1fr;

    }

}

/*==================================================
                MOBILE
==================================================*/

@media (max-width:768px){

    html,
    body{

        overflow-x:hidden;

        background:#F8FAFC;

    }

    .auth-body{

        background:#F8FAFC;

    }

    .auth-wrapper{

        min-height:100vh;

        display:block;

        padding:20px 15px;

        background:#F8FAFC;

    }

    /*=========================
            LOGIN
    =========================*/

    .login-container{

        width:100%;

        max-width:100%;

        background:transparent;

        padding:0;

    }

    .login-card{

        width:100%;

        padding:30px 22px;

        border-radius:18px;

        border:1px solid #ECECEC;

        background:#FFFFFF;

        box-shadow:0 15px 35px rgba(0,0,0,.05);

    }

    .login-card::before{

        height:4px;

    }

    .login-logo{

        margin-bottom:18px;

    }

    .login-logo img{

        width:100px;

    }

    .login-tag{

        font-size:11px;

        padding:7px 14px;

    }

    .login-card h1{

        font-size:34px;

        margin-bottom:10px;

    }

    .login-card p{

        font-size:15px;

        margin-bottom:24px;

    }

    /*=========================
            FORM
    =========================*/

    .form-group{

        margin-bottom:18px;

    }

    .form-group label{

        font-size:14px;

    }

    .form-group input,
    .form-group select,
    .form-group textarea{

        height:52px;

        font-size:15px;

    }

    textarea{

        height:120px;

    }

    .login-options{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

        margin:10px 0 24px;

    }

    .submit-btn{

        height:54px;

        font-size:15px;

    }

    .secondary-btn{

        height:54px;

        font-size:15px;

    }

    .register-box{

        margin-top:24px;

    }

    /*=========================
            REGISTER
    =========================*/

    .register-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .register-grid .full{

        grid-column:auto;

    }

    /*=========================
            DASHBOARD
    =========================*/

    .dashboard-page{

        padding:90px 15px 40px;

    }

    .dashboard-card{

        padding:28px 22px;

        border-radius:18px;

    }

    .dashboard-logo img{

        width:120px;

    }

    .dashboard-card h1{

        font-size:32px;

    }

    .dashboard-card p{

        font-size:15px;

        margin-bottom:28px;

    }

    .dashboard-grid{

        grid-template-columns:1fr;

        gap:16px;

    }

    .dashboard-grid a{

        padding:20px;

    }

    /*=========================
            PROFILE
    =========================*/

    .profile-page{

        padding:90px 15px 50px;

    }

    .profile-header{

        margin-bottom:35px;

    }

    .profile-header h1{

        font-size:34px;

    }

    .profile-header p{

        font-size:15px;

    }

    .profile-card{

        padding:24px;

    }

    .profile-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .profile-section-header h2{

        font-size:22px;

    }

    .danger-box{

        padding:22px;

    }

}

/*==================================================
            SMALL MOBILE
==================================================*/

@media (max-width:480px){

    .auth-wrapper{

        padding:15px 12px;

    }

    .login-card{

        padding:22px 18px;

    }

    .login-logo img{

        width:85px;

    }

    .login-card h1{

        font-size:28px;

    }

    .login-card p{

        font-size:14px;

    }

    .login-tag{

        font-size:10px;

    }

    .form-group input,
    .form-group select{

        height:50px;

    }

    .submit-btn,
    .secondary-btn{

        height:50px;

        font-size:14px;

    }

}