/* tickets-theme.css - UI refresh without changing functionality (Bootstrap 3 compatible) */
/* ===============================
   VARIABLES BASE (colores claros)
================================ */
:root {
    --bg-main: #f4f6f9;
    --bg-panel: #ffffff;
    --bg-header: #0f1f3a;
    --bg-table-head: #e9eef5;
    --bg-row-hover: #f1f5ff;
    --bg-row-alt: #f9fbfd;

    --text-main: #1f2933;
    --text-muted: #6b7280;
    --text-inverse: #ffffff;

    --primary: #2563eb;
    --primary-soft: #dbeafe;
    --border-soft: #d1d5db;
}

/* ===============================
   BODY
================================ */
body {
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 14px;
}

/* ===============================
   NAVBAR
================================ */
.navbar-inverse {
    background: linear-gradient(90deg, #0f1f3a, #1e3a8a);
    border: none;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand {
    color: #e5e7eb !important;
    font-weight: 500;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08);
}

/* ===============================
   CONTENEDORES / PANELES
================================ */
.container {
    margin-top: 15px;
}

.panel {
    background: var(--bg-panel);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===============================
   TITULOS
================================ */
h3.text-primary {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===============================
   FORMULARIOS
================================ */
.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-soft);
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* ===============================
   BOTONES
================================ */
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* ===============================
   DATATABLES – TABLAS
================================ */
table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
}

/* Cabecera */
table.dataTable thead th {
    background: var(--bg-table-head);
    color: #111827;
    font-weight: 600;
    border-bottom: 1px solid var(--border-soft);
    padding: 10px;
}

/* Filas */
table.dataTable tbody td {
    color: var(--text-main);
    padding: 10px;
    vertical-align: middle;
    background: #ffffff;
}

/* Fila alternada */
table.dataTable tbody tr:nth-child(even) td {
    background: var(--bg-row-alt);
}

/* Hover */
table.dataTable tbody tr:hover td {
    background: var(--bg-row-hover) !important;
}

/* Ticket (columna destacada) */
table.dataTable tbody td:nth-child(3) {
    font-weight: 600;
    color: var(--primary);
}

/* ===============================
   BUSCADOR Y PAGINADO
================================ */
.dataTables_filter input,
.dataTables_length select {
    border-radius: 6px;
    border: 1px solid var(--border-soft);
    padding: 4px 8px;
}

/* ===============================
   MODALES
================================ */
.modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===============================
   TEXTOS SECUNDARIOS
================================ */
.text-muted {
    color: var(--text-muted) !important;
}

/* ===============================
   AJUSTES MOBILE
================================ */
@media (max-width: 768px) {
    h3 {
        font-size: 18px;
    }

    table.dataTable thead {
        font-size: 12px;
    }
}

