/* Base styling and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #fffaf5;
  color: #222;
  line-height: 1.6;
}

/* Header & Navigation Styling */
header {
  background: #fff;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  width: 60px;
  margin-right: 10px;
}

header h1 {
  font-size: 20px;
  font-weight: 700;
  color: #e4741f;
}

header h1 span {
  color: #333;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar a:hover {
  color: #e4741f;
}

.btn {
  background: #e4741f;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 10px;
}

.btn:hover {
  filter: brightness(.95);
}

/* Dashboard Styling */
.dashboard {
  max-width: 980px;
  margin: 50px auto;
  padding: 0 20px;
}

.welcome {
  margin-bottom: 30px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  color: #e4741f;
}

h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #e4741f;
}

/* Routine Table Styling */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1e0cf;
  text-align: left;
}

.table th {
  background: #fff1e0;
  font-weight: 600;
  color: #7a3e00;
}

.table td {
  background: #fff;
  color: #333;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #fff1e0;
  color: #7a3e00;
}

footer {
  text-align: center;
  padding: 28px;
  margin-top: 80px;
  background: #fef4ea;
  color: #555;
  font-size: 14px;
  border-top: 1px solid #f0d1b5;
}

/* Form and input styles */
.form-card {
  max-width: 600px;
  margin: 50px auto;
  padding: 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f0d1b5;
}

.form-row button {
  background: #e4741f;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
}
