/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #f4f7f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Container wrapper */
.container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Headings */
h1, h2, h3 {
  margin-bottom: 20px;
  color: #2c3e50;
}

/* Form elements */
input[type="password"],
input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* Buttons */
button {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin: 6px 0;
  width: 100%;
  transition: background 0.3s ease;
}

button:hover {
  background: #2980b9;
}

/* Menu buttons spacing */
.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

/* Error/success messages */
#error,
#message {
  margin-top: 15px;
  color: #e74c3c;
}

.success {
  color: #27ae60;
}

/* Lists and tables */
ul {
  list-style-type: none;
  margin-top: 20px;
  text-align: left;
}

li {
  background: #ecf0f1;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 6px;
}

/* Responsive design */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  button {
    font-size: 15px;
    padding: 10px;
  }
}
