/* Navigation hover effects */
.index-nav {
  position: relative;
  transition: color 0.3s ease;
}

.index-nav:hover {
  color: #FFD700 !important; /* Gold hover color */
  text-decoration: none;
}

/* Animated underline effect */
.index-nav::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #FFD700;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.index-nav:hover::after {
  width: 100%;
}

/* Map styles */
#map {
  height: 50vh;
  width: 100%;
  border-radius: 8px;
  margin: auto;
}

/* Logo & header */
.logo {
  font-weight: bold;
  font-size: 1.75rem;
}

header {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Products section */
#products h4,
#products p {
  text-align: center;
}

/* Primary background */
.bg-primary {
  background-color: rgb(39 105 203) !important;
}

/* Carousel */
.carousel-img {
  height: 300px;
  object-fit: cover;
}

/* Login box */
.login-box {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  margin: auto;
  margin-top: 5%;
}

.logo_login {
  text-align: center;
}

.logo_login img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
}

body {
  background-color: #f8f9fa;
}

/* Navbar */
.navbar {
  position:fixed;
  width:100%;
  height:50px;
  background-color: #007bff;
  padding: 0;
  z-index:20;
}

.navbar h3 {
    color: white; 
    width: 260px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 50px;
  height: 100%;
  width: 260px;
  background: #fff;
  padding-top: 2rem;
  border-right: 1px solid #e5e5e5;
  z-index: 20;
  transition: margin-left 0.3s ease;
}

.sidebar a {
  padding: 15px 25px;
  display: block;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.sidebar a:hover {
  background-color: #f1f1f1;
  color: #007bff;
}

.sidebar a.active {
  background-color: #007bff;
  color: white;
}

.sidebar.collapsed {
  margin-left: -260px;
}

/* Main content */
.main-content {
  padding: 50px;
  transition: margin-left 0.3s ease;
}

.main-content.full-width {
  margin-left: 0;
}

/* Cards */
.card i {
  font-size: 1.8rem;
}

.summary-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  text-align: center;
}

.summary-card h5 {
  font-size: 1rem;
  color: #888;
}

.summary-card h3 {
  font-weight: 600;
  color: #333;
}

.chart-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  height: 300px !important;
  max-height: 300px;
}
