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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode {
  background-color: #121212;
  color: #eee;
}

a {
  text-decoration: none;
  color: #e50914;
}

ul {
  list-style: none;
  padding-left: 20px;
}

h2, h3 {
  margin-bottom: 10px;
  color: #e50914;
}

/* Header */
.header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e50914;
}

.buttons .btn {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: #e50914;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.toggle-dark {
  background: #444;
}

/* Layout */
.container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  padding: 2rem 1rem;
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}

.sidebar nav ul li {
  margin-bottom: 1rem;
}

.sidebar nav ul li a {
  color: #333;
  font-weight: 500;
  display: block;
  transition: all 0.2s ease;
}

.sidebar nav ul li a.active,
.sidebar nav ul li a:hover {
  color: #e50914;
}

.sidebar input {
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Content */
.content {
  flex: 1;
  padding: 2rem;
  overflow-x: hidden;
}

.scroll-section {
  margin-bottom: 3rem;
}

/* Dark Mode Styles */
.dark-mode .header {
  background: #181818;
}

.dark-mode .sidebar {
  background-color: #222;
  color: #ccc;
  border-color: #333;
}

.dark-mode .sidebar nav ul li a {
  color: #bbb;
}

.dark-mode .sidebar nav ul li a.active,
.dark-mode .sidebar nav ul li a:hover {
  color: #e50914;
}

.dark-mode .sidebar input {
  background-color: #333;
  color: #eee;
  border: 1px solid #555;
}

.dark-mode .content h2,
.dark-mode .content h3 {
  color: #ff4b4b;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .content {
    padding: 1rem;
  }
}
.print-btn {
  background-color: var(--primary-color, #e50914);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 1rem 0;
  float: right;
  transition: background-color 0.3s ease;
}

.print-btn:hover {
  background-color: #b20710;
}
footer {
  background-color: #f2f2f2;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
}
body.dark-mode footer {
  background-color: #000;
}