/* Shared styles for all pages */
body {
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #2c3e50;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar .logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.sidebar .nav-link {
  color: #fff;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.sidebar .nav-link:hover {
  background-color: #34495e;
}

.sidebar .nav-link.active {
  background-color: #007bff;
}

.main-content {
  margin-left: 250px;
  padding: 20px;
}

.dashboard-header {
  background-color: #fff;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-header {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

.stock-alert {
  color: #dc3545;
  font-weight: bold;
}

.profile-section {
  text-align: center;
  margin-bottom: 20px;
}

.profile-section img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.profile-section input[type="file"] {
  display: none;
}

.profile-section .upload-btn {
  background-color: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.profile-section .upload-btn:hover {
  background-color: #0056b3;
}