body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
  padding: 30px;
  max-width: 900px;
  margin: auto;
  color: #2c3e50;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.app-header h1 {
  margin: 0;
}

.app-header .muted {
  margin-top: 4px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding-right: 20px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

input,
select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  margin-top: 15px;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: #43a047;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #388e3c;
}

.logout {
  width: auto;
  padding: 10px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
  border: 1px solid #c8e6c9;
}

.logout:hover {
  background: #c8e6c9;
}

.activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.activity-actions {
  display: flex;
  gap: 8px;
}

.edit-btn {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
  padding: 6px 10px;
  font-size: 13px;
}

.edit-btn:hover {
  background: #bbdefb;
}

.delete-btn {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
  padding: 6px 10px;
  font-size: 13px;
}

.delete-btn:hover {
  background: #ffcdd2;
}

.small {
  font-size: 13px;
}

.total {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: right;
}

.muted {
  color: #777;
  font-size: 14px;
}

canvas {
  margin-top: 20px;
  width: 100%;
}

/* ============================= */
/* Auth Pages Styling */
/* ============================= */

.auth-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
}

.auth-card {
  background: white;
  padding: 35px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.auth-card h2 {
  margin-bottom: 8px;
}

.auth-card form {
  margin-top: 25px;
  text-align: left;
}

.auth-card input {
  margin-bottom: 15px;
}

.auth-card button {
  margin-top: 10px;
}

.auth-switch {
  margin-top: 20px;
  font-size: 14px;
}

.auth-switch a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}