/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f2f5;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
}

/* Card style */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Headings */
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 28px;
}

/* Forms */
form input,
form textarea,
form select,
form button {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

/* Textarea */
form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */
form button {
  background: #3498db;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
form button:hover {
  background: #2980b9;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Flash messages */
ul.flashes {
  list-style: none;
  margin-bottom: 15px;
}
ul.flashes li {
  background: #2ecc71;
  color: white;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 5px;
}

/* Tables for dashboard */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
th {
  background-color: #3498db;
  color: white;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  form input,
  form textarea,
  form select,
  form button {
    font-size: 14px;
    padding: 10px;
  }
  h2 {
    font-size: 24px;
  }
}
