/* ==========================================================
   INVOICE STYLE - DUTASUKSES
   Author: Albara for Irawan
   ========================================================== */

:root {
    --ds-navy: #001f3f;
    --ds-gold: #FFD700;
    --ds-gray: #f4f7f6;
    --ds-border: #e0e0e0;
}

.invoice-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.invoice-header-top {
    background: var(--ds-navy);
    color: white;
    padding: 35px;
}

.invoice-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.invoice-body {
    padding: 40px;
    position: relative;
}

/* Watermark Status (Draft, Paid, etc) */
.invoice-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(0, 31, 63, 0.04);
    z-index: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    text-transform: uppercase;
}

.inv-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
}

.inv-value {
    font-weight: 600;
    color: var(--ds-navy);
    font-size: 1rem;
}

.table-invoice {
    margin-top: 30px;
}

.table-invoice thead th {
    background-color: #f8f9fa;
    color: var(--ds-navy);
    border-top: 2px solid var(--ds-navy);
    padding: 15px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.table-invoice tbody td {
    padding: 20px 15px;
    vertical-align: top;
    border-bottom: 1px solid var(--ds-border);
}

.total-section {
    background: var(--ds-gray);
    padding: 25px;
    border-radius: 12px;
}

.payment-info-box {
    border: 2px dashed var(--ds-border);
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
}

.signature-box {
    margin-top: 40px;
}

.signature-img {
    max-width: 160px;
    height: auto;
    margin-bottom: 10px;
}

.btn-print-invoice {
    background-color: var(--ds-navy);
    color: white;
    border: none;
    transition: 0.3s;
}

.btn-print-invoice:hover {
    background-color: #002d5c;
    color: #fff;
    transform: translateY(-2px);
}

@media print {
    .no-print { display: none !important; }
    body { background: white; }
    .invoice-card { box-shadow: none !important; border: 1px solid #eee; }
    .invoice-header-top { -webkit-print-color-adjust: exact; background-color: #001f3f !important; }
}