
.zoom-gallery .col {max-width: 200px;}
.button-items-header-order-detail button, .button-items-header-order-detail a {line-height: 1;width: 40px;height: 40px;}
@media (min-width: 768px) and (max-width: 1360px) {
    .total-orders-btn { display: block !important; }
    .total-orders-btn a:first-child { margin-bottom: 5px; }
    .total-orders-btn .sent-detail-email { margin-left: 0 !important; }
}
@media (max-width: 300px) {
    .total-orders-btn { display: block !important; }
    .total-orders-btn a:first-child { margin-bottom: 5px; }
    .total-orders-btn .sent-detail-email { margin-left: 0 !important; }
}

table thead {
    background: #e3e3e5 !important;
    color: #686869 !important;
    font-size: 14px !important;
}
table tbody tr:nth-child(odd) {
    background: #f8f9f9 !important;
}

table tbody tr:nth-child(even) {
    background: #fff !important;
}

body:not(.light-mode) table thead {
    background: #262b3c !important;
    color: #a6b0cf !important;
    font-size: 14px !important;
}

body:not(.light-mode) table tbody tr:nth-child(odd) {
    background: #222736 !important;
}

body:not(.light-mode) table tbody tr:nth-child(even) {
    background: #32394f !important;
}
body:not(.light-mode) #div_repair_order_payments {
    background: #2a3042 !important;
}
.hide{display: none;}
.btn_floating{
    background: #f46a6a !important;
}
.btn_floating:hover{
    background: #eb4848 !important;
}

._email{
    color: #512da8; border-color: #512da8 !important; 
    background: #fff !important;
}
._email:hover{
    color: #371d75; border-color: #371d75 !important;
}

.download_g{
    border-color: #666668 !important;
    background: #fff !important;
    color: #666668 !important;
    /* border-radius: 15px !important; */
}
.download_g:hover{
    border-color: #5b5b60 !important;
}

._print{
    background: #fff !important;
    border-color: #50a5f1 !important;
    color: #50a5f1 !important;
}
._print:hover{
    border-color: #2c80e4 !important;
    color: #2c80e4 !important;
}

body:not(.light-mode) ._email {
    color: #ffd166; 
    border-color: #ffd166 !important;
    background: #4e5575 !important;
}
body:not(.light-mode) ._email:hover {
    color: #ffb703; 
    border-color: #ffb703 !important;
}

body:not(.light-mode) .download_g {
    border-color: #8ecae6 !important;
    background: #4e5575 !important;
    color: #8ecae6 !important;
}
body:not(.light-mode) .download_g:hover {
    border-color: #219ebc !important;
}

body:not(.light-mode) ._print {
    background: #4e5575 !important;
    border-color: #80ffdb !important;
    color: #80ffdb !important;
}
body:not(.light-mode) ._print:hover {
    border-color: #64dfdf !important;
    color: #64dfdf !important;
}

body:not(.light-mode) .close {
    color:#ffff !important;
}

.photo-container {
    transition: transform 0.3s ease;
}

.left-arrow,
.right-arrow {
    z-index: 1;
    background-color: #006aff;
    color: white;
    border-radius: 50px;
}
.left-arrow:hover,
.right-arrow:hover {
    background-color: gray;
    color:white;
}
.left-arrow i,
.right-arrow i{
    font-size: 20px;
}

.zoom-gallery:hover .left-arrow,
.zoom-gallery:hover .right-arrow {
    display: block;
}

.left-arrow.disabled,
.right-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
} 

.rwd-table-wrapper .rwd-table:not(.rwd-table-original) input[name^="approval_status_"] {
    display: none !important;
}
.service-approval-toggle {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
}

.toggle-option {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 6px;
}

