/* style.css */
body {
    font-family: 'Poppins', Arial, sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #eef2f7; 
}

/* Container untuk tata letak utama (Header + Nav + Main) */
#app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Tombol */
button {
    padding: 10px 18px;
    margin: 5px 5px 5px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #5cb85c;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background-color: #4cae4c;
    transform: translateY(-1px);
}

/* Input dan Select */
input[type="text"], input[type="email"], input[type="password"], 
input[type="time"], input[type="number"], select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: block; 
    width: 100%; 
    box-sizing: border-box; 
}

/* Label */
label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

/* Header */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sidebar/Navigasi */
nav {
    width: 250px; 
    padding: 20px;
    border-right: 1px solid #ddd;
    background-color: #ffffff;
    min-height: calc(100vh - 75px); 
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}
nav h2 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav button {
    width: 100%;
    text-align: left;
    background-color: #007bff;
    margin-bottom: 10px;
    padding: 12px 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
nav button:hover {
    background-color: #0056b3;
}

/* Area Konten Utama */
#content-area {
    flex-grow: 1; 
    padding: 30px; 
    background-color: #fcfcfc;
}
#content-area h3 {
    border-left: 5px solid #007bff;
    padding-left: 10px;
    color: #333;
}

/* Form Styling */
#master-form, #alokasi-form, #jadwal-form {
    max-width: 600px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}


/* Style untuk Tabel Data Master, Alokasi, dan Cetak */
#master-table, #alokasi-table, #print-preview table, #jampel-table, #rekap-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
#master-table th, #master-table td, 
#alokasi-table th, #alokasi-table td,
#print-preview th, #print-preview td,
#jampel-table th, #jampel-table td,
#rekap-table th, #rekap-table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: left;
}
#master-table th, #alokasi-table th, #print-preview th, #jampel-table th, #rekap-table th {
    background-color: #f7f7f7;
    font-weight: bold;
    color: #333;
}

/* Style untuk Tabel Pratinjau Jadwal Hari Ini */
#pratinjau-table {
    border: 1px solid #007bff;
}
#pratinjau-table thead tr {
    background-color: #007bff !important;
}
#pratinjau-table th {
    color: white !important;
}
#pratinjau-table tr:nth-child(even) {
    background-color: #f0f8ff;
}


/* Notifikasi / Pesan Bentrok */
#bentrok-message {
    padding: 10px;
    border-radius: 5px;
    background-color: #fdd;
    border: 1px solid #f00;
    color: #f00;
    margin-top: 15px;
}

/* Icon Styling */
button i, h2 i {
    margin-right: 8px;
}