/* 🌿 Modern Style for Laporan Page */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

body {
    font-family: 'Manrope', sans-serif;
    /* Background gabungan gradasi + gambar */
    background: 
        linear-gradient(rgba(233, 245, 242, 0.85), rgba(244, 246, 249, 0.85)),
        url('https://img.freepik.com/free-vector/green-gradient-background-gradient-3d-design_343694-3667.jpg') 
        no-repeat center center / cover;
    margin: 0;
    padding: 40px 0;
    color: #333;
    transform: scale(0.9);  /* 90% */
    transform-origin: top left;
    width: 111.111%; /* 1 / 0.9 untuk menghindari scroll horizontal */
}

/* Container utama */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 40px 50px;
    animation: fadeIn 0.6s ease-in-out;
}

/* Judul */
h2 {
    color: #009879;
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Tombol dan input */
input, button {
    padding: 10px 14px;
    margin: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #009879;
    box-shadow: 0 0 0 3px rgba(0, 152, 121, 0.15);
    outline: none;
}

button {
    background: #009879;
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

button:hover {
    background: #007f67;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 152, 121, 0.25);
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

th {
    background: #009879;
    color: #fff;
    padding: 14px;
    text-align: left;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Warna baris bergantian */
tr:nth-child(even) {
    background: #f9f9f9;
}

/* Efek hover */
tr:hover {
    background-color: #e6f7f3;
    transition: background-color 0.25s ease;
}

/* Warna selisih */
td[style*="background-color:#c8e6c9"] {
    background-color: #d9f9df !important;
    color: #2e7d32;
    font-weight: 600;
}

td[style*="background-color:#ffcdd2"] {
    background-color: #ffe1e4 !important;
    color: #c62828;
    font-weight: 600;
}

/* Total baris akhir */
tr:last-child {
    font-weight: 700;
    background: #f8fafb;
    border-top: 2px solid #009879;
}

/* Animasi lembut muncul */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsif */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    table, th, td {
        font-size: 14px;
    }

    h2 {
        font-size: 22px;
    }
}