.toggle-option input[type="radio"] {
    appearance: none;
    width: 28px;
    height: 16px;
    background-color: #798291;
    border-radius: 12px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-option input[type="radio"]:checked {
    background-color: #10b981;
}

.toggle-option input[type="radio"]:checked[value="2"] {
    background-color: #ef4444;
}

.toggle-option input[type="radio"]::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 1px;
    left: 1px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-option input[type="radio"]:checked::before {
    transform: translateX(12px);
}
.photo-container {
    transition: transform 0.5s ease;
    will-change: transform;
}

.photo-container a:hover {
    transform: scale(1.05);
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.photo-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .photo-item {
        width: 150px !important;
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .photo-item {
        width: 120px !important;
        height: 100px !important;
    }
}

/* Modo oscuro para SweetAlert2 */
body:not(.light-mode) .swal2-container {
    background: rgba(34, 39, 54, 0.85) !important;
    z-index: 20000 !important;
}

body:not(.light-mode) .swal2-popup {
    background: #222736 !important;
    color: #c3cbe4 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 24px 0 rgba(0,0,0,0.5) !important;
    border: 1px solid #32394e !important;
}

body:not(.light-mode) .swal2-title {
    color: #c3cbe4 !important;
}

body:not(.light-mode) .swal2-content,
body:not(.light-mode) .swal2-html-container,
body:not(.light-mode) .swal2-input,
body:not(.light-mode) .swal2-validation-message {
    color: #c3cbe4 !important;
    background: transparent !important;
}

body:not(.light-mode) .swal2-input,
body:not(.light-mode) .swal2-textarea,
body:not(.light-mode) .swal2-select {
    background: #32394f !important;
    color: #c3cbe4 !important;
    border: 1px solid #32394e !important;
}

body:not(.light-mode) .swal2-input:focus,
body:not(.light-mode) .swal2-textarea:focus,
body:not(.light-mode) .swal2-select:focus {
    border-color: #556ee6 !important;
    box-shadow: 0 0 0 2px rgba(85, 110, 230, 0.2) !important;
}

body:not(.light-mode) .swal2-styled.swal2-confirm {
    background-color: #556ee6 !important;
    color: #fff !important;
    border: none !important;
}

body:not(.light-mode) .swal2-styled.swal2-cancel {
    background-color: #2e3548 !important;
    color: #c3cbe4 !important;
    border: none !important;
}

body:not(.light-mode) .swal2-footer {
    background: #32394f !important;
    color: #a6b0cf !important;
    border-top: 1px solid #32394e !important;
}

body:not(.light-mode) .swal2-icon {
    /* Ajuste de iconos para modo oscuro */
    border-color: #556ee6 !important;
}

body:not(.light-mode) .swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: #556ee6 !important;
}

body:not(.light-mode) .swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid #5e76e7 !important;
}

body:not(.light-mode) .swal2-icon.swal2-error {
    border-color: #e74c3c !important;
}

body:not(.light-mode) .swal2-icon.swal2-warning {
    border-color: #f1c40f !important;
}

body:not(.light-mode) .swal2-icon.swal2-info {
    border-color: #3498db !important;
}

body:not(.light-mode) .swal2-close {
    color: #c3cbe4 !important;
    opacity: 0.7 !important;
}

body:not(.light-mode) .swal2-progress-steps {
    background: transparent !important;
    color: #a6b0cf !important;
}

body:not(.light-mode) .swal2-radio label,
body:not(.light-mode) .swal2-checkbox label {
    color: #c3cbe4 !important;
}

body:not(.light-mode) .swal2-file {
    background: #32394f !important;
    color: #c3cbe4 !important;
    border: 1px solid #32394e !important;
}

body:not(.light-mode) .swal2-timer-progress-bar {
    background: #5e76e7 !important;
}

