/* ===================================================
   RESET
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:#f4f6f9;
    color:#2c3e50;
    line-height:1.5;

}


/* ===================================================
   CONTAINER
=================================================== */

.container{

    width:95%;
    max-width:1200px;
    margin:40px auto;

}


/* ===================================================
   HEADER
=================================================== */

.header{

    background:#0d5c3b;
    color:#fff;

    padding:25px 35px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:30px;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

}

.header-left{

    display:flex;

    align-items:center;

    gap:20px;

}

.logo{

    width:72px;

    height:auto;

}

.system-name{

    display:block;

    font-size:13px;

    font-weight:600;

    letter-spacing:1px;

    opacity:.80;

    margin-bottom:4px;

}

.header h1{

    font-size:30px;

    font-weight:700;

}

.header p{

    margin-top:8px;

    opacity:.90;

    font-size:15px;

}


/* ===================================================
   CARDS
=================================================== */

.card{

    background:#FFF;

    border-radius:10px;

    padding:30px;

    margin-bottom:25px;

    box-shadow:0 3px 12px rgba(0,0,0,.08);

    transition:.25s;

}

.card:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.10);

}

.card-title{

    border-bottom:1px solid #e8e8e8;

    padding-bottom:14px;

    margin-bottom:25px;

}

.card-title h2{

    color:#0d5c3b;

    font-size:22px;

    font-weight:600;

}

.card-title p{

    margin-top:6px;

    color:#6b7280;

    font-size:14px;

}


/* ===================================================
   GRID
=================================================== */

.grid-2{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

.grid-3{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:22px;

}

.grid-4{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

}

.full{

    grid-column:1/-1;

}


/* ===================================================
   FORMULÁRIO
=================================================== */

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    font-size:14px;

    font-weight:600;

    margin-bottom:8px;

    color:#4b5563;

}

.required{

    color:#dc2626;

    margin-left:2px;

}

input,
select,
textarea{

    width:100%;

    padding:12px 15px;

    border:1px solid #cfd6dc;

    border-radius:6px;

    font-size:15px;

    font-family:inherit;

    background:#FFF;

    transition:.25s;

}

textarea{

    resize:vertical;

    min-height:120px;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    border-color:#0d5c3b;

    box-shadow:0 0 0 3px rgba(13,92,59,.15);

}

small{

    margin-top:6px;

    color:#6b7280;

    font-size:12px;

}


/* ===================================================
   CHECKBOX
=================================================== */

.checkbox-confirmacao{

    display:flex;

    align-items:flex-start;

    gap:12px;

}

.checkbox-confirmacao input{

    width:18px;

    height:18px;

    margin-top:2px;

}

.checkbox-confirmacao label{

    font-size:15px;

    line-height:1.5;

}


/* ===================================================
   BOTÕES
=================================================== */

.actions{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    margin:35px 0 40px;

}

button{

    border:none;

    cursor:pointer;

    transition:.25s;

    font-size:15px;

    font-weight:600;

    border-radius:6px;

    padding:14px 28px;

}

button:disabled{

    opacity:.65;

    cursor:not-allowed;

}

.btn-primary{

    background:#0d5c3b;

    color:#FFF;

}

.btn-primary:hover:not(:disabled){

    background:#0a4a30;

}

.btn-secondary{

    background:#dfe5ea;

    color:#374151;

}

.btn-secondary:hover:not(:disabled){

    background:#cfd6dc;

}


/* ===================================================
   PLACEHOLDER
=================================================== */

::placeholder{

    color:#9ca3af;

}
/* ===================================================
   UPLOAD DE CURRÍCULO
=================================================== */

input[type="file"]{

    padding:10px;

    background:#fafafa;

    border:2px dashed #cfd6dc;

    cursor:pointer;

}

input[type="file"]:hover{

    border-color:#0d5c3b;

    background:#f2f8f5;

}

input[type="file"]::file-selector-button{

    background:#0d5c3b;

    color:#FFF;

    border:none;

    padding:10px 18px;

    border-radius:6px;

    cursor:pointer;

    margin-right:15px;

    transition:.25s;

}

input[type="file"]::file-selector-button:hover{

    background:#0a4a30;

}


/* ===================================================
   MODAL
=================================================== */

.modal{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(2px);

    z-index:9999;

    padding:20px;

}

.modal.active{

    display:flex;

}

.modal-content{

    width:100%;

    max-width:700px;

    background:#FFF;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

    animation:modalEntrada .25s ease;

}

@keyframes modalEntrada{

    from{

        opacity:0;

        transform:translateY(-20px) scale(.98);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }

}

.modal-header{

    background:#0d5c3b;

    color:#FFF;

    padding:20px 25px;

}

.modal-header h2{

    font-size:22px;

    font-weight:600;

}

.modal-body{

    padding:25px;

}

.modal-body p{

    margin-bottom:15px;

}

.modal-body hr{

    margin:18px 0;

    border:none;

    border-top:1px solid #ececec;

}

#resumoModal{

    display:grid;

    gap:10px;

}

#resumoModal p{

    display:flex;

    justify-content:space-between;

    gap:20px;

    padding:8px 0;

    border-bottom:1px dashed #ececec;

}

#resumoModal strong{

    color:#0d5c3b;

    min-width:180px;

}

.modal-footer{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    padding:20px 25px;

    background:#fafafa;

    border-top:1px solid #ececec;

}


/* ===================================================
   MODAL DE SUCESSO
=================================================== */

.modal-content.sucesso{

    max-width:520px;

    text-align:center;

    padding:45px;

}

.success-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#16a34a;

    color:#FFF;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:48px;

    font-weight:700;

}

.modal-content.sucesso h2{

    color:#0d5c3b;

    margin-bottom:20px;

    font-size:28px;

}

.modal-content.sucesso p{

    color:#555;

    line-height:1.7;

    margin-bottom:12px;

}

.modal-content.sucesso button{

    margin-top:30px;

    min-width:170px;

}


/* ===================================================
   SCROLL DO MODAL
=================================================== */

.modal-body{

    max-height:60vh;

    overflow-y:auto;

}

.modal-body::-webkit-scrollbar{

    width:8px;

}

.modal-body::-webkit-scrollbar-thumb{

    background:#cfd6dc;

    border-radius:20px;

}


/* ===================================================
   RESPONSIVO
=================================================== */

@media(max-width:1024px){

    .grid-4{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .header{

        flex-direction:column;

        text-align:center;

        gap:20px;

    }

    .header-left{

        flex-direction:column;

    }

    .grid-2,
    .grid-3,
    .grid-4{

        grid-template-columns:1fr;

    }

    .actions{

        flex-direction:column;

    }

    .actions button{

        width:100%;

    }

    .modal-content{

        max-width:95%;

    }

    .modal-footer{

        flex-direction:column;

    }

    .modal-footer button{

        width:100%;

    }

    #resumoModal p{

        flex-direction:column;

        gap:5px;

    }

    #resumoModal strong{

        min-width:auto;

    }

}