* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
.header {
    height: 70px;
    background: #00336a;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.header img {
    height: 40px;
    margin-right: 10px;

    /* Outer Glow Putih */
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.9))
            drop-shadow(0 0 12px rgba(255,255,255,0.7));
}


.menu-btn {
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

/* ===== LAYOUT WRAPPER ===== */
.wrapper {
    display: flex;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 220px;
    background: #f4f4f4;
    min-height: calc(100vh - 70px);
    transition: 0.3s;
}


.sidebar a {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    gap: 12px;
}

.sidebar-icon {
    font-size: 1.4em;
    min-width: 28px;
    text-align: center;
    display: inline-block;
    transition: none;
}

.sidebar-label {
    transition: opacity 0.3s, width 0.3s;
    white-space: nowrap;
}

.sidebar a:hover {
    background: #ddd;
}

/* Sidebar hidden */
.sidebar.hide {
    width: 60px;
    min-width: 60px;
    overflow-x: hidden;
    transition: width 0.3s;
}

.sidebar.hide a {
    padding-left: 18px;
}

.sidebar.hide .sidebar-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.sidebar.hide .sidebar-icon {
    font-size: 1.4em;
    min-width: 28px;
}

/* ===== CONTENT ===== */
.content {
    flex: 1;
    padding: 20px;
    overflow-x: auto;
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

th, td {
    border: 1px solid #ccc;
    padding: 6px;
    font-size: 12px;
    text-align: center;
}

th {
    background: #0d4a8d;
    color: white;
}

/* ===== CARD ===== */
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    max-width: 600px;
}

/* ===== ALERT ===== */
.alert {
    background: #28a745;
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        width: 60px;
        height: calc(100vh - 70px);
        overflow: hidden;
        transition: width 0.3s;
        z-index: 500;
    }
    
    .sidebar:not(.hide) {
        width: 220px;
    }
    
    .content {
        min-height: calc(100vh - 70px);
        overflow-x: auto;
    }
    
    /* Responsive card */
    .card-rekap {
        padding: 20px;
        max-width: 100%;
        margin: 0;
    }
    
    .card-rekap h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    select {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Pertemuan Layout - Stack on mobile */
    .pertemuan-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .pertemuan-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .checkbox-item {
        font-size: 13px;
        gap: 6px;
    }
    
    .checkbox-item input {
        width: 16px;
        height: 16px;
    }
    
    .btn-rekap {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Modal responsive */
    .modal-box {
        width: 90%;
        max-width: 400px;
        padding: 20px;
    }
    
    .modal-box h3 {
        font-size: 18px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
/* ===== BUAT REKAP MODERN ===== */

.card-rekap {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
}

.card-rekap h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Pertemuan Layout */
.pertemuan-wrapper {
    display: flex;
    gap: 80px;
}

.pertemuan-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
}

/* Button */
.btn-rekap {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    background: #0d4a8d;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-rekap:hover {
    background: #093769;
}

/* Alert Modern */
.alert-modern {
    margin-top: 20px;
    padding: 20px;
    background: #28a745;
    color: white;
    border-radius: 8px;
}

.alert-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-primary {
    padding: 10px 15px;
    background: #004080;
    color: white;
    border: none;
    border-radius: 5px;
}

.btn-secondary {
    padding: 10px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
}

/* ===== MODAL POPUP ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}

.modal-box h3 {
    margin-bottom: 15px;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background: #1e4d8f;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary {
    background: #ccc;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity:0; transform:scale(0.9); }
    to { opacity:1; transform:scale(1); }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-top: 1px solid #333;
}

.footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 15px;
        font-size: 12px;
    }
}
