/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0077cc;
  color: #fff;
  padding: 15px;
}
header h1 { font-size: 18px; }
header button {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: -260px;
  top: 0;
  width: 225px;
  height: 100%;
  background: #0077cc;
  color: white;
  transition: left 0.3s ease;
  padding-top: 60px;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0,0,0,0.3);
}
.sidebar.active { left: 0; }
.sidebar nav ul { list-style: none; }
.sidebar nav ul li { margin: 15px 0; }
.sidebar nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.2s;
}
.sidebar nav ul li a:hover,
.sidebar nav ul li a.active { background: rgba(255,255,255,0.3); }
.close-btn {
  position: absolute; top: 10px; right: 15px; font-size: 22px;
  background: none; border: none; color: white; cursor: pointer;
}

/* Main content */
main {
  padding: 20px;
  flex: 1;
}

h2 {
  margin-bottom: 10px;
}

.note {
  background: #fff8e1;
  border-left: 4px solid #ff9800;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 15px;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  padding: 12px 15px;
  margin: 8px 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.checklist li strong { color: #d35400; }

/* Dark mode */
body.dark { background: #1e1e1e; color: #f0f0f0; }
body.dark header { background: #333; }
body.dark .sidebar { background: #222; }
body.dark .note { background: #2a2a2a; border-left-color: #ffa733; color: #ddd; }
body.dark .checklist li { background: #2a2a2a; border: 1px solid #555; color: #ddd; }
