/* Sidebar (used in overview.php & agent.php) */
.sidebar {
  height: 100vh;
  width: 240px;
  position: fixed;
  top: 0; left: 0;
  background: #1f2937;
  padding: 20px;
  color: #fff;
}
.sidebar h2 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #facc15;
}
.sidebar a {
  display: block;
  color: #d1d5db;
  padding: 12px;
  margin-bottom: 6px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}
.sidebar a:hover,
.sidebar a.active {
  background: #374151;
  color: #facc15;
}

/* Content (sidebar layout spacing) */
.content {
  margin-left: 260px;
  padding: 25px;
  max-width: calc(100% - 280px);
}

/* Login Page */
.split-container {
  display: flex;
  height: 100vh;
}
.left-side {
  flex: 1;
  background: url('Images/car.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  color: #fff;
}
.left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(56,75,100,0.7));
  z-index: 1;
}
.overlay-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}
.overlay-content h1 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}
.overlay-content p {
  margin-top: 20px;
  font-size: 19px;
  opacity: 0.9;
  line-height: 1.6;
}
.right-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  padding: 20px;
}
.login-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.login-card h2 {
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 24px;
  color: #333;
}
.form-control {
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
}
.password-wrapper { position: relative; }
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #666;
}
.login-card p {
  margin-top: 15px;
  font-size: 14px;
}
.login-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}
.login-card a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .split-container { flex-direction: column; height: auto; }
  .left-side {
    min-height: 250px;
    padding: 30px 20px;
    text-align: center;
  }
  .overlay-content { text-align: center; }
  .overlay-content h1 { font-size: 20px; }
  .overlay-content p { font-size: 14px; }
  .right-side { padding: 40px 20px; }
}
