/* Product Files Download Button */
.product-files {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px dashed #c5d3e0;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.product-files strong {
    grid-column: 1 / -1;
    color: #5a6a7a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.btn-download-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-download-file:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-download-file:active {
    transform: translateY(0);
}

.btn-download-file i {
    font-size: 11px;
}

/* ====================================
   ORDER DETAIL PAGE STYLING
   ==================================== */

/* Section Container */
.layout-order-detail-all {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.order-products-section {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.order-products-section .h4 {
    color: #1e293b;
    font-size: 2.1rem;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Table Styling */
.order-products-section .table {
    margin-bottom: 0;
}

.order-products-section .table thead {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.order-products-section .table thead th {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none;
}

.order-products-section .table tbody tr {
    transition: background 0.2s ease;
}

.order-products-section .table tbody tr:hover {
    background: #f8fafc;
}

.order-products-section .table tbody th,
.order-products-section .table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
}

/* Product Cell */
.order-products-section .table tbody th {
    font-weight: normal;
}

.order-products-section .table tbody th a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.order-products-section .table tbody th a:hover {
    color: var(--color-highlight-2);
}

.order-products-section .table tbody th img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* Price Styling */
.order-products-section .price-amount {
    font-weight: 600;
    color: #ef4444;
    font-size: 14px;
}

.order-products-section .currency-symbol {
    font-size: 12px;
    color: #64748b;
    margin-left: 2px;
}

/* Footer Rows */
.order-products-section .table tfoot tr {
    background: #f8fafc;
}

.order-products-section .table tfoot td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.order-products-section .table tfoot .fs-14 {
    color: #475569;
}

/* Total Row */
.order-products-section .table tfoot tr.bg-gray {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

.order-products-section .table tfoot tr.bg-gray td {
    color: #fff;
    padding: 16px;
    border: none;
}

.order-products-section .table tfoot tr.bg-gray b {
    font-size: 16px;
}

.order-products-section .table tfoot tr.bg-gray .price-amount {
    color: #fbbf24;
    font-size: 18px;
}

.order-products-section .table tfoot tr.bg-gray .currency-symbol {
    color: #fbbf24;
}

/* Success/Paid Row */
.order-products-section .table tfoot .text-success {
    color: #10b981 !important;
    font-weight: 600;
}

/* Color Hover (Debt) */
.order-products-section .table tfoot .color-hover {
    color: #ef4444 !important;
}