:root {
    --primary-navy: #FFAA00;       /* Warna Utama Navy Gelap */
    --secondary-navy: #1e3a5f;     /* Navy Terang untuk Hover/Accent */
    --accent-blue: #FFD786;        /* Biru Cerah untuk Highlight */
    --text-dark: #1a202c;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    
    --success-bg: #dcfce7;
    --success-text: #166534;
    --warning-bg: #fef9c3;
    --warning-text: #854d0e;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
}

body {
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* --- Card Styles --- */
.modern-card {
    background: var(--card-bg);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 27, 62, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    margin-bottom: 24px;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 27, 62, 0.12);
}

.card-header-modern {
    background: var(--primary-navy);
    padding: 18px 24px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-modern h6 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* --- Status Badge Modern --- */
.status-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.disetujui { background: var(--success-bg); color: var(--success-text); }
.status-badge.ditolak { background: var(--danger-bg); color: var(--danger-text); }
.status-badge.diproses { background: var(--warning-bg); color: var(--warning-text); }
.status-badge.navy { background: var(--primary-navy); color: white; }

/* --- Table Styling --- */
.modern-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
}

.modern-table td {
    color: var(--text-dark);
    font-weight: 500;
    padding-bottom: 12px;
}

/* --- List Group Custom --- */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 20px;
}

.list-group-item:last-child {
    border-bottom: none;
}

.item-name {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
}

.item-qty {
    background: var(--secondary-navy);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Condition Box --- */
.condition-box {
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    border-left-width: 4px;
    transition: all 0.2s;
}

.condition-box.success { border-left-color: #22c55e; background: #f0fdf4; }
.condition-box.warning { border-left-color: #eab308; background: #fefce8; }
.condition-box.danger { border-left-color: #ef4444; background: #fef2f2; }

/* --- Step Process --- */
.step-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    padding: 16px;
}

.step-card:hover {
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(13, 27, 62, 0.08);
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    font-size: 1.1rem;
}

.step-active { background: var(--primary-navy); color: white; box-shadow: 0 0 0 4px rgba(13, 27, 62, 0.2); }
.step-success { background: #22c55e; color: white; }
.step-pending { background: #e2e8f0; color: #94a3b8; }

/* --- Buttons --- */
/* --- Buttons Custom --- */

/* Tombol Utama (Solid Navy) */
.btn-navy {
    background-color: #519A66 !important; /* Warna Navy Gelap Pasti */
    color: #ffffff !important;           /* Teks Putih Pasti */
    border: 1px solid #FFAA00;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 27, 62, 0.2); /* Shadow halus */

}

/* Efek Hover: Sedikit lebih terang & naik */
.btn-navy:hover {
    background-color: #237227 !important; /* Navy sedikit lebih terang */
    border-color: #1a2e5a;
    color: #ffffff !important;
    transform: translateY(-2px); /* Efek naik sedikit */
    box-shadow: 0 6px 12px rgba(13, 27, 62, 0.3);
    text-decoration: none;
}

/* Tombol Outline (Garis Navy, Background Putih) */
.btn-outline-navy {
    background-color: transparent !important;
    color: #FFAA00 !important;
    border: 2px solid #FFAA00;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Efek Hover Outline: Menjadi Solid Navy */
.btn-outline-navy:hover {
    background-color: #237227 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 27, 62, 0.15);
    text-decoration: none;
}
