
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.card input, .card textarea, .card select, .card button {
    width: 97%;
    padding: 8px 12px;
    margin-top: 6px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.card button {
    background: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.card button:hover {
    background: #34495e;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

thead {
    background: #2c3e50;
    color: #fff;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

a.delete-btn {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

a.delete-btn:hover {
    text-decoration: underline;
}

/* Styling Umum */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Judul Halaman */
.page-title {
    text-align: left;
    margin: 30px 0;
    color: #2c3e50;
    font-size: 2em;
}

/* Card Style */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.card h3 {
    margin-top: 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #34495e;
}

/* Form Styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #27ae60;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn:hover {
    background-color: #229954;
}

.btn-danger {
    background-color: #e74c3c;
    padding: 8px 15px;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

thead th {
    background-color: #34495e;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 15px;
}

td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f3f5;
}

/* Status & Priority Badges */
.status, .priority {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    display: inline-block;
}

.status.on-track { background-color: #d4edda; color: #155724; }
.status.delayed { background-color: #f8d7da; color: #721c24; }
.status.overbudget { background-color: #fff3cd; color: #856404; }
.status.completed { background-color: #cce5ff; color: #004085; }

.priority.low { background-color: #e2f0fb; color: #3498db; }
.priority.medium { background-color: #ffe4c4; color: #ff8c00; }
.priority.high { background-color: #ffe4e4; color: #e74c3c; }

/* Responsive (Mobile View) */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead { display: none; }
    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #555;
    }
}
<style>
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f0f2f5;
        color: #333;
        line-height: 1.6;
    }
    .container {
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 15px;
    }
    .page-title {
        text-align: left;
        margin: 30px 0;
        color: #2c3e50;
        font-size: 2em;
    }
    .card {
        background: #fff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
        margin-bottom: 25px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    .card h3 {
        margin-top: 0;
        border-bottom: 2px solid #e9ecef;
        padding-bottom: 15px;
        margin-bottom: 20px;
        color: #34495e;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #555;
    }
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group input[type="date"],
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-sizing: border-box;
        font-size: 1em;
        transition: border-color 0.3s;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: #3498db;
        outline: none;
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    }
    .form-row {
        display: flex;
        gap: 20px;
    }
    .form-col {
        flex: 1;
    }
    .btn {
        display: inline-block;
        padding: 12px 25px;
        font-size: 1em;
        font-weight: bold;
        color: #fff;
        background-color: #27ae60;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s;
        text-decoration: none;
        text-align: center;
    }
    .btn:hover {
        background-color: #229954;
    }
    .btn-danger {
        background-color: #e74c3c;
        padding: 8px 15px;
    }
    .btn-danger:hover {
        background-color: #c0392b;
    }
    .table-responsive {
        overflow-x: auto;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    thead th {
        background-color: #34495e;
        color: #fff;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.9em;
        padding: 15px;
    }
    td {
        text-align: left;
        padding: 15px;
        border-bottom: 1px solid #e9ecef;
    }
    tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    tbody tr:hover {
        background-color: #f1f3f5;
    }
    .status-badge {
        display: inline-block;
        padding: 5px 12px;
        border-radius: 20px;
        font-weight: bold;
        font-size: 0.8em;
    }
    .status-paid {
        background-color: #d4edda;
        color: #155724;
    }
    .status-pending {
        background-color: #fff3cd;
        color: #856404;
    }
    .status-overdue {
        background-color: #f8d7da;
        color: #721c24;
    }
    /* Responsive (Mobile View) */
    @media (max-width: 768px) {
        .form-row {
            flex-direction: column;
            gap: 0;
        }
        table, thead, tbody, th, td, tr {
            display: block;
        }
        thead { display: none; }
        tr {
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 10px;
        }
        td {
            border: none;
            position: relative;
            padding-left: 50%;
            text-align: right;
        }
        td:before {
            content: attr(data-label);
            position: absolute;
            left: 10px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
            color: #555;
        }
        .actions {
            text-align: left;
            padding-left: 10px;
        }
    }

/* Styling Umum Laporan */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.page-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Card Styling */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.card h3 {
    margin-top: 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #34495e;
}

.separator {
    border: 0;
    height: 1px;
    background: #e9ecef;
    margin: 30px 0;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

thead th {
    background-color: #34495e; /* Header gelap */
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 15px;
}

td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #eaf3ff;
}

/* Progress Bar Styling */
.progress-bar-container {
    background: #e0e0e0;
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    width: 150px; /* Lebar tetap untuk desktop */
}

.progress-bar {
    height: 100%;
    background: #27ae60; /* Hijau */
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.9em;
    color: #34495e;
    font-weight: 600;
    margin-left: 10px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: capitalize;
}

/* Status Colors */
.status-verified {
    background-color: #d4edda;
    color: #155724;
}
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Vendor Link */
.vendor-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.vendor-link:hover {
    text-decoration: underline;
}

.no-data {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
}

/* Responsive (Mobile View) */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead { display: none; }
    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #555;
    }
    .progress-col {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }
    .progress-bar-container {
        width: 100px;
    }
}


/* Styling Umum Laporan */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.page-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Card Styling */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.card h3 {
    margin-top: 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #34495e;
}

.separator {
    border: 0;
    height: 1px;
    background: #e9ecef;
    margin: 30px 0;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

thead th {
    background-color: #34495e; /* Header gelap */
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 15px;
}

td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #eaf3ff;
}

/* Progress Bar Styling */
.progress-bar-container {
    background: #e0e0e0;
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    width: 150px; /* Lebar tetap untuk desktop */
}

.progress-bar {
    height: 100%;
    background: #27ae60; /* Hijau */
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.9em;
    color: #34495e;
    font-weight: 600;
    margin-left: 10px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: capitalize;
}

/* Status Colors */
.status-verified {
    background-color: #d4edda;
    color: #155724;
}
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Vendor Link */
.vendor-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.vendor-link:hover {
    text-decoration: underline;
}

.no-data {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
}

/* Responsive (Mobile View) */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead { display: none; }
    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #555;
    }
    .progress-col {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }
    .progress-bar-container {
        width: 100px;
    }
}
