* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: linear-gradient(180deg,#f4f7f2 0%, #eef4e7 50%, #f8faf7 100%); color: #1f2933; }
.topbar { background: linear-gradient(90deg,#0f766e,#16a34a); color: #fff; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 6px 18px rgba(0,0,0,0.12); position: sticky; top:0; z-index: 9;}
.brand { font-weight: 800; letter-spacing: 0.3px; font-size: 18px; text-transform: uppercase; }
.nav a { color: #fff; margin-left: 14px; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 6px; transition: background 0.2s ease; }
.nav a:hover { background: rgba(255,255,255,0.14); }
.container { padding: 28px; max-width: 1200px; margin: auto; }
.card { background: #fff; border: 1px solid #e3e6eb; border-radius: 16px; padding: 22px; margin-bottom: 18px; box-shadow: 0 16px 38px rgba(15,23,42,0.08); }
.card h2 { margin-top: 0; display: flex; align-items: center; gap: 8px; color: #0f766e; }
form label { display: block; margin-top: 10px; font-weight: 700; color: #1f2933; }
form input, form select { width: 100%; padding: 11px 12px; margin-top: 6px; border: 1px solid #cbd2d9; border-radius: 10px; transition: border 0.2s ease, box-shadow 0.2s ease; }
form input:focus, form select:focus { border-color: #16a34a; outline: none; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
button, .btn { background: linear-gradient(90deg,#0f766e,#16a34a); color: #fff; padding: 11px 16px; border: none; border-radius: 10px; cursor: pointer; font-weight: 700; box-shadow: 0 8px 16px rgba(22,163,74,0.25); transition: transform 0.1s ease, box-shadow 0.2s ease; }
button:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(22,163,74,0.3); }
button.secondary, .btn.secondary { background: #f5f7fb; color: #102a43; box-shadow: none; border: 1px solid #d9e2ec; }
button.danger, .btn.danger { background: linear-gradient(90deg,#d64545,#f56565); box-shadow: 0 8px 16px rgba(214,69,69,0.25); }
.table { width: 100%; border-collapse: collapse; margin-top: 12px; border-radius: 10px; overflow: hidden; }
.table th, .table td { border: 1px solid #e3e6eb; padding: 11px; text-align: left; }
.table th { background: #f3f6fb; font-weight: 700; }
.table tbody tr:nth-child(even) { background: #f9fbf7; }
.table tbody tr:hover { background: #eef6ed; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer { text-align: center; padding: 16px; color: #52606d; }
.message { padding: 12px; border-radius: 10px; margin-bottom: 12px; }
.message.success { background: #e0f5e9; color: #0a6c3a; border: 1px solid #95d5b2; }
.message.error { background: #ffe8e8; color: #9b1c1c; border: 1px solid #f0b8b8; }
.table input { width: 100%; padding: 8px 10px; border: 1px solid #d9e2ec; border-radius: 8px; }
.login-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#f7fee7,#ecfccb); padding: 24px; }
.login-card { max-width: 420px; width: 100%; background: #fff; padding: 28px; border-radius: 16px; box-shadow: 0 22px 48px rgba(15,118,110,0.12); border: 1px solid #e2e8f0; }
.login-card h2 { margin-top: 0; color: #0f766e; }
.login-card p.helper { color: #52606d; margin: 6px 0 12px; }
@media (max-width: 640px) {
  .container { padding: 18px; }
  .flex { flex-direction: column; align-items: stretch; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav a { margin-left: 0; margin-right: 8px; }
}

