/* style.css */

/* Base styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  transition: background-color 0.5s, color 0.5s;
}

.nav-bar {
  position: absolute;
  top: 10px;
  left: 10px;
}

.nav-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 15px;
}

.toggle-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
}

.toggle-buttons button {
  margin-left: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Light Mode */
.light-mode {
  background-color: #f4f4f4;
  color: #000;
}

.light-mode .nav-bar a {
  color: #000;
}

/* Dark Mode */
.dark-mode {
  background-color: #1a1a1a;
  color: #fff;
}

.dark-mode .nav-bar a {
  color: #fff;
}

/* Form & table tweaks */
input[type="text"], input[type="file"], textarea, select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form {
  background-color: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 2rem auto;
}

.dark-mode form {
  background-color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
}

th {
  background-color: #555;
  color: white;
}

.light-mode th {
  background-color: #ddd;
  color: #000;
}
