@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
* {
  color: #1c355e;
  font-family: "Jost", serif;
}
table{
  overflow-x: auto !important;
}
/* Show dropdown on hover */
#queryMenu:hover + #querySubmenu,
#querySubmenu:hover {
  display: block !important;
}

/* Hide dropdown by default */
#querySubmenu {
  display: none;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.wrapper {
  display: flex;
  align-items: stretch;
}

#sidebar {
  width: 80px;
  height: 100vh;
  transition: all 0.3s;
  position: fixed;
  overflow: hidden;
  white-space: nowrap;
  background-color: #1c355e25;
}

#sidebar:hover {
  width: 250px;
}

#sidebar .sidebar-header {
  padding: 20px;
  text-align: center;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li {
  list-style: none;
  padding: 0 10px;
}

#sidebar ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: white;
  padding: 20px;
  transition: all 0.3s;
  border-radius: 10px;
}

#sidebar ul li a i {
  font-size: 20px;
  margin-right: 0;
  transition: margin-right 0.3s;
}

#sidebar:hover ul li a i {
  margin-right: 10px;
}

#sidebar ul li a span {
  display: none;
  transition: opacity 0.3s;
}

#sidebar:hover ul li a span {
  display: inline;
  opacity: 1;
}

#sidebar ul li a:hover {
  background: #ffffff;
  color: #1c355e;
  border-radius: 5px;
}

#sidebar ul li a:hover i {
  color: #1c355e;
}

#content,#contentFed {
  margin-left: 80px;
  width: calc(100% - 80px);
  padding: 20px;
  transition: margin-left 0.3s;
}

#sidebar:hover ~ #content {
  margin-left: 250px;
  width: calc(100% - 250px);
}

.navbar {
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.btn-primary {
  background-color: #1c355e;
  border: none;
}

.card {
  transition: 0.3s;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  #sidebar {
    width: 0;
  }

  #sidebar:hover {
    width: 250px;
  }

  #content {
    margin-left: 0;
    width: 100%;
  }

  #sidebar:hover ~ #content {
    margin-left: 250px;
    width: calc(100% - 250px);
  }
}

.sidebar-header {
  text-align: center;
  padding: 20px;
  position: relative;
}

.sidebar-header .logo-small {
  width: 50px;
  /* Adjust as needed */
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.sidebar-header .logo-full {
  width: 200px;
  /* Adjust as needed */
  display: none;
  transition: opacity 0.3s ease-in-out;
}

/* Show full logo on hover */
#sidebar:hover .logo-small {
  display: none;
}

#sidebar:hover .logo-full {
  display: block;
}

.hero-section {
  /* background: linear-gradient(rgba(0,0,0,0.7), url('../img/dashboard-bg.jpg')) ; */
  color: #fff !important;
  background: url(../img/Office_workspace.jpg);
  padding: 150px 0;
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}
.display-4,
.lead {
  color: #fff;
}
.nav-link {
  color: #1c355e !important;
}
.text-primary{
  color: #1c355e !important;

}
.card-body {
  text-align: left;
  overflow-x: auto ;
}
.department-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.department-card .card-body {
  padding: 0.8rem;
}

.department-card .icon-container {
  background-color: #e9f0f7;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.department-card .department-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.department-card .department-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1c355e;
  margin-bottom: 0.25rem;
}

.department-card .department-subtitle {
  font-size: 0.8rem;
  color: #6c757d;
}

.department-card .stats-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.department-card .total-queries {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1c355e;
}

.department-card .avg-time {
  text-align: right;
}

.department-card .avg-time-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.department-card .avg-time-value {
  font-weight: 600;
}

.department-card .progress {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.department-card .progress-bar {
  border-radius: 3px;
}

.department-card .status-text {
  text-align: center;
  font-size: 0.75rem;
  color: #6c757d;
}

.department-card .status-counts {
  display: flex;
  justify-content: space-between;
}

.department-card .status-count {
  text-align: center;
}

.department-card .status-number {
  font-weight: 600;
}

.department-card .status-number.pending {
  color: #dc3545;
}

.department-card .status-number.completed {
  color: #198754;
}

.department-card .status-label {
  font-size: 0.75rem;
  color: #6c757d;
}
.fs-6{
  color: #1c355e !important;

}
.bgg {
  background: #1c355e23 !important;
  color: #1c355e !important;
}
.bgg:hover {
  background: #fff !important;
  color: #1c355e !important;
}
.department-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Complaint List */
.complaint-list {
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.complaint-section {
  background: url("complaint-bg.jpg") center/cover;
  min-height: 100vh;
  padding: 80px 0;
}

.complaint-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}


.track-section {
  background: url("track-bg.jpg") center/cover;
  min-height: 100vh;
  padding: 80px 0;
}

.status-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.status-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: #0d6efd;
}

