:root {
  --primary: #3498db;
  --primary-hover: #2980b9;
  --background: #f0f2f5;
  --white: #ffffff;
  --text: #333;
  --muted: #888;
  --danger: #e74c3c;
  --success: #2ecc71;
  --warning: #f1c40f;
  --info: #1abc9c;
  --radius: 12px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

header, footer {
  background: var(--primary-hover);
  color: var(--white);
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

main {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
}

h1, h2, h3, h4 {
  color: var(--primary-hover);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-hover);
}

.form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 2rem auto;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.9rem;
  margin: 0.6rem 0;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

form button:hover {
  background: var(--primary-hover);
}

.card {
  background: var(--white);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th, .table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  background: var(--primary);
  color: var(--white);
}

.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-weight: 500;
}

.alert.success {
  background: var(--success);
  color: var(--white);
}

.alert.error {
  background: var(--danger);
  color: var(--white);
}

.alert.warning {
  background: var(--warning);
  color: #000;
}

.alert.info {
  background: var(--info);
  color: var(--white);
}

.status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
}

.status.pending { background: #f39c12; }
.status.processing { background: #3498db; }
.status.done { background: #2ecc71; }
.status.delivered { background: #8e44ad; }

footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  header, footer {
    padding: 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
