/* style.css */
:root {
  --primary-color: #3498db;
  --secondary-color: #2980b9;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --gray-color: #95a5a6;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 0;
  margin-bottom: 30px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--dark-color);
  margin-top: 0;
}

form {
  margin: 20px 0;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

form input[type='text'],
form input[type='email'],
form input[type='number'],
form input[type='tel'],
form input[type='password'],
form input[type='date'],
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

form input[type='text']:focus,
form input[type='email']:focus,
form input[type='password']:focus,
form input[type='date']:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

button,
.btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
}

button:hover,
.btn:hover {
  background-color: var(--secondary-color);
}

.btn-success {
  background-color: var(--success-color);
}

.btn-danger {
  background-color: var(--danger-color);
}

.alert {
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.stat-card p {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.quick-links a {
  display: block;
  background: white;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  color: var(--dark-color);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quick-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 15px;
    justify-content: center;
  }
}