.status-badge {
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 8px;
}
.card {
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.table thead {
  color: white;
}
.table tbody tr:hover {
  background-color: #f1f1f1;
  transition: 0.3s;
}
.status-badge {
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: bold;
}
.status-pending {
  background-color: #ffc107 !important;
  color: #1c355e !important;
}
.status-resolved {
  background-color: #28a745 !important;
  color: white !important;
}
.status-inprogress {
  background-color: #17a2b8 !important;
  color: white !important;
}
.navbar-brand img {
  width: 200px;
}
.table,
.table th,
.table td {
  font-size: 14px;
  color: #1c355e !important;
  border-width: 0px !important;

}
.container h2 {
  color: #1c355e !important;
}

.bg-b {
  background-color: #143a803f !important;
}
/* Enable dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block !important;
  margin-top: 0;
}

/* Style the dropdown menu */
.dropdown-menu {
  border-radius: 8px;
  border: 1px solid #ddd;
}
/* Dropdown Styling */
.status-select {
  padding: 8px;
  border-radius: 5px;
  font-size: 12px !important;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* Hover & Focus Effects */
.status-select:hover,
.status-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* Dropdown Options */
.status-select option {
  padding: 10px;
  font-size: 14px;
}

/* Different Colors for Status Options */
.status-select option[value="Pending"] {
  background-color: #f8d7da; /* Light Red */
  color: #721c24;
}

.status-select option[value="In Progress"] {
  background-color: #fff3cd; /* Light Yellow */
  color: #856404;
}

.status-select option[value="Completed"] {
  background-color: #d4edda; /* Light Green */
  color: #155724;
}

/* Remove background color highlight in some browsers */
.status-select option:checked {
  background-color: inherit !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .status-select {
    font-size: 12px;
    padding: 6px;
  }
}
/* #complaintsTable {
        table-layout: fixed;
        width: 100% ;
        overflow-x: auto;
        display: block;
        font-size: 10px !important;
    }
    #complaintsTable th, #complaintsTable td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
    } */
.card-1{
  background-color: #e2efff !important;
  border: #6ba0e6 1px solid !important;
}
.card-2{
  background-color: #fff5d0 !important;
  border: #dbb734 1px solid !important;
}
.card-3{
  background-color: #e3fcec !important;
  border: #28da69 1px solid !important;
}
.card-4{
  background-color: #f5edff !important;
  border: #a561f8 1px solid !important;
}
.card-5{
  background-color: #ffe4e0 !important;
  border: #f86161 1px solid !important;
}
.increase{
  background-color: #dcfce7;
  color: #4aba74 !important;
  border: #28da6962 1px solid !important;
  border-radius: 20px;
  padding: 3px;
}
.increase i {
  color: #4aba74 !important;
}
.decrease i {
  color: #dc3545 !important;
}
.decrease{
  background-color: #fee2e2;
  color: #dc3545 !important;
  border: #dc3545 1px solid !important;
  border-radius: 20px;
  padding:3px;
}
/* Add cursor pointer to clickable elements */
.status-number, .total-queries {
  cursor: pointer;
  transition: all 0.2s ease;
}
.status-container span {
  cursor: pointer;
  transition: all 0.2s ease;
}
.status-container span:hover {
  transform: scale(1.05);
  text-decoration: underline;
}

/* Hover effects */
.status-number:hover, .total-queries:hover {
  transform: scale(1.05);
}

/* Color for pending and completed */
.status-number.pending {
  color: #dc3545; /* Bootstrap danger color */
}

.status-number.completed {
  color: #28a745; /* Bootstrap success color */
}

.total-queries {
  color: #007bff; /* Bootstrap primary color */
  font-weight: bold;
}
.bg-success{
  color: #166556 !important;
  background-color: #dcfce7 !important;
  /* color: white !important; */
}
.bg-danger{
  color: #a0400e !important;
  background-color: #fef3c7 !important;
}
.badge.bg-danger {
  background-color: #dc3545 !important;
  color: white !important;
 
}
/* Status badge colors */
.bg-warning {
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

.bg-danger {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}

/* Hover effects for better interactivity */
.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}
.status-changed {
  background-color: #e6ffe6;
  transition: background-color 0.5s ease;
  box-shadow: 0 0 5px rgba(0,255,0,0.5);
}
/* Style for clickable comment cells */
td[data-comment], td[data-hod-comment] {
  color: #0d6efd;
  text-decoration: underline;
}
td[data-comment]:hover, td[data-hod-comment]:hover {
  color: #0a58ca;
}