* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  padding-top: 70px;
}

/* Navigation */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 58px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
}

.topnav .brand {
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.topnav .links a {
  margin-left: 14px;
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.topnav .links a:hover {
  text-decoration: underline;
}

/* Notifications */
.notification {
  max-width: 900px;
  margin: 20px auto;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  font-size: 14px;
}

.notification.announcement {
  background: #dbeafe;
  border-left: 6px solid #2563eb;
  color: #1e3a8a;
}

.notification.alert {
  background: #fee2e2;
  border-left: 6px solid #dc2626;
  color: #7f1d1d;
}

/* Card */
.container {
  background: #ffffff;
  width: 420px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

h2, h3 {
  text-align: center;
  color: #111827;
}

/* Forms */
input, select {
  width: 100%;
  padding: 11px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

input[type="submit"] {
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

input[type="submit"]:hover {
  background: #1e40af;
}

/* Filter */
.filter {
  text-align: center;
  margin: 10px 0;
}

.filter a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

/* Tasks */
.task {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.task.high { border-left: 5px solid #dc2626; }
.task.medium { border-left: 5px solid #f59e0b; }
.task.low { border-left: 5px solid #16a34a; }

.task.completed {
  border-left: 5px solid #16a34a;
  opacity: 0.9;
}

/* Badges */
.badge {
  background: #dc2626;
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 6px;
  margin-left: 6px;
  font-weight: 600;
}

.badge.completed {
  background: #16a34a;
}

.badge.late {
  background: #111827;
}

/* Task links */
.task a {
  color: #2563eb;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.task a:hover {
  text-decoration: underline;
}
