/**
 * Estilos personalizados para los alerts
 */

.alert-info {
    color: #46757d;
    border-color: #98cad3;
    background-color: #f5f9fa;
}

.alert-info i {
    color: #52858e;
} 
/**
 * Estilos adicionales para Bootstrap Icons (bi bi-icons)
 */

/* Tamaños de iconos */
.bi-xs {
    font-size: 0.75rem;
}

.bi-sm {
    font-size: 0.875rem;
}

.bi-md {
    font-size: 1.25rem;
}

.bi-lg {
    font-size: 1.5rem;
}

.bi-xl {
    font-size: 2rem;
}

.bi-xxl {
    font-size: 3rem;
}

/* Colores comunes */
.bi-primary {
    color: var(--color-primary, #ff7c00);
}

.bi-secondary {
    color: #6c757d;
}

.bi-success {
    color: #2dce89;
}

.bi-info {
    color: #11cdef;
}

.bi-warning {
    color: #fb6340;
}

.bi-danger {
    color: #f5365c;
}

/* Animaciones */
.bi-spin {
    animation: bi-spin 2s linear infinite;
}

@keyframes bi-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Alineación vertical */
.bi-middle {
    vertical-align: middle;
}

.bi-baseline {
    vertical-align: baseline;
}

/* Espaciado con texto */
.bi-mr-1 {
    margin-right: 0.25rem;
}

.bi-ml-1 {
    margin-left: 0.25rem;
} 
.modal-view-order .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-view-order .order-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.modal-view-order .order-header .badge-status {
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
}

.modal-view-order .order-date {
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.modal-view-order .section-title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e7e7e7;
}

.modal-view-order .customer-info,
.modal-view-order .payment-info {
    margin-bottom: 30px;
}

.modal-view-order .customer-info p,
.modal-view-order .payment-info p {
    margin: 4px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.modal-view-order .items-section {
    margin-bottom: 20px;
}

.modal-view-order .items-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.modal-view-order .items-table thead tr {
    background-color: #f9f9f9;
}

.modal-view-order .items-table th {
    color: #333;
    font-weight: 600;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e7e7e7;
    font-size: 14px;
}

.modal-view-order .items-table td {
    padding: 10px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 14px;
}

.modal-view-order .items-table th:first-child,
.modal-view-order .items-table td:first-child {
    text-align: center;
    width: 60px;
}

.modal-view-order .items-table th:last-child,
.modal-view-order .items-table td:last-child,
.modal-view-order .items-table th:nth-last-child(2),
.modal-view-order .items-table td:nth-last-child(2) {
    text-align: right;
}

.modal-view-order .tax-section {
    margin-bottom: 20px;
}

.modal-view-order .tax-section .section-title {
    margin-bottom: 10px;
}

.modal-view-order .tax-section .total-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    font-size: 14px;
}

.modal-view-order .tax-section .total-row span:first-child {
    margin-right: 20px;
}

.modal-view-order .totals-section {
    margin-bottom: 20px;
}

.modal-view-order .totals-section .total-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    font-size: 14px;
}

.modal-view-order .totals-section .total-row span:first-child {
    margin-right: 20px;
}

.modal-view-order .totals-section .total-row.grand-total {
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e7e7e7;
    color: #333;
}

.payment-methods-table {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.payment-methods-table th,
.payment-methods-table td {
    padding: 8px;
    font-size: 14px;
    border-bottom: 1px solid #e7e7e7;
}

.payment-methods-table th {
    font-weight: 600;
    text-align: left;
    background-color: #f9f9f9;
}

.payment-methods-table th.text-right,
.payment-methods-table td.text-right {
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-view-order .row {
        flex-direction: column;
    }
    
    .modal-view-order .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* PDF Export Styles */
@media print {
    .modal-view-order {
        background: white;
        padding: 20px;
        font-size: 12pt;
    }
    
    .modal-view-order .order-header {
        margin-bottom: 15px;
    }
    
    .modal-view-order .order-header h2 {
        font-size: 18pt;
    }
    
    .modal-view-order .badge-status {
        font-size: 12pt;
    }
    
    .modal-view-order .section-title {
        font-size: 14pt;
        margin-bottom: 10px;
    }
    
    .modal-view-order .items-table th,
    .modal-view-order .items-table td,
    .modal-view-order .payment-methods-table th,
    .modal-view-order .payment-methods-table td {
        padding: 8px;
        font-size: 10pt;
    }
}


.modal-view-order .items-table .option-row td {
    border-top: none;
    padding-top: 2px;
    padding-bottom: 2px;
    border: none !important;
}

.modal-view-order .items-table .item-row {
    border-bottom: 1px solid #f8f9fa;
}
.modal-view-order .items-table .option-row td.pl-4 {
    padding-left: 2rem !important;
}
