 /* Base Styles */
 body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background-color: #f8f9fa;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header & Titles */
h2, h3 {
  color: #212529;
  margin-bottom: 1.5rem;
}

/* Cards */
.card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: none;
}

/* Buttons */
.btn {
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.btn-primary {
  background-color: #4361ee;
  border-color: #4361ee;
}

.btn-primary:hover {
  background-color: #3a56d4;
  transform: translateY(-2px);
}

.btn-logout {
  background-color: #f72585;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.btn-logout:hover {
  background-color: #d3166d;
  transform: translateY(-2px);
}

/* Toggle Switch */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Status Text */
#toggleState {
  font-style: italic;
  background-color: red;
  padding: 0.75rem;
  border-radius: 6px;
  margin-top: 1rem;
}

/* Forms */
.form-control, .form-select {
  padding: 0.75rem;
  border-radius: 8px;
}

/* Hidden Elements */
.hidden {
  display: none;
}

/* Footer */
footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  color: #4361ee;
  font-size: 0.9rem;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .container,
body.dark-mode .card {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark-mode h2,
body.dark-mode h3 {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
      padding: 1.5rem;
      margin: 1rem;
  }
}
p{
  color: #f8f9fa;
}