/* =========================================================
   DARK + BLUE THEME GLOBAL (ORGANIZADO)
   ========================================================= */

/* ================= BASE ================= */
body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ================= LINKS ================= */
a, .nav-link {
    color: #00d4ff;
    transition: 0.3s;
}

a:hover, .nav-link:hover {
    color: #33e0ff;
    text-decoration: underline;
}

/* ================= NAVBAR ================= */
.navbar,
.bg-primary-custom {
    background-color: #000; /* fallback */
    background: linear-gradient(90deg, #000000, #0D2B66);
}

}

/* ================= FOOTER ================= */
.footer {
    background-color: #000;
    color: #00d4ff;
    border-top: 1px solid rgba(0,212,255,0.25);
}

/* ================= CARDS ================= */
.card {
    background-color: #111;
    border: 1px solid rgba(0,212,255,0.35);
    color: #ffffff;
}

.card-header {
    background-color: #000;
    border-bottom: 1px solid rgba(0,212,255,0.35);
}

/* ================= FORMULÁRIOS ================= */
.form-control,
input,
textarea,
select {
    background-color: #000;
    color: #ffffff;
    border: 1px solid rgba(0,212,255,0.35);
}

.form-control:focus {
    border-color: #33e0ff;
    box-shadow: 0 0 5px rgba(51,224,255,0.5);
}

/* ================= BOTÕES ================= */
.btn,
button {
    background-color: #005f99;
    border: 1px solid #00d4ff;
    color: #ffffff;
    transition: 0.3s;
}

.btn:hover,
button:hover {
    background-color: #007acc;
    border-color: #33e0ff;
    color: #ffffff;
}

/* ================= TABELAS (GLOBAL) ================= */
.table {
    background-color: #111;
    color: #ffffff;
}

.table th,
.table td {
    border-color: rgba(0,212,255,0.35);
    color: #ffffff;
}

/* Hover correto (não clarear demais) */
.table-hover tbody tr:hover {
    background-color: #1e1e1e;
}

/* ================= LIST GROUP ================= */
.list-group-item {
    background-color: #111;
    color: #ffffff;
    border: 1px solid rgba(0,212,255,0.25);
}

.list-group-item:hover {
    background-color: #222;
    color: #33e0ff;
}

/* ================= ALERTAS ================= */
.alert {
    background-color: #111;
    border: 1px solid #00d4ff;
    color: #ffffff;
}

/* ================= MODAL ================= */
.modal-content {
    background-color: #111;
    border: 1px solid rgba(0,212,255,0.35);
    color: #ffffff;
}

/* ================= DIVISORES ================= */
hr {
    border-color: rgba(0,212,255,0.35);
}

/* =========================================================
   FIX DEFINITIVO – TABELA DE DOWNLOADS
   ========================================================= */

.table-downloads,
.table-downloads thead th,
.table-downloads tbody td,
.table-downloads tbody tr {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Remove efeito do Bootstrap striped */
.table-downloads.table-striped > tbody > tr:nth-of-type(odd),
.table-downloads.table-striped > tbody > tr:nth-of-type(even) {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Hover mantendo texto branco */
.table-downloads.table-hover > tbody > tr:hover > * {
    color: #ffffff !important;
}

/* Links dentro da tabela */
.table-downloads a {
    color: #ffffff !important;
}



.table-downloads,
.table-downloads tbody,
.table-downloads tr,
.table-downloads td,
.table-downloads th {
    color: #ffffff !important;
    background-color: #111 !important;  /* <--- CORRIGIDO */
    opacity: 1 !important;
}

/* Hover */
.table-downloads.table-hover > tbody > tr:hover > * {
    background-color: #222 !important; /* hover escuro */
    color: #ffffff !important;
}

/* Links dentro da tabela */
.table-downloads a {
    color: #00d4ff !important;
}










/* Tabelas internas - tema dark */
.table,
.table th,
.table td,
.table tbody tr {
    background-color: #111 !important; /* fundo escuro */
    color: #00d4ff !important; /* texto azul ciano */
    border-color: #00d4ff33 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #111 !important;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #111 !important;
}

.table-hover tbody tr:hover {
    background-color: #222 !important; /* hover levemente mais claro */
}
