th {
    font-weight: normal;
    text-transform: uppercase;
}

table.dataTable thead th, table.dataTable tfoot th {
    font-weight: normal !important;
}

table.list-table {
    font-family: arial, sans-serif;
    width: 100%;
    margin-bottom: 8px;
    background: var(--bg-2);
    border: solid 1px var(--bd);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

table.list-table th {
    background: var(--bg-3);
    color: var(--tx-2);
}

table.list-table th, td {
    border-bottom: 1px solid var(--bd);
}

table.list-table th:first-child {
    border-top-left-radius: 8px;
}

table.list-table th:last-child {
    border-top-right-radius: 8px;
}

table.list-table td, th {
    text-align: left;
    padding: 8px;
    font-size: 12px;
}


table.list-table tr {
    color: var(--tx-1);
}

table.list-table tr:hover {
    background: var(--bg-1);
}

table.row-table {
    font-family: arial, sans-serif;
    width: 100%;
    margin-bottom: 8px;
    border-collapse: separate;
    border-spacing: 0;
    border: solid 1px var(--bd);
    border-radius: 8px;
    background: var(--input-background-color);
}

table.row-table th {
    background-color: var(--background-color);
}

table.row-table th:first-child {
    border-top-left-radius: 8px;
}

table.row-table th:last-child {
    border-top-right-radius: 8px;
}

table.row-table td, th {
    text-align: left;
    padding: 8px;
    font-size: 12px;
}


table.row-table td:first-child {
    color: var(--highlight-color);
}


table.row-table tr {
    color: var(--primary-color);
}

table.row-table tr:hover {
    background: var(--background-color);
}


.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 0 4px;
    text-decoration: none;
}

.pagination a.active {
    background: black;
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: var(--tx-2)
}

label {
    font-size: 12px;
    color: var(--tx-2);
}

.hover-zoom {
    transition: transform .2s;
}

.hover-zoom:hover {
    transform: scale(1.025);
}

.primary-tab-link {
    border-radius: 32px;
    padding: 8px 16px;
    display: inline-block;
    text-decoration: none;
    background-color: lightgray;
    color: gray;
    cursor: pointer;
}

.primary-tab-active {
    background-color: #092F87;
    color: white;
    border-bottom: 1px solid var(--tx-1);
}

.secondary-tab-link {
    padding: 8px 16px;
    display: inline-block;
    text-decoration: none;
    color: var(--tx-2);
    cursor: pointer;
}

.secondary-tab-active {
    color: var(--tx-1);
    border-bottom: 1px solid var(--tx-hl);
}

.summary_content h2 {
    font-size: 16px;
}

table.excel {
    border-collapse: collapse; /* 🔑 clave para bordes pegados */
    width: 100%;
    table-layout: fixed;
    font-size: 14px;
}

table.excel th,
table.excel td {
    border: 1px solid #bfbfbf; /* gris tipo Excel */
    padding: 4px 6px;
    text-align: center;
}

table.excel th {
    background-color: var(--bg-3);
    font-weight: 600;
}

table.excel input {
    width: 100%;
    border: none; /* sin borde propio */
    outline: none;
    background: transparent;
    text-align: right; /* números a la derecha */
    padding: 2px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

table.excel tr:hover td {
    background-color: var(--bg-1);
}

table.excel td:focus-within {
    background-color: #e8f0fe; /* celda activa */
}

.badge-container {
    position: relative;
    overflow: visible !important;
}

.badge-notify {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
}

.badge-notify-light {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    padding: 1px 3px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
}

.card {
    background: var(--bg-2);
    border: 1px solid var(--bd);
}

.secondary {
    color: var(--tx-2);
    font-size: 12px;
}

.secondary-color {
    color: var(--tx-2);
}

.link {
    color: var(--tx-lk);
}

.edit {
    color: var(--tx-hl);
    font-size: 12px;
}

.highlight {
    color: var(--tx-hl);
}


.w3-dropdown-hover:hover > .navbar-button:first-child {
    background: var(--bg-3);
    color: var(--tx-1);
}

input, select, textarea, .selectpicker, .select2-selection {
    background: var(--bg-3) !important;
    color: var(--tx-1) !important;
    border-radius: 8px;
    border: 1px solid var(--bd) !important;;
}

input::placeholder {
    color: var(--tx-2);
}

.btn-group {
    padding: 0 !important;
}

.no-results {
    background-color: var(--bg-1) !important;
    color: var(--tx-1) !important;
}

.dropdown-menu, .select2-selection__choice {
    background-color: var(--bg-1) !important;
    color: var(--tx-1) !important;
}

.select2-selection__clear, .select2-dropdown {
    background-color: var(--bg-3) !important;
    color: var(--tx-1) !important;
}

.w3-modal-content {
    background: var(--bg-2);
}

.primary-button, .secondary-button, .approve-button, .navbar-button, .invisible-button, .edit-button, .delete-button {
    border-radius: 8px;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.primary-tab-button {
    border-radius: 32px;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.navbar-button {
    background: var(--bg-2);
    color: var(--tx-2);
}

.navbar-button:hover {
    background: var(--bg-3);
    color: var(--tx-1);
}

.invisible-button {
    background: var(--bg-2);
    color: var(--tx-1);
}

.invisible-button:hover {
    background: var(--bg-1);
    color: var(--tx-1);
}

.edit-button {
    background: var(--bg-1);
    border: 1px solid var(--tx-hl);
    color: var(--tx-hl);
}

.edit-button:hover {
    background: var(--tx-hl);
    color: var(--tx-1);
}

.delete-button {
    background: var(--bg-1);
    border: 1px solid #F4915C;
    color: #F4915C;
}

.delete-button:hover {
    background: #F4915C;
    color: var(--tx-1);
}

.primary-button {
    background: var(--tx-hl);
    border: 1px solid var(--tx-hl);
    color: var(--bg-1);
}

.primary-button:hover {
    background: var(--tx-hl-2);
    color: var(--bg-1);
}

.secondary-button {
    background: var(--bg-1);
    border: 1px solid var(--tx-hl);
    color: var(--tx-hl);
}

.secondary-button:hover {
    background: var(--tx-hl);
    color: var(--tx-1);
}

.approve-button {
    background: var(--bg-1);
    border: 1px solid var(--green-1);
    color: var(--green-1);
}

.approve-button:hover {
    background: var(--green-1);
    color: var(--tx-1);
}

.primary-tab-button-selected {
    background: var(--bg-hl);
    color: var(--tx-hl);
    border: 1px solid var(--tx-hl);
}

.primary-tab-button-not-selected {
    background: var(--bg-1);
    color: var(--tx-2);
    border: 1px solid var(--tx-2);
}

.primary-tab-button:hover {
    background: var(--tx-hl);
    color: var(--tx-1);
}

.text-green {
    color: var(--green-1)
}

.text-orange {
    color: var(--orange-1)
}

.text-red {
    color: var(--red-1)
}

.green {
    background: var(--green-1)
}

.orange {
    background: var(--orange-1)
}

.red {
    background: var(--red-1)
}

.hoverable:hover {
    background: var(--bg-1);
}

input, select, .bootstrap-select {
    font-size: 12px !important;
    margin-bottom: 4px;
}

option, .btn, .selectpicker {
    font-size: 12px !important;
}

.gm-style, .gm-style-iw-d, .gm-style-iw-c {
    overflow: hidden !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
}

