/* TIMER — FOCUS TIME THEME */

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e0f7fa, #b2ebf2);
  color: #333;
  padding: 2rem;
}

h1 {
  text-align: center;
  color: #00796b;
  font-weight: 600;
  margin-bottom: 2rem;
}

.timer-container {
  display: grid;
  place-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  background: #ffffff;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: auto;
}

.timer-container input {
  width: 80px;
  padding: 1rem;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 8px;
  border: 2px solid #00796b;
  background-color: #e0f7fa;
  color: #00796b;
  box-sizing: border-box;
}

#countdownDisplay {
  font-size: 3rem;
  font-weight: bold;
  color: #00796b;
  margin-top: 1rem;
}

button {
  padding: 0.7rem 1.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 121, 107, 0.3);
}

button:hover {
  background-color: #004d40;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

/* Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  font-size: 1.5rem;
  color: #00796b;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hidden {
  display: none;
}

.home-button {
  display: block;
  margin: 2rem auto;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  background-color: #00796b;
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-button:hover {
  background-color: #004d40;
}
