/* Navbar Css */


  .custom-navbar {
    background: linear-gradient(90deg, #2e7d32, #4fc3f7) !important;
    color: white;
  }
  
  .navbar-logo {
    height: 40px;
  }
  
  .logo-text {
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
  }
  
  .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px;
    transition: 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
  }
  
  .dropdown-menu {
   background: linear-gradient(90deg, #2e7d32, #4fc3f7) !important;
  }
  
  .dropdown-item {
    color: white;
  }
  
  .dropdown-item:hover {
    color: aqua;
    background-color: #2e7d32;
  }

  /* Make hamburger icon white */
.navbar-toggler {
  color: white !important;
  border-color: white; 
}

.navbar-toggler-icon {
  background-image: url("/frontend/public/media/ImageAnekant/burger-menu-svgrepo-com.svg");
}

.logout-btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.logout-btn:hover {
    background-color: white;
    color: #0f2027;
}

/* Flexbox layout for sticky footer */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
}

.main-content {
  flex: 1; /* Makes this section take available space */
}

  /* Footer */
  .footer-single-color {
    background: linear-gradient(90deg, #2e7d32, #4fc3f7) !important;
    font-family: 'Segoe UI', sans-serif;
  }
  
  /* Scroll to Top Button */
  .scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #ffc107;
    color: #003366;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }
  
  .scroll-to-top-btn:hover {
    background-color: #ffda44;
  }

    /* CogenDashboard Css */
  .factory-card {
    border: none;
    border-radius: 16px;
    background: #f7f9fc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
  }
  
  .factory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #eaf2ff;
  }
  
  .factory-card .card-title {
    font-size: 1.25rem;
    color: #264653;
    font-weight: 600;
  }
  
  .factory-count {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2a9d8f;
  }
  
  .card-text {
    font-size: 0.95rem;
    color: #6c757d;
  }
  
  @media (max-width: 768px) {
    .factory-card {
      margin-bottom: 15px;
    }
  
    .factory-count {
      font-size: 2rem;
    }
  }

  /* Powerplantlisting */

.card {
  border-radius: 15px;
  border-left: 4px solid #D84D10;
  transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1.25rem;
  color: #337Ab7 !important;
}

.plant-link{
  text-decoration: none;
}

.plantdetails{
  font-size: 1.05rem !important;
  color: #212529;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pagination-btn {
  background-color: white;
  border: 1px solid #007bff;
  color: #007bff;
  padding: 8px 14px;
  margin: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #007bff;
  color: white;
}

.pagination-btn:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.pagination-btn.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

/* BreadCrumb */
.breadcrumb-wrapper {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #fff;
}

.breadcrumb-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.custom-breadcrumb {
  background: transparent;
  padding-left: 0;
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: #000;
  padding: 0 0.5rem;
}

.breadcrumb-link {
  color: #000;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: #ce1626;
  text-decoration: underline;
}
/* BreadCrumb End */
  /* Classified Page */
  .classified-card {
    background: linear-gradient(135deg, #ffffff, #e6f0ff);
    border: 1px solid #dce3ea;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .classified-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .classified-link {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .classified-link:hover {
    color: #0056b3;
  }

  /* Cogen Dashboard */
  .dashboard-title {
    font-weight: bold;
    color: #333;
}

.dashboard-card {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    background: #f8f9fa;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #e9ecef;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
}

.dashboard-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.2rem;
    }

    .dashboard-card {
        padding: 1rem;
    }
}

.officials-table th,
.officials-table td {
    vertical-align: middle;
    font-size: 0.95rem;
}

.officials-table th {
    background-color: #f8f9fa;
}

.officials-table tbody tr:hover {
    background-color: #f1f1f1;
}

.officials-table i {
    font-size: 1.2rem;
    cursor: pointer;
}

.officials-table i:hover {
    color: #0056b3;
}

@media (max-width: 576px) {
    .officials-table th,
    .officials-table td {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}
.technical-table th {
    width: 35%;
    background-color: #f8f9fa;
    vertical-align: middle;
    font-weight: bold;
}

.technical-table td {
    vertical-align: middle;
}

.technical-table i {
    font-size: 1.2rem;
    cursor: pointer;
}

.technical-table i:hover {
    color: #0056b3;
}

@media (max-width: 576px) {
    .technical-table th,
    .technical-table td {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}

.performance-table th,
.performance-table td {
    vertical-align: middle;
    text-align: center;
}

.performance-table i {
    font-size: 1.2rem;
    cursor: pointer;
}

.performance-table i:hover {
    color: #0056b3;
}

@media (max-width: 576px) {
    .performance-table th,
    .performance-table td {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}

.banner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.banner-image-wrapper {
  flex: 0 0 70%;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid #eaeaea;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}
.banner-actions {
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
}

.pagination-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
}

.pagination-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.img-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.img-fluid {
  object-fit: contain;
  max-width: 100%;
}

        .custom-navbar {
          background-color: #2E7D32; /* Deep Green for Renewable Energy */
          transition: all 0.3s ease;
        }
        .navbar-logo {
          height: 50px;
          width: auto;
        }
        .nav-link {
          color: #fff !important;
          font-weight: 500;
          margin-right: 10px;
          transition: color 0.3s ease;
        }
        .nav-link:hover,
        .dropdown-item:hover {
          color: #C8E6C9 !important; /* Light green hover */
        }
        .dropdown-menu {
          border-radius: 10px;
          border: none;
          box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
        }
        .dropdown-item {
          color: #333;
        }
        .admin-btn {
          background-color: #43A047; /* Bright Green */
          color: white;
          font-weight: 600;
          border: none;
          border-radius: 6px;
          padding: 6px 16px;
        }
        .admin-btn:hover, .admin-btn:focus {
          background-color: #388E3C;
          color: #fff;
        }
        @media (max-width: 991px) {
          .navbar-nav .dropdown-menu {
            position: static;
            float: none;
          }
        }
      