:root {
    --dark-blue: #001f3f;
    --accent-yellow: #FFD700;
    --soft-blue: #003366;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-gray);
}

/* LOGIN OVERLAY STYLING */
#loginOverlay {
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.9)), 
                url('https://admin.dutasukses.id/assets/img/bg.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: 9999;
}

.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.login-header {
    background-color: var(--dark-blue);
    padding: 30px;
    text-align: center;
}

.login-logo {
    max-width: 150px; 
    margin-bottom: 15px;
}

/* MAIN CONTENT STYLING */
.offer-card { 
    border-radius: 25px; 
    border: none; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    overflow: hidden;
}

/* CUSTOM HEADER LIKE IMAGE */
.card-header-custom {
    height: 450px;
    background-image: url('https://admin.dutasukses.id/assets/img/bg_offer.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 31, 63, 0.9);
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
    z-index: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-top-info {
    position: absolute;
    top: 30px;
    right: 40px;
    text-align: right;
    color: #333;
    z-index: 2;
}

.header-logo {
    max-width: 220px;
    margin-bottom: 5px;
}

.category-label {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 5px;
    font-weight: 300;
}

.main-service-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.yellow-line {
    width: 200px;
    height: 6px;
    background-color: var(--accent-yellow);
    margin-bottom: 20px;
}

.slogan-text {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 400px;
}

.client-info-box {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: white;
    color: #333;
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 300px;
}

.status-badge { 
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    border-radius: 50px; 
    padding: 8px 20px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.price-box { 
    background: linear-gradient(135deg, var(--dark-blue), var(--soft-blue));
    color: white;
    border-radius: 15px; 
    padding: 30px; 
    margin: 20px 0;
    border-left: 5px solid var(--accent-yellow);
}

.text-yellow { color: var(--accent-yellow); }
.btn-primary-custom {
    background-color: var(--accent-yellow);
    color: var(--dark-blue);
    border: none;
    font-weight: bold;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* TABLE CUSTOM STYLING - FIX BACKGROUND BIRU */
.offer-table-custom thead {
    background-color: var(--dark-blue) !important;
}

.offer-table-custom thead th {
    background-color: var(--dark-blue) !important; /* Menimpa background default th */
    color: #ffffff !important; /* Warna tulisan putih */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px !important;
    border: none;
}

.offer-table-custom td {
    padding: 15px !important;
    vertical-align: middle;
}

.brand-footer {
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding-top: 20px;
}

.payment-status { 
    font-size: 0.7rem; 
    padding: 4px 12px; 
    border-radius: 50px; 
    font-weight: bold;
    display: inline-block;
}

.info-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .card-header-custom { height: auto; min-height: 400px; }
    .header-overlay { width: 100%; clip-path: none; padding: 30px; position: relative; }
    .header-top-info { position: relative; top: 0; right: 0; text-align: left; padding: 20px; background: white; }
    .client-info-box { position: relative; bottom: 0; right: 0; border-radius: 0; margin-top: 20px; }
    .main-service-title { font-size: 2.5rem; }
}

@media print {
    .btn-print, #loginOverlay, .no-print { display: none; }
    .container { width: 100%; max-width: 100%; }
    .offer-card { box-shadow: none; border: 1px solid #eee; }
    .card-header-custom { -webkit-print-color-adjust: exact; }
}