/* Main Section */
#reservasiSection {
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
  background: #f8fafc;
  font-family: "Poppins", sans-serif;
}

#reservasiSection .container {
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
#reservasiHeader {
  text-align: center;
  margin-bottom: 30px;
}

#reservasiHeader h1 {
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

#reservasiHeader p {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #64748b;
}

/* Calendar Container */
.calendar-container {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-header h3 {
  font-family: "League Spartan", sans-serif;
  margin: 0 0 5px 0;
  color: #1a1a2e;
  font-size: 1.3rem;
}

.calendar-header p {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
}

.calendar-nav-customer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cal-nav-btn {
  background: #f0ad21;
  color: #1a1a2e;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: all 0.3s;
}

.cal-nav-btn:hover {
  background: #e09d10;
}

.current-month {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.customer-calendar {
  width: 100%;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
  text-align: center;
  padding: 10px 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #e9ecef;
  border-top: none;
}

.calendar-day {
  min-height: 80px;
  padding: 8px;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day:hover {
  background: #fef3c7;
}

.calendar-day.empty {
  background: #f8f9fa;
  cursor: default;
}

.calendar-day.today {
  background: #e3f2fd;
  border: 2px solid #2196f3;
}

.day-number {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.day-badge {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 4px;
}

.day-badge.full {
  background: #f8d7da;
  color: #721c24;
}

.day-badge.available {
  background: #d4edda;
  color: #155724;
}

.day-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.calendar-legend-customer {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  flex-wrap: wrap;
}

.calendar-legend-customer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Form Card */
#reservasiCard {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #1e293b;
}

.required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  background: white;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #f0ad21;
  box-shadow: 0 0 0 3px rgba(240, 173, 33, 0.1);
}

.form-control:disabled {
  background: #f1f5f9;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group.half {
  flex: 1;
}

.form-text {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
  display: block;
}

/* Alert */
#alertError {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #991b1b;
}

#alertInfo {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #1565c0;
}

#infoDurasi {
  margin-bottom: 20px;
}

/* Buttons */
#formButtons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

#submitBtn {
  flex: 2;
  background: #1e293b;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#submitBtn:hover {
  background: #0f172a;
  transform: translateY(-2px);
}

#submitBtn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

#cancelBtn {
  flex: 1;
  background: #f1f5f9;
  color: #475569;
  border: none;
  padding: 14px 20px;
  border-radius: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#cancelBtn:hover {
  background: #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {
  .calendar-day {
    min-height: 60px;
    font-size: 11px;
    padding: 4px;
  }
  .day-number {
    font-size: 12px;
  }
  #reservasiHeader h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  #reservasiCard {
    padding: 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  #formButtons {
    flex-direction: column;
  }
}