/* ===== RESPONSIVE TABLES TO CARDS ===== */
@media (max-width: 768px) {
    /* Ocultar tablas en móvil */
    .responsive-table {
        display: none !important;
    }
    
    /* Mostrar versión de tarjetas en móvil */
    .mobile-cards {
        display: block !important;
    }
    
    /* Estilos para las tarjetas */
    .service-card, .product-card, .payment-card {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: 1px solid #e3e6f0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .service-card:hover, .product-card:hover, .payment-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    /* Modo oscuro para tarjetas */
    body:not(.light-mode) .service-card,
    body:not(.light-mode) .product-card,
    body:not(.light-mode) .payment-card {
        background: #32394f !important;
        border-color: #404954 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    body:not(.light-mode) .service-card:hover,
    body:not(.light-mode) .product-card:hover,
    body:not(.light-mode) .payment-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    }
    
    /* Header de tarjeta */
    .card-header-mobile {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e3e6f0;
    }
    
    body:not(.light-mode) .card-header-mobile {
        border-bottom-color: #404954 !important;
    }
    
    .card-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 16px;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .card-title-mobile {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
        color: #2c3e50;
    }
    
    body:not(.light-mode) .card-title-mobile {
        color: #c3cbe4 !important;
    }
    
    /* Contenido de tarjeta */
    .card-content-mobile {
        display: grid;
        gap: 8px;
    }
    
    .card-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0;
    }
    
    .card-label-mobile {
        font-size: 13px;
        font-weight: 500;
        color: #6c757d;
        margin: 0;
    }
    
    .card-value-mobile {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        text-align: right;
    }
    
    body:not(.light-mode) .card-label-mobile {
        color: #a6b0cf !important;
    }
    
    body:not(.light-mode) .card-value-mobile {
        color: #c3cbe4 !important;
    }
    
    /* Badge de estado */
    .status-badge-mobile {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .status-pending {
        background: #fff3cd;
        color: #856404;
    }
    
    .status-working {
        background: #d1ecf1;
        color: #0c5460;
    }
    
    .status-finished {
        background: #d4edda;
        color: #155724;
    }
    
    body:not(.light-mode) .status-pending {
        background: #664d03 !important;
        color: #fff3cd !important;
    }
    
    body:not(.light-mode) .status-working {
        background: #055160 !important;
        color: #b6effb !important;
    }
    
    body:not(.light-mode) .status-finished {
        background: #0f5132 !important;
        color: #d1e7dd !important;
    }
    
    /* Sección de productos asignados */
    .assigned-products-mobile {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e3e6f0;
    }
    
    body:not(.light-mode) .assigned-products-mobile {
        border-top-color: #404954 !important;
    }
    
    .products-toggle-mobile {
        color: #007bff;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
    }
    
    .products-toggle-mobile:hover {
        color: #0056b3;
        text-decoration: underline;
    }
    
    body:not(.light-mode) .products-toggle-mobile {
        color: #74b9ff !important;
    }
    
    body:not(.light-mode) .products-toggle-mobile:hover {
        color: #0984e3 !important;
    }
    
    .products-list-mobile {
        margin-top: 8px;
        display: none;
    }
    
    .product-item-mobile {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 8px;
        margin-bottom: 6px;
        font-size: 12px;
    }
    
    body:not(.light-mode) .product-item-mobile {
        background: #262b3c !important;
        border-color: #404954 !important;
    }
    
    /* Controles de aprobación móvil */
    .approval-controls-mobile {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e3e6f0;
    }
    
    body:not(.light-mode) .approval-controls-mobile {
        border-top-color: #404954 !important;
    }
    
    .approval-title-mobile {
        font-size: 13px;
        font-weight: 600;
        color: #6c757d;
        margin-bottom: 8px;
    }
    
    body:not(.light-mode) .approval-title-mobile {
        color: #a6b0cf !important;
    }
    
    /* Totales móvil */
    .total-section-mobile {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px;
        margin-top: 16px;
        text-align: center;
    }
    
    body:not(.light-mode) .total-section-mobile {
        background: #262b3c !important;
    }
    
    .total-amount-mobile {
        font-size: 18px;
        font-weight: 700;
        color: #28a745;
        margin: 0;
    }
    
    body:not(.light-mode) .total-amount-mobile {
        color: #20c997 !important;
    }
}

/* Ocultar tarjetas en desktop */
@media (min-width: 769px) {
    .mobile-cards {
        display: none !important;
    }
    
    .responsive-table {
        display: block !important;
    }
}

/* ===== RESPONSIVE VEHICLE DATA ===== */
@media (max-width: 768px) {
    /* Mejorar diseño de datos del vehículo en móvil */
    .vehicle-data-mobile {
        padding: 16px !important;
    }
    
    .vehicle-image-mobile {
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    .vehicle-image-mobile img {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }
    
    .vehicle-info-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .vehicle-section-mobile {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px;
    }
    
    body:not(.light-mode) .vehicle-section-mobile {
        background: #262b3c !important;
        border: 1px solid #404954;
    }
    
    .vehicle-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .vehicle-row-mobile:last-child {
        border-bottom: none;
    }
    
    body:not(.light-mode) .vehicle-row-mobile {
        border-bottom-color: #404954 !important;
    }
    
    .vehicle-label-mobile {
        font-size: 13px;
        font-weight: 600;
        color: #6c757d;
        margin: 0;
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    .vehicle-value-mobile {
        font-size: 14px;
        font-weight: 500;
        color: #2c3e50;
        margin: 0;
        text-align: right;
        flex: 1;
        word-break: break-word;
    }
    
    body:not(.light-mode) .vehicle-label-mobile {
        color: #a6b0cf !important;
    }
    
    body:not(.light-mode) .vehicle-value-mobile {
        color: #c3cbe4 !important;
    }
    
    .vehicle-qr-section-mobile {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
    }
    
    body:not(.light-mode) .vehicle-qr-section-mobile {
        background: #262b3c !important;
        border: 1px solid #404954;
    }
    
    .vehicle-qr-mobile {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 12px auto !important;
        border-radius: 8px;
    }
    
    .vehicle-order-title-mobile {
        font-size: 16px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 4px 0;
    }
    
    .vehicle-order-date-mobile {
        font-size: 13px;
        color: #6c757d;
        margin: 0 0 8px 0;
    }
    
    .vehicle-order-status-mobile {
        font-size: 14px;
        font-weight: 600;
        color: #007bff;
        margin: 0;
    }
    
    body:not(.light-mode) .vehicle-order-title-mobile {
        color: #c3cbe4 !important;
    }
    
    body:not(.light-mode) .vehicle-order-date-mobile {
        color: #a6b0cf !important;
    }
    
    body:not(.light-mode) .vehicle-order-status-mobile {
        color: #74b9ff !important;
    }
    
    /* Ocultar layout desktop en móvil */
    .vehicle-desktop-layout {
        display: none !important;
    }
    
    /* Mostrar layout móvil */
    .vehicle-mobile-layout {
        display: block !important;
    }
}

/* Ocultar layout móvil en desktop */
@media (min-width: 769px) {
    .vehicle-mobile-layout {
        display: none !important;
    }
    
    .vehicle-desktop-layout {
        display: block !important;
    }
}

/* ===== RESPONSIVE COMPANY DATA ===== */
@media (max-width: 768px) {
    /* Mejorar diseño de datos de la compañía en móvil */
    .company-data-mobile {
        padding: 16px !important;
    }
    
    .company-image-mobile {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .company-image-mobile img {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }
    
    .company-info-mobile {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .company-section-mobile {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 12px;
        /* margin-bottom: 12px; */
    }
    
    body:not(.light-mode) .company-section-mobile {
        background: #262b3c !important;
        border: 1px solid #404954;
    }
    
    .company-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 6px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .company-row-mobile:last-child {
        border-bottom: none;
    }
    
    body:not(.light-mode) .company-row-mobile {
        border-bottom-color: #404954 !important;
    }
    
    .company-label-mobile {
        font-size: 13px;
        font-weight: 600;
        color: #6c757d;
        margin: 0;
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    .company-value-mobile {
        font-size: 14px;
        font-weight: 500;
        color: #2c3e50;
        margin: 0;
        text-align: right;
        flex: 1;
        word-break: break-word;
    }
    
    .company-value-mobile a {
        color: #007bff;
        text-decoration: none;
    }
    
    .company-value-mobile a:hover {
        text-decoration: underline;
    }
    
    body:not(.light-mode) .company-label-mobile {
        color: #a6b0cf !important;
    }
    
    body:not(.light-mode) .company-value-mobile {
        color: #c3cbe4 !important;
    }
    
    body:not(.light-mode) .company-value-mobile a {
        color: #74b9ff !important;
    }
    
    .company-title-mobile {
        font-size: 18px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 16px 0;
        text-align: center;
    }
    
    body:not(.light-mode) .company-title-mobile {
        color: #c3cbe4 !important;
    }
    
    /* Ocultar layout desktop en móvil */
    .company-desktop-layout {
        display: none !important;
    }
    
    /* Mostrar layout móvil */
    .company-mobile-layout {
        display: block !important;
    }
}

/* Ocultar layout móvil en desktop */
@media (min-width: 769px) {
    .company-mobile-layout {
        display: none !important;
    }
    
    .company-desktop-layout {
        display: block !important;
    }
}

/* ===== RESPONSIVE TOTALS AND SUBTOTALS ===== */
@media (max-width: 768px) {
    /* Mejorar diseño de totales en móvil */
    .media.text-right {
        background: #f8f9fa !important;
        border-radius: 16px !important;
        padding: 16px !important;
        margin: 11px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
        border: 1px solid #e3e6f0 !important;
        text-align: left !important;
    }
    
    body:not(.light-mode) .media.text-right {
        background: #32394f !important;
        border-color: #404954 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    }
    
    .media.text-right .media-body {
        text-align: left !important;
    }
    
    .media.text-right h3 {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        color: #495057 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #dee2e6 !important;
    }
    
    .media.text-right h3:last-of-type {
        border-bottom: none !important;
        margin-bottom: 6px !important;
    }
    
    .media.text-right h2 {
        font-size: 16px !important;
        font-weight: 700 !important;
        margin-bottom: 0 !important;
        color: #495057 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 6px 0 !important;
        border-top: 2px solid #28a745 !important;
        margin-top: 6px !important;
    }
    
    body:not(.light-mode) .media.text-right h3 {
        color: #c3cbe4 !important;
        border-bottom-color: #404954 !important;
    }
    
    body:not(.light-mode) .media.text-right h2 {
        color: #c3cbe4 !important;
        border-top-color: #20c997 !important;
    }
    
    /* Hacer que los títulos no estén en verde */
    .media.text-right h2.text-primary {
        color: #495057 !important;
    }
    
    .media.text-right h2.text-secondary {
        color: #495057 !important;
    }
    
    body:not(.light-mode) .media.text-right h2.text-primary {
        color: #c3cbe4 !important;
    }
    
    body:not(.light-mode) .media.text-right h2.text-secondary {
        color: #c3cbe4 !important;
    }
    
    /* Crear un estilo especial para los números */
    .media.text-right .amount-number,
    .total-amount-mobile .amount-number {
        color: #28a745 !important;
        font-weight: 700 !important;
    }
    
    body:not(.light-mode) .media.text-right .amount-number,
    body:not(.light-mode) .total-amount-mobile .amount-number {
        color: #20c997 !important;
    }
    
    /* Hacer que los títulos de totales móviles no estén en verde */
    .total-amount-mobile {
        color: #495057 !important;
    }
    
    body:not(.light-mode) .total-amount-mobile {
        color: #c3cbe4 !important;
    }
    
    /* ===== APPROVAL CONTROLS BACKGROUND ===== */
    /* Fondo distintivo para sección de aprobación en tarjetas móviles */
    .approval-controls-mobile {
        background: #f8f9fa !important;
        border-radius: 8px !important;
        padding: 12px !important;
        margin-top: 12px !important;
        border: 1px solid #e9ecef !important;
    }
    
    body:not(.light-mode) .approval-controls-mobile {
        background: #2a3042 !important;
        border-color: #404954 !important;
    }
    
    .approval-title-mobile {
        margin-bottom: 8px !important;
        font-weight: 600 !important;
        color: #495057 !important;
    }
    
    body:not(.light-mode) .approval-title-mobile {
        color: #c3cbe4 !important;
    }
}

/* ===== CARD HEADERS BACKGROUND ===== */
/* Fondo distintivo para headers de tarjetas - APLICAR EN TODAS LAS RESOLUCIONES */
.card-header {
    background: #e3e3e5 !important;
    border-bottom: 1px solid #e9ecef !important;
}

body:not(.light-mode) .card-header {
    background: #32394f !important;
    border-bottom-color: #404954 !important;
}

/* ===== PHONE NUMBERS LAYOUT ===== */
@media (max-width: 768px) {
    /* Mejorar layout de teléfonos en móvil */
    .company-value-mobile .phone-numbers {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        text-align: right !important;
    }
    
    .company-value-mobile .phone-line {
        display: flex !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }
    
    .company-value-mobile .phone-line a {
        white-space: nowrap !important;
    }
    
    /* Mejorar el símbolo de moneda - TAMBIÉN EN VERDE */
    .media.text-right small.align-top {
        font-size: 10px !important;
        font-weight: 600 !important;
        margin-right: 2px !important;
        vertical-align: baseline !important;
        color: #28a745 !important;
    }
    
    .media.text-right h2 small.align-top {
        font-size: 12px !important;
        color: #28a745 !important;
    }
    
    body:not(.light-mode) .media.text-right small.align-top {
        color: #20c997 !important;
    }
    
    body:not(.light-mode) .media.text-right h2 small.align-top {
        color: #20c997 !important;
    }
    
    /* Separar el texto del monto */
    .media.text-right h3::before,
    .media.text-right h2::before {
        content: attr(data-label);
        flex: 1;
    }
    
    /* Estilo para los montos */
    .media.text-right .amount-value {
        font-weight: 700;
        white-space: nowrap;
    }
}