/* === Heading === */
h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 25px;
}

body.dark-mode h2 {
  color: #ffffff;
}

/* === Form Container === */
#schedulerForm {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding-bottom: 95px;
}

body.dark-mode #schedulerForm {
  background: #1e1e1e;
}

/* === Participant Entry === */
.participant {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f9fafb;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.dark-mode .participant {
  background: #2a2a2a;
  border-color: #333;
}

.participant label {
  flex: 1 1 200px;
  font-weight: 600;
  color: inherit;
}

.participant input,
.participant select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #000;
}

body.dark-mode .participant input,
body.dark-mode .participant select {
  background: #2b2b2b;
  color: #fff;
  border-color: #555;
}

/* === Work Hours Adjustment === */
.participant .work-hours {
  flex: 1 1 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.participant .work-hours label {
  margin-right: 5px;
  font-weight: 600;
}

.participant .work-hours select {
  flex: 1;
}

/* === Buttons === */
button {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

button:hover {
  background-color: #1e40af;
}

.remove-btn {
  background-color: #e11d48;
}

.remove-btn:hover {
  background-color: #be123c;
}

/* === Output Section === */
.output-box {
  margin: 30px auto 0;
  background: #f0f8ff;
  border-left: 6px solid #003366;
  padding: 25px;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

body.dark-mode .output-box {
  background: #2e2e2e;
  border-left-color: #66aaff;
  color: #fff;
}

/* === Time Slot Styling === */
.time-slot {
  background: #e0f7fa;
  color: #006064;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  font-weight: 500;
}

.time-slot::before {
  content: "🕓 Suggested Time: ";
  font-weight: bold;
}

body.dark-mode .time-slot {
  background: #1b3b3c;
  color: #80e8ff;
}

/* === No Slot Message === */
.no-slot {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
  font-weight: 500;
}

body.dark-mode .no-slot {
  background: #3c1e1e;
  color: #ff9e9e;
}

/* === Timezone Details Section === */
.timezone-details {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

.timezone-details div {
  margin-top: 4px;
}

body.dark-mode .timezone-details {
  color: #ccc;
}

/* === Download Buttons === */
.download-buttons {
  text-align: right;
  margin-top: 15px;
}

.download-btn {
  background: #1e40af;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin-left: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.download-btn:hover {
  background: #112e67;
}

.output-heading {
  text-align: center;
  margin-bottom: 20px;
}

.output-heading h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #1e3a8a;
}

.output-heading .subheading {
  font-size: 0.95rem;
  color: #555;
}

body.dark-mode .output-heading h3 {
  color: #ffffff;
}

body.dark-mode .output-heading .subheading {
  color: #ccc;
}

.brand-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
  color: #555;
}

body.dark-mode .brand-footer {
  color: #ccc;
  border-top-color: #444;
}
