/* ========================================
   Quick Links Sidebar - Unified Design
   ======================================== */

/* Base Sidebar Container */
.sidebar-widget {
  background: white !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
  margin-bottom: 30px;
  position: sticky;
  top: 100px;
}

/* Sidebar Header - Gradient Style */
.sidebar-header,
.sidebar-widget .courses-bgcolor {
  background: linear-gradient(135deg, #910029, #1E4D8C) !important;
  padding: 20px !important;
  margin: 0 !important;
  color: white !important;
  border-radius: 0 !important;
}

.sidebar-header h3,
.sidebar-widget .courses-bgcolor h3 {
  color: white !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
}

/* List-based Sidebar (feedback.php, why-mit.php, etc.) */
.sidebar-list {
  padding: 0;
  margin: 0;
  list-style: none;
  background: white !important;
}

.sidebar-list li {
  background: white !important;
}

.sidebar-list a {
  display: flex;
  padding: 18px 25px;
  color: #555 !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  justify-content: space-between;
  align-items: center;
  background: white !important;
}

.sidebar-list a:hover {
  background: #f8f9fa !important;
  color: #910029 !important;
  padding-left: 25px;
}

.sidebar-list a::after {
  content: '\f054';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8rem;
  opacity: 0.5;
  color: #999 !important;
}

/* Table-based Sidebar (department pages) */
.sidebar-widget .event-right-wrapper {
  padding: 0 !important;
  background: white !important;
}

.sidebar-widget .table {
  margin: 0 !important;
  width: 100% !important;
  background: white !important;
  border: none !important;
}

.sidebar-widget .table tbody {
  display: block;
  background: white !important;
}

.sidebar-widget .table tr {
  display: block;
  background: white !important;
}

.sidebar-widget .table td {
  display: block;
  padding: 0 !important;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: white !important;
}

.sidebar-widget .table tr {
  border: none !important;
}

.sidebar-widget .table tbody {
  border: none !important;
}

.sidebar-widget .table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}


.sidebar-widget .table a {
  display: flex !important;
  padding: 18px 25px !important;
  color: #555 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  justify-content: space-between !important;
  align-items: center !important;
  background: white !important;
}

.sidebar-widget .table a:hover {
  background: #f8f9fa !important;
  color: #910029 !important;
  padding-left: 25px !important;
}

.sidebar-widget .table a::after {
  content: '\f054';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8rem;
  opacity: 0.5;
  color: #999 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .sidebar-widget {
    position: static;
  }
}