/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */

body{
    background:#0f172a;
    font-family:Arial, Helvetica, sans-serif;
    color:white;
    padding:30px;
}

/* CONTAINER */

.container{
    max-width:1400px;
    margin:auto;
}

/* TITULO */

h1{
    font-size:34px;
    margin-bottom:10px;
}

.subtitle{
    color:#94a3b8;
    margin-bottom:30px;
}

/* TEXTAREA */

textarea{
    width:100%;
    height:260px;
    background:#111827;
    border:1px solid #334155;
    border-radius:15px;
    padding:18px;
    color:white;
    font-size:14px;
    resize:vertical;
    outline:none;
    transition:0.3s;
}

textarea:focus{
    border-color:#3b82f6;
    box-shadow:0 0 15px rgba(59,130,246,0.2);
}

/* TOOLBAR */

.toolbar{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
    margin-bottom:25px;
}

/* BOTÕES */

button{
    background:#2563eb;
    color:white;
    border:none;
    padding:13px 22px;
    border-radius:12px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
    font-size:14px;
}

button:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

button:active{
    transform:scale(0.98);
}

/* TABELA */

table{
    width:100%;
    border-collapse:collapse;
    background:#111827;
    border-radius:15px;
    overflow:hidden;
    border:1px solid #334155;
}

thead{
    background:#1e293b;
}

th{
    padding:18px;
    text-align:left;
    color:#cbd5e1;
    font-size:14px;
}

td{
    padding:16px 18px;
    border-bottom:1px solid #1e293b;
    font-size:14px;
}

tbody tr{
    transition:0.2s;
}

tbody tr:hover{
    background:#172033;
}

/* LINKS */

a{
    color:#60a5fa;
    text-decoration:none;
    font-weight:bold;
}

a:hover{
    text-decoration:underline;
}

/* DATATABLES */

.dataTables_wrapper{
    margin-top:20px;
}

.dataTables_filter input{
    background:#111827 !important;
    border:1px solid #334155 !important;
    color:white !important;
    border-radius:8px !important;
    padding:8px !important;
}

.dataTables_length select{
    background:#111827 !important;
    color:white !important;
    border:1px solid #334155 !important;
    border-radius:8px !important;
    padding:5px !important;
}

.dataTables_info{
    color:#cbd5e1 !important;
    margin-top:15px;
}

.dataTables_paginate .paginate_button{
    color:white !important;
    background:#1e293b !important;
    border:none !important;
    border-radius:8px !important;
    margin:0 4px !important;
}

.dataTables_paginate .paginate_button.current{
    background:#2563eb !important;
}

/* CARDS FUTUROS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:25px;
}

.card{
    background:#111827;
    border:1px solid #334155;
    padding:25px;
    border-radius:15px;
}

.card span{
    color:#94a3b8;
    font-size:14px;
}

.card h2{
    margin-top:10px;
    font-size:32px;
}

/* SCROLL */

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{
    background:#0f172a;
}

::-webkit-scrollbar-thumb{
    background:#334155;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#475569;
}

/* RESPONSIVO */

@media(max-width:768px){

    body{
        padding:15px;
    }

    h1{
        font-size:26px;
    }

    .toolbar{
        flex-direction:column;
    }

    button{
        width:100%;
    }

    table{
        font-size:12px;
    }

    th,td{
        padding:12px;
    }

}