/* From Uiverse.io by BlackisPlay */
.dateInput {
  margin-left: auto;
  margin-right: auto;
  height: 2.5em;
  width: 12.5em;
  border-radius: 2.5em;
  border: none;
  background-color: rgb(255, 255, 255);
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(7px 7px 10px #00000059);
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(77, 77, 77);
  text-align: center;
  font-size: 14px;
  outline: 2px solid rgba(0, 0, 0, 0);
  transition: outline-offset 0.5s ease, outline-color 0.5s ease,
    height 0.5s ease, width 0.5s ease, filter 0.5s ease;
}

.dateInput:focus {
  outline-offset: 0.5em;
  outline-color: rgba(0, 0, 0, 0.228);
  transition: 0.2s;
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(-7px 7px 10px #00000059);
}


.dateInput::placeholder {
  padding-left: 0.8em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  transform: translateX(-6px);
  transition: transform 0.5s ease;
}

.dateInput:focus::placeholder {
  transform: translateX(-85px);
  transition: 0.5s;
}

/* Row layout for select + button */
.tzRow {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}


/* Time input same as dateInput */
.timeInput {
  height: 2.5em;
  width: 12.5em;
  border-radius: 2.5em;
  border: none;
  background-color: rgb(255, 255, 255);
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(7px 7px 10px #00000059);
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(77, 77, 77);
  text-align: center;
  font-size: 14px;
}

/* Zone select styled like input */
.zoneSelect {
  height: 2.5em;
  width: 25.5em;
  border-radius: 2.5em;
  border: none;
  background-color: rgb(255, 255, 255);
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(7px 7px 10px #00000059);
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(77, 77, 77);
  text-align-last: center;
  font-size: 14px;
  appearance: none;
  padding: 0 1em;
}

/* Add Zone button styled consistently */
.zoneBtn {
  height: 2.5em;
  width: 12.5em;
  border-radius: 2.5em;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: #3498db; /* blue */
  color: white;
  cursor: pointer;
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(7px 7px 10px #00000059);
  transition: background-color 0.3s ease;
}

.zoneBtn:hover {
  background-color: #2980b9; /* darker blue */
}

/* Remove button inside zones list */
.zonesList-remove {
  height: 2.5em;
  width: 12.5em;
  background-color: #e74c3c; /* red */
  height: 2.5em;
  width: 12.5em;
  border-radius: 2.5em;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  -webkit-filter: drop-shadow(1px 1px 10px #000);
  filter: drop-shadow(7px 7px 10px #00000059);
  transition: background-color 0.3s ease;
}

.zonesList-remove:hover {
  background-color: #c0392b; /* darker red */
}

/* Zone list cards */
#zonesList li {
  background: #fff;
  border-radius: 1em;
  padding: 0.6em 1em;
  margin: 0.5em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 14px;
}

 #notificationContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
  }

  .notificationBox {
    min-width: 250px;
    max-width: 320px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
    font-size: 14px;
    font-family: sans-serif;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.4s forwards, fadeOut 0.4s 4.6s forwards;
  }

  .notificationBox.success { background-color: #4CAF50; }
  .notificationBox.error   { background-color: #F44336; }
  .notificationBox.info    { background-color: #2196F3; }
  .notificationBox.warning { background-color: #FF9800; }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeOut {
    to {
      opacity: 0;
      transform: translateX(100%);
    }
  }

.info-card_date {
    background-color: #f9f9fb;
    w
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    width:-webkit-fill-available;
    margin-top: 2.5rem;
}



  .date-diff-card {
      margin-top: 20px;
      padding: 15px;
      border-radius: 12px;
      background: #f9f9f9;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .date-diff-form {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 10px 15px;
      align-items: center;
      margin-bottom: 15px;
  }

  .date-diff-result {
      background: #fff;
      border-radius: 8px;
      padding: 10px;
      border: 1px solid #ddd;
  }

  .dateInput_date_diff {
    height: 2.5em;
    width: 12.5em;
    border-radius: 2.5em;
    border: none;
    background-color: rgb(255, 255, 255);
    filter: drop-shadow(7px 7px 10px #00000059);
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(77, 77, 77);
    text-align: center;
    font-size: 14px;
    outline: 2px solid rgba(0, 0, 0, 0);
    transition: outline-offset 0.5s ease, outline-color 0.5s ease,
    height 0.5s ease, width 0.5s ease, filter 0.5s ease;
  }


.date-diff-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 15px;
    align-items: center;
    margin-bottom: 15px;
}

.datetime-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.copy-btn_date {
  height: 3.5em;
  width: 3.5em;
  border-radius: 0.5em;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: #3498db; /* blue */
  color: white;
  cursor: pointer;
  filter: drop-shadow(7px 7px 10px #00000059);
  transition: background-color 0.3s ease;
  display: none;
}
.copy-btn_date:hover {
  background: #005bb5;
}
.copied {
  background: #28a745 !important;
}

.smallCopyBtn {
    height: 3.5em;
    width: 3.5em;
    border-radius: 0.5em;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: #3498db; /* blue */
  color: white;
  cursor: pointer;
  filter: drop-shadow(7px 7px 10px #00000059);
  transition: background-color 0.3s ease;
}

.date-add-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 15px;
    align-items: center;
    margin-bottom: 15px;
}

.datetime-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-add-result p {
    display: flex;
    align-items: center;
    gap: 8px;
}
®

.date-add-result button {
    padding: 2px 6px;
    font-size: 14px;
}


.copy-btn_date_calculator {
  height: 3.5em;
  width: 3.5em;
  border-radius: 0.5em;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  filter: drop-shadow(7px 7px 10px #00000059);
  transition: background-color 0.3s ease;
}

.hidden { display: none !important; }

.add-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: 0.2s ease-in-out;
}

.field:hover {
    background: #f1f7ff;
    border-color: #4a90e2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.field label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 6px;
    font-weight: 600;
}

.field input {
    font-size: 1rem;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    text-align: center;
    transition: border 0.2s ease-in-out;
}

.field input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74,144,226,0.4);
}

.help-link {
    font-size: 0.9rem;
    margin-left: 10px;
    color: #4a90e2;
    text-decoration: none;
        position: relative;  /* 👈 this is required for tooltip to anchor */

}

.help-link:hover {
    text-decoration: underline;
}

.help-section {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #4a90e2;
    border-radius: 8px;
}

/* Tooltip */
.help-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%; /* place above the link */
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.help-link:hover::after {
  opacity: 1;
}