:root {
    --color-dti-primary: #009ee2;
    --color-dti-secondary: #e6e6e6;
    --color-dti-third: #d1d1d1;
    --color-dti-fourty: #b5dfe5;
    --color-dti-menu-text: #000;
    --global-gradient: linear-gradient(60deg, #52b3dc, #009ee2);
    --global-box-shadow: 0 12px 20px -10px rgba(0, 158, 226, 0.28),0 4px 20px 0px rgba(0, 0, 0, 0.12),0 7px 8px -5px rgba(0, 158, 226, 0.2);
    --global-box-shadow2: 0 15px 10px -10px rgba(0, 158, 226, 0.28),0 7px 10px 0px rgba(0, 0, 0, 0.12),0 10px 0px -5px rgba(0, 158, 226, 0.2);
    /*--color-dti-primary: #fb8c00;
    --color-dti-secondary: #505050;
    --color-dti-third: #303030;
    --color-dti-menu-text: #fff;
    --global-gradient: linear-gradient(60deg, #ffa726, #fb8c00);
    --global-box-shadow: 0 12px 20px -10px rgba(255, 152, 0, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(255, 152, 0, 0.2);
    --color-dti-primary: #8e24aa;
    --color-dti-secondary: #505050;
    --color-dti-third: #303030;
    --color-dti-menu-text: #fff;
    --global-gradient: linear-gradient(60deg, #ab47bc, #8e24aa);
    --global-box-shadow: 0 12px 20px -10px rgba(156, 39, 176, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(156, 39, 176, 0.2);*/
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid;
    margin-left: 10px;
    cursor: pointer;
}

.blue {
    background-color: #009ee2;
}

.orange {
    background-color: #ffa726;
}

.purple {
    background-color: #8e24aa;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1041;
    width: 0;
    height: 100vh;
    background-color: #000;
}

/* Diseño de las opciones del tab */
#v-pills-tab {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    margin-bottom: 20px;
}

.modal-body {
    margin-left: 0px !important;
    margin-right: 15px !important;
}

.clickable-row { cursor: pointer; }
.clickable-row:hover { background-color: #f5f5f5; }
.details-row { display: none; background-color: #f9f9f9; }
.details-cell { padding: 15px !important; }

#wrap {
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid #e8ecef;
}

/* Enhanced Totals Grid Section */
#totales_grid {
    background: #ffffff !important;
    border-top: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    position: relative;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Totals Table Styling */
#totales_grid table {
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
}

#totales_grid table td {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    background: #ffffff !important;
}

#totales_grid table td:first-child {
    text-align: right;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

#totales_grid table td:nth-child(2) {
    text-align: center;
    font-family: 'Courier New', monospace;
    color: #6c757d;
    background: #ffffff !important;
    border-radius: 6px;
    position: relative;
}

#totales_grid table td:nth-child(3) {
    text-align: center;
    font-family: 'Courier New', monospace;
    color: #6c757d;
    background: #ffffff !important;
    border-radius: 6px;
    position: relative;
}

/* Special styling for balanced differences */
#totales_grid table tr:last-child td:nth-child(2),
#totales_grid table tr:last-child td:nth-child(3) {
    background: #ffffff !important;
    color: #6c757d;
}

#tablecontent .fa-trash-o {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #6c757d !important;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 8px;
}

#tablecontent .fa-trash-o::before {
    transition: all 0.3s ease;
}

#tablecontent .fa-trash-o:hover {
    background: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Chosen Dropdown Control - Width Limitation */
#tablecontent .chosen-container {
    width: 100% !important;
    max-width: 280px !important;
}

#tablecontent .chosen-container-single .chosen-single {
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

#tablecontent .chosen-container-single .chosen-single div {
    width: 16px !important;
    top: 6px !important;
}

#tablecontent .chosen-container-single .chosen-single div b {
    background-position: 2px 4px !important;
}

#tablecontent .chosen-drop {
    max-width: 280px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15) !important;
}

#tablecontent .chosen-results {
    max-height: 180px !important;
    font-size: 12px !important;
}

#tablecontent .chosen-results li {
    padding: 6px 10px !important;
    line-height: 1.2 !important;
}