body {
    background: #f4f6f9;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Card */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-body {
    padding: 25px;
}

/* Title */
.card-title {
    font-weight: 600;
    font-size: 1.3em;
    color: #007bff;
}

.text-muted {
    color: #6c757d !important;
}

/* Filter Section */
.row .col-4 {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

input[type="date"],
input[type="text"],
select.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95em;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease-in-out;
}

input:focus,
select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table th,
.table td {
    padding: 12px 10px;
    text-align: center;
    font-size: 0.95em;
}

.table th {
    background-color: #007bff;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
}

.table-striped tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    color: white;
}

.status-akan {
    background-color: #17a2b8; /* Biru muda */
}

.status-berlangsung {
    background-color: #ffc107; /* Kuning */
    color: #222;
}

.status-selesai {
    background-color: #28a745; /* Hijau */
}

/* Update Time */
#update-time {
    font-size: 0.85em;
    color: #6c757d;
    text-align: right;
    margin-top: 10px;
}

/* Fade animation saat update */
.fade-update {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        display: block;
    }
    .col-4 {
        width: 100%;
    }
    .table th,
    .table td {
        font-size: 0.85em;
        padding: 8px;
    }
    .card-body {
        padding: 15px;
    }
}
@media (max-width: 480px) {
    .table th:nth-child(3),
    .table td:nth-child(3),
    .table th:nth-child(5),
    .table td:nth-child(5) {
        display: none; /* sembunyikan kolom waktu & kegiatan di layar kecil */
    }
}

.btn-reservasi {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-reservasi:hover {
  background: linear-gradient(135deg, #0056b3, #004099);
  box-shadow: 0 6px 14px rgba(0, 91, 187, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-reservasi:active {
  transform: scale(0.98);
}

.btn-reservasi i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}