body{
    margin:0;
    font-family:Arial;
    background:#f4f7fb;
}

.sidebar{
    width:250px;
    background:#02152b;
    height:100vh;
    position:fixed;
    padding:20px;
    color:white;
}

.sidebar a{
    display:block;
    color:white;
    text-decoration:none;
    padding:12px;
    margin-top:10px;
    border-radius:10px;
}

.sidebar a:hover{
    background:#0b5ed7;
}

.logo{
    width:120px;
    display:block;
    margin:auto;
}

.main{
    margin-left:290px;
    padding:30px;
}

.top-cards{
    display:flex;
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    width:250px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.card p{
    font-size:30px;
    font-weight:bold;
}

.search-box,
.table-box,
.bras-box,
.result-box{
    background:#111827;
    margin-top:25px;
    padding:25px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.4);
}

input{
    padding:12px;
    width:300px;
    border-radius:8px;
    border:1px solid #334155;
    margin-bottom:15px;
    display:block;
}

button{
    padding:12px 20px;
    background:#2563eb;
    color:white;
    border:0;
    border-radius:8px;
    cursor:pointer;
    margin-top:10px;
}
button:hover{
    opacity:0.9;
}

.danger{
    background:#dc3545;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#02152b;
    color:white;
    padding:15px;
}

table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.bras-item{
    padding:10px;
    border-bottom:1px solid #eee;
}

.login-body{
    background:#02152b;
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
}

.login-box{
    background:white;
    padding:40px;
    border-radius:20px;
    width:350px;
    text-align:center;
}

.login-logo{
    width:140px;
}

.erro{
    background:#dc3545;
    color:white;
    padding:10px;
    border-radius:8px;
    margin-bottom:15px;
}

pre{
    background:#111;
    color:#00ff88;
    padding:15px;
    border-radius:10px;
    overflow:auto;
}
.no-sidebar{
    margin-left:0 !important;
    max-width:1500px;
    margin:auto !important;
}

.voltar{
    display:inline-block;
    margin-bottom:20px;
    font-size:18px;
    color:#0b5ed7;
}
.linha-destaque{
    background:#0f172a;

}

.linha-destaque:hover{
 background:#1e293b;
}

.linha-destaque td:first-child{
    border-left:5px solid #198754;
}
/* ===== RESULTADO DARK MODE ===== */

body {
    background: #0b1220 !important;
    color: #ffffff !important;
}

.container,
.card,
.table-container {
    background: #111827 !important;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    color: white;
    overflow: hidden;
    border-radius: 12px;
}

thead {
    background: #0f172a;
}

th {
    padding: 14px;
    color: #ffffff;
    border-bottom: 1px solid #1f2937;
    font-weight: bold;
}

td {
    padding: 14px;
    border-bottom: 1px solid #1f2937;
}

tr:hover {
    background: #1e293b;
}

a {
    color: #38bdf8;
}

button,
.btn,
.btn-danger {
    background: #2563eb !important;
    border: none !important;
    color: white !important;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover,
.btn:hover {
    background: #1d4ed8 !important;
}

.btn-danger {
    background: #dc2626 !important;
}

.btn-danger:hover {
    background: #b91c1c !important;
}

input {
    background: #1e293b !important;
    color: white !important;
    border: 1px solid #334155 !important;
}

h1, h2, h3, h4 {
    color: white !important;
}
