body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #f9f9f9;
}

.title-container {
  width: 70%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

/* Watermark container and image */
.watermark-container {
  position: relative;
  display: inline-block;
  text-align: center;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 300px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

h1 {
  font-size: 24px;
}

.slider-container {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.slider {
  width: 100%;
  height: 10px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  outline: none;
  cursor: pointer;

  /* Blue fill on the left, grey on the right */
  background: linear-gradient(
    to right,
    #2196F3 0%,
    #2196F3 var(--slider-pos, 50%),
    #ccc var(--slider-pos, 50%),
    #ccc 100%
  );
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #2196F3;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.slider::-moz-range-track {
  height: 10px;
  border-radius: 5px;
  background: transparent;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #2196F3;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.current-time {
  font-size: 20px;
  width: 70%;
  margin: 10px auto 0;
}

.timezone-container {
  width: 70%;
  margin: 0 auto;
}

.timezone-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.timezone-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timezone-name {
  font-weight: bold;
  flex: 1;
}

.time-box {
  width: 80px;
  height: 40px;
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s;
}

/* Green: 09:00–17:30 */
.time-box.active {
  background: #4CAF50 !important;
}

/* Red: 19:01–07:29 */
.time-box.inactive {
  background: #f44336 !important;
}

/* Amber: 07:30–08:59 and 17:31–19:00 */
.time-box.amber {
  background: #FF9800 !important;
}

.timezone-select-container {
  width: 70%;
  margin: 20px auto 0;
}

.fa-trash {
  font-size: 18px;
  margin-left: 10px;
  color: #f44336;
  cursor: pointer;
}

/* Increase font size of location dropdowns by 20% */
#timezone-select,
#new-timezone {
  font-size: 1.2em;
  padding: 4px 6px;
  width: 70%;
  max-width: 400px;
}

/* Social share section */
.social-share-section {
  width: 70%;
  margin: 40px auto 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.social-share-section h2 {
  margin-top: 0;
  font-size: 22px;
}

.social-share-section p {
  margin: 6px 0 16px;
  font-size: 14px;
  color: #555;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
  background: #2196F3;
  color: #fff;
}

/* Brand colours on hover */
.social-icon[data-share="x"]:hover {
  background: #000;
  color: #fff;
}
.social-icon[data-share="facebook"]:hover {
  background: #1877F2;
  color: #fff;
}
.social-icon[data-share="linkedin"]:hover {
  background: #0A66C8;
  color: #fff;
}
.social-icon[data-share="email"]:hover {
  background: #EA4335;
  color: #fff;
}
