/* Styling untuk Tabel Data */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th, .table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Styling untuk Tombol (Button) */
.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-primary { background-color: #007bff; }
.btn-info { background-color: #17a2b8; }
.btn-danger { background-color: #dc3545; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* Styling umum card */
.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card-header {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}
.card-body {
    padding: 1rem;
}

/* Styling untuk Modal (Pop-up) */
.modal {
    display: none; /* Sembunyi secara default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.modal-header {
    padding: 1rem;
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header h2 { margin: 0; }
.modal-body { padding: 1.5rem; }
.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}

/* Styling untuk Form */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Styling untuk Notifikasi (Alert) */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}
.alert-success { background-color: #d4edda; color: #155724; }
.alert-danger { background-color: #f8d7da; color: #721c24; }

/* Styling untuk Ikon pada Tombol */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
.icon-plus::before { font-family: "Font Awesome 5 Free"; content: "\f067"; font-weight: 900; margin-right: 0.5rem; }
.icon-upload::before { font-family: "Font Awesome 5 Free"; content: "\f093"; font-weight: 900; margin-right: 0.5rem; }

/* Styling untuk Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: right;
}
.btn-secondary {
    background-color: #6c757d;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}