
/* === Heading === */
h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #003366;
}

/* === Dropdown Wrapper === */
.filter-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.filter-wrapper select {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid #000;
  background-color: #f0f8ff;
  color: #000;
  cursor: pointer;
  outline: none;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Table Styles === */
.table-responsive {
  overflow-x: auto;
}

#timezoneTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #ffffff;
  color: #000;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#timezoneTable thead {
  background-color: #1f2937;
  color: #fff;
}

#timezoneTable th,
#timezoneTable td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #000;
}

#timezoneTable tr:nth-child(even) {
  background-color: #f9fafb;
}

.flag {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* === Dark Mode === */
body.dark-mode {
  background-color: #111;
  color: #fff;
}

body.dark-mode h2 {
  color: #fff;
}

body.dark-mode .filter-wrapper select {
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

body.dark-mode #timezoneTable {
  background-color: #000;
  color: #fff;
}

body.dark-mode #timezoneTable thead {
  background-color: #222;
  color: #fff;
}

body.dark-mode #timezoneTable tr:nth-child(even) {
  background-color: #1a1a1a;
}

body.dark-mode #timezoneTable th,
body.dark-mode #timezoneTable td {
  background-color: #000;
  color: #fff;
  border-bottom: 1px solid #333;
}

/* === Responsive === */
@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }

  .filter-wrapper select {
    font-size: 14px;
    padding: 10px;
    width: 90%;
  }

  #timezoneTable th,
  #timezoneTable td {
    font-size: 14px;
    padding: 10px;
  }
}
