/* Styles for Water Reminder App with glassmorphism and responsive layout */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
               Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: url('../assets/images/background-blur.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.app-container {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  max-width: 350px;
  text-align: center;
}

h1 {
  margin-bottom: 1rem;
  color: #333;
}

.progress-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

.progress-ring__circle {
  transition: 0.35s stroke-dashoffset;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #333;
}

.glass-btn {
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: background 0.3s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.settings-btn {
  margin-top: 1rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 300px;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  text-align: left;
}

.modal-content input,
.modal-content select {
  margin-top: 0.25rem;
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
}

.reset-btn {
  background: rgba(255, 0, 0, 0.4);
}

.close-btn {
  align-self: flex-end;
}