/* cart.css (Invoice Style) */
.bg-light-modern {
    background-color: #f8fafc;
}

.invoice-card-pro {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.invoice-header {
    margin-bottom: 30px;
}

.invoice-header .card-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
}

.bg-primary-soft {
    background-color: rgba(var(--primary-rgb, 99, 102, 241), 0.1);
}

.invoice-table-pro {
    color: #475569;
    width: 100%;
}

.invoice-table-pro thead th {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.invoice-table-pro thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.invoice-table-pro thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.invoice-table-pro tbody td {
    padding: 20px 16px;
    vertical-align: middle;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    border-top: none;
    color: #334155;
    font-size: 15px;
}

.invoice-table-pro tbody tr:last-child td {
    border-bottom: none;
}

.item-name {
    color: #1e293b;
}

.qty-badge {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #475569;
}

.remove-from-cart {
    color: #ef4444;
    transition: all 0.2s ease;
    font-size: 15px;
    cursor: pointer;
    background: rgba(239, 68, 68, 0.1);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-from-cart:hover {
    color: #fff;
    background: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.invoice-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.summary-table td {
    padding: 8px 0;
    color: #475569;
    font-size: 15px;
}

.summary-table td:last-child {
    color: #1e293b;
}

.summary-table .total-row td {
    border-top: 2px solid #e2e8f0 !important;
}

.invoice-checkout-btn {
    background: #10b981;
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.2);
}

.invoice-checkout-btn:hover {
    background: #059669;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.empty-cart-msg .text-light-gray {
    color: #cbd5e1;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .invoice-card-pro {
        padding: 20px;
    }
}
