/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body fills screen */
body {
  font-family: "Trebuchet MS", sans-serif;
  background: #f0f8ff;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container fills full width and height */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}

/* Heading */
h1 {
  color: #0078d7;
  margin-bottom: 25px;
  font-size: 2rem;   /* larger heading */
  text-align: center;
  width: 100%;
}

/* Buttons */
button {
  background: #87cefa;
  color: #fff;
  border: none;
  padding: 18px;     /* bigger tap target */
  font-size: 1.2rem; /* larger text */
  cursor: pointer;
  border-radius: 12px;
  margin: 12px 0;
  width: 100%;       /* full width buttons */
  transition: all 0.3s ease;
}

button:hover {
  background: #00bfff;
  transform: scale(1.02);
}

/* Alarm section */
.alarm {
  margin-top: 25px;
  width: 100%;
}

input[type="time"] {
  padding: 14px;
  font-size: 1.2rem; /* larger input text */
  border: 2px solid #87cefa;
  border-radius: 8px;
  background: #f9f9ff;
  color: #333;
  width: 100%;       /* full width input */
  margin-bottom: 12px;
}

/* Status text */
#status,
#connectionStatus {
  margin-top: 20px;
  font-size: 1.1rem; /* larger status text */
  text-align: center;
  width: 100%;
}

/* 📱 Mobile adjustments */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem; /* even bigger on small screens */
  }
  button {
    font-size: 1.3rem;
    padding: 20px;
  }
  input[type="time"] {
    font-size: 1.3rem;
    padding: 16px;
  }
  #status,
  #connectionStatus {
    font-size: 1.2rem;
  }
}
