/* Custom Responsive Enhancements for M. R. Bangur Hospital Portal */

:root {
  --primary-saffron: #FF9933;
  --secondary-saffron: #F97316;
  --text-saffron: #EA580C;
  --light-saffron: #FFF7ED;
  --dark-title: #0F172A;
}

/* ==========================================================================
   Universal Responsive Resets & Base Foundations
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  background-color: #fafafa;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Responsive media assets */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}

table {
  max-width: 100%;
}

/* Fix for slick dots and buttons */
.slick-dots li button:before {
  display: none !important;
}

/* ==========================================================================
   Header & Utility Bar Responsiveness
   ========================================================================== */
.top_utility_bar {
  color: #ffffff;
  background-color: #1a1a1a;
  position: relative;
  z-index: 40;
}

@media (max-width: 640px) {
  .top_utility_bar {
    padding: 6px 0;
  }
  .top_utility_bar .flex.justify-between {
    justify-content: center !important;
    text-align: center;
  }
  .top_utility_bar .flex.items-center.gap-4 {
    gap: 8px !important;
    font-size: 11px;
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   Header Logo & Branding Typography (Cross-Browser Uniformity: Chrome & Safari)
   ========================================================================== */
.header_logo {
  padding: 12px 0 !important;
  background-color: #ffffff !important;
}

.header_logo .logo_sec {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: auto !important;
  text-align: left !important;
  text-decoration: none !important;
}

.header_logo .logo_sec img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.header_logo h1 {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #FF9933 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em !important;
}

.header_logo p {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  letter-spacing: 0.01em !important;
}

.header_logo .helpline_block {
  text-align: right !important;
  flex-shrink: 0 !important;
}

.header_logo .helpline_block .helpline_label {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
}

.header_logo .helpline_block .helpline_number {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #FF9933 !important;
  line-height: 1.2 !important;
}

.header_logo .helpline_block .helpline_email {
  font-size: 11px !important;
  color: #475569 !important;
  line-height: 1.2 !important;
}

@media (min-width: 1024px) and (max-width: 1320px) {
  .header_logo {
    padding: 10px 0 !important;
  }
  .header_logo .logo_sec img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }
  .header_logo h1 {
    font-size: 18px !important;
  }
  .header_logo p {
    font-size: 11.5px !important;
  }
  .header_logo .helpline_block .helpline_number {
    font-size: 16.5px !important;
  }
}

@media (max-width: 767px) {
  .header_logo {
    padding: 8px 0 !important;
  }
  .header_logo .logo_sec {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .header_logo .logo_sec img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }
  .header_logo h1 {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }
  .header_logo p {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 480px) {
  .header_logo .logo_sec img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }
  .header_logo h1 {
    font-size: 13.5px !important;
  }
  .header_logo p {
    font-size: 9.5px !important;
  }
}

/* ==========================================================================
   Responsive Navigation Bar & Breakpoints
   ========================================================================== */
.header_nav {
  color: #ffffff;
  background-color: #FF9933;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.25s ease;
}

.header_nav.sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}

.header_nav .container,
.header_nav .max-w-7xl {
  width: 100%;
}

.header_nav .flex.justify-between {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Desktop Navigation (#nav-links) - Strictly Single Line */
.header_nav #nav-links {
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.header_nav #nav-links .home_btn {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 4px !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: #ffffff !important;
  background-color: #CC6600 !important;
  transition: background-color 0.2s !important;
}

.header_nav #nav-links .home_btn:hover {
  background-color: #994d00 !important;
}

.header_nav #nav-links .dropdown_link,
.header_nav #nav-links .normal_links {
  padding: 8px 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 13px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: background-color 0.2s !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.header_nav #nav-links .dropdown_link:hover,
.header_nav #nav-links .normal_links:hover {
  background-color: #CC6600 !important;
  color: #ffffff !important;
}

.header_nav #nav-links .dropdown_links {
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0;
  width: 200px;
  color: #636363;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border-top: 3px solid #CC6600;
  z-index: 100;
}

.header_nav #nav-links .dropdown_links a {
  display: block;
  padding: 9px 16px;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.header_nav #nav-links .dropdown_links a:last-child {
  border-bottom: none;
}

.header_nav #nav-links .dropdown_links a:hover {
  color: #CC6600;
  background-color: #FFF6DF;
  padding-left: 20px;
}

/* Nav links scaling for laptops and medium screens (1024px - 1320px) */
@media (min-width: 1024px) and (max-width: 1320px) {
  .header_nav #nav-links {
    gap: 1px !important;
  }
  .header_nav #nav-links .dropdown_link,
  .header_nav #nav-links .normal_links {
    padding: 6px 7px !important;
    font-size: 12px !important;
    gap: 2px !important;
  }
  .header_nav #nav-links .home_btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }
  .header_nav .modal_btn_1 {
    font-size: 11.5px !important;
    padding: 6px 10px !important;
  }
}

/* Breakpoint for Mobile Drawer (below 1024px: Phones and Tablets) */
@media (max-width: 1023px) {
  .header_nav .mm_open_btn_sec {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #ffffff;
  }
  .header_nav #nav-links {
    display: none !important;
  }
  #mm_nav {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .header_nav .mm_open_btn_sec {
    display: none !important;
  }
  .header_nav #nav-links {
    display: flex !important;
  }
  #mm_nav {
    display: none !important;
  }
  #mm_nav_overlay {
    display: none !important;
  }
}

/* Hamburger toggle button */
.header_nav .mm_open_btn_sec #mm_open_btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
  transition: background 0.2s;
}

.header_nav .mm_open_btn_sec #mm_open_btn:hover {
  background: rgba(0, 0, 0, 0.25);
}

.header_nav .mm_open_btn_sec span {
  font-weight: 700;
  font-size: 14px;
}

/* Online Grievance desk button in navbar */
.header_nav .modal_btn_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  text-decoration: none;
  background-color: #CC6600;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.header_nav .modal_btn_1:hover {
  background-color: #994d00;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .header_nav .mm_open_btn_sec span {
    font-size: 12px;
  }
  .header_nav .modal_btn_1 {
    font-size: 11px;
    padding: 6px 10px;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .header_nav .mm_open_btn_sec span {
    display: none;
  }
}

/* ==========================================================================
   Mobile Sidebar Drawer (#mm_nav) & Overlay
   ========================================================================== */
#mm_nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 290px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: #111827 !important;
  z-index: 9999 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateX(-100%);
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden;
}

#mm_nav.open,
#mm_nav:not(.-translate-x-full) {
  transform: translateX(0) !important;
}

#mm_nav_overlay {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 9998 !important;
  transition: opacity 0.3s ease !important;
}

#mm_nav_overlay.hidden {
  display: none !important;
}

#mm_nav .mm_close_btn_sec {
  color: #FF9933;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 153, 51, 0.25);
  background: rgba(0, 0, 0, 0.2);
}

#mm_nav .mm_close_btn_sec span {
  font-weight: 700;
  font-size: 15px;
}

#mm_nav .mm_close_btn_sec #mm_close_btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

#mm_nav .mm_close_btn_sec #mm_close_btn:hover {
  background: #CC6600;
  color: #ffffff;
}

#mm_nav .mm_nav_list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 30px;
  flex: 1;
}

#mm_nav .mm_nav_list .normal_links,
#mm_nav .mm_nav_list .mm_nav_sub_tog {
  color: #f8fafc;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  text-decoration: none;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  transition: all 0.2s;
}

#mm_nav .mm_nav_list .normal_links:hover,
#mm_nav .mm_nav_list .mm_nav_sub_tog:hover {
  color: #FF9933;
  background: rgba(255, 153, 51, 0.08);
  border-radius: 6px;
}

#mm_nav .mm_nav_list .mm_dropdown_items {
  padding: 6px 0 6px 14px;
  border-left: 2px solid #FF9933;
  margin: 4px 0 8px 8px;
}

#mm_nav .mm_nav_list .mm_dropdown_items a {
  font-size: 12.5px;
  font-weight: 500;
  display: block;
  padding: 8px 10px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

#mm_nav .mm_nav_list .mm_dropdown_items a:hover {
  color: #ffffff;
  background: rgba(255, 153, 51, 0.2);
  padding-left: 14px;
}

/* ==========================================================================
   News Alerts Marquee Responsiveness
   ========================================================================== */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.new_alerts_bar {
  background-color: #FFC107;
  color: #1a1a1a;
  font-size: 12px;
  padding: 6px 0;
  position: relative;
  overflow: hidden;
}

.new_alerts_bar .marquee_sec {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.new_alerts_bar .marquee_sec .content {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.new_alerts_bar .marquee_sec:hover .content,
.new_alerts_bar .marquee_sec:active .content {
  animation-play-state: paused;
}

@media (max-width: 575px) {
  .new_alerts_bar {
    font-size: 11px;
    padding: 4px 0;
  }
}

/* ==========================================================================
   Hero Home Slider - Clean High-Contrast Typography & Contrast Safeguards
   ========================================================================== */
.hero_home {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #0b1329;
}

.hero_home .hero_item {
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  height: 100%;
  position: relative;
  padding: 80px 24px;
}

/* Semi-transparent dark contrast scrim across the slide so ANY gradient has rich contrast */
.hero_home .hero_item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero_home .hero_item .content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

/* Hero Content Title Section */
.hero_home .hero_item .content .title_sec {
  text-align: center !important;
  max-width: 840px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Top Saffron Badge */
.hero_home .hero_item .content .title_sec > span,
.hero_home .hero_item .title_sec span {
  display: inline-block !important;
  padding: 6px 18px !important;
  background-color: #FF9933 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 9999px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  line-height: 1.3 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Main Headline Title - 100% Crisp Pure White */
.hero_home .hero_item .content .title_sec > h1,
.hero_home .hero_item .title_sec h1,
.hero_home .hero_item h1 {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 16px 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
  letter-spacing: -0.01em !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Subheading / Description Paragraph - 100% Pure Brilliant White (Never Gray) */
.hero_home .hero_item .content .title_sec > p,
.hero_home .hero_item .title_sec p,
.hero_home .hero_item p {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Slick Dots & High-Contrast Navigation Pill */
.hero_home #hero_home_slider .slick-dots {
  position: absolute !important;
  bottom: 24px !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  z-index: 25 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero_home #hero_home_slider .slick-dots li {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero_home #hero_home_slider .slick-dots li button {
  width: 12px !important;
  height: 12px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  opacity: 1 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}
.hero_home #hero_home_slider .slick-dots li.slick-active button {
  background-color: #FF9933 !important;
  width: 32px !important;
  border-radius: 9999px !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 2px 10px rgba(255, 153, 51, 0.7) !important;
}

/* Responsive Scaling Across Breakpoints */
@media (min-width: 1024px) and (max-width: 1320px) {
  .hero_home .hero_item {
    min-height: 460px !important;
    padding: 60px 20px !important;
  }
  .hero_home .hero_item .content .title_sec {
    max-width: 760px !important;
  }
  .hero_home .hero_item .content .title_sec > h1 {
    font-size: 36px !important;
  }
  .hero_home .hero_item .content .title_sec > p {
    font-size: 16px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero_home .hero_item {
    min-height: 420px !important;
    padding: 50px 20px !important;
  }
  .hero_home .hero_item .content .title_sec {
    max-width: 680px !important;
  }
  .hero_home .hero_item .content .title_sec > h1 {
    font-size: 30px !important;
  }
  .hero_home .hero_item .content .title_sec > p {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .hero_home .hero_item {
    min-height: 350px !important;
    padding: 40px 16px !important;
  }
  .hero_home .hero_item .content .title_sec {
    max-width: 100% !important;
    padding: 0 8px !important;
  }
  .hero_home .hero_item .content .title_sec > h1 {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  .hero_home .hero_item .content .title_sec > p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 480px) {
  .hero_home .hero_item {
    min-height: 310px !important;
    padding: 30px 12px !important;
  }
  .hero_home .hero_item .content .title_sec > h1 {
    font-size: 21px !important;
    margin-bottom: 10px !important;
  }
  .hero_home .hero_item .content .title_sec > p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* ==========================================================================
   Stats Counters Responsiveness (Fixing Horizontal Overflow)
   ========================================================================== */
.stats_item_one {
  min-width: 0 !important;
}

.stats_item_one p {
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.25 !important;
  font-size: 12px !important;
  margin: 0 !important;
}

@media (max-width: 575px) {
  .stats_item_one svg {
    width: 28px !important;
    height: 28px !important;
  }
  .stats_item_one h6 {
    font-size: 18px !important;
  }
  .stats_item_one p {
    font-size: 11px !important;
  }
}

/* ==========================================================================
   Notice One & Tab Box Two Responsiveness
   ========================================================================== */
.notice_one .notice_box_one .tab_body {
  height: 320px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



/* ==========================================================================
   Notice Items, Badges & Tables
   ========================================================================== */
.notice_item_one {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease-in-out;
}

.notice_item_one:hover {
  border-color: #EA580C;
  transform: translateX(3px);
  background-color: #FFF7ED;
}

.notice_item_one .info_sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 4px;
}

.notice_item_one a {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.notice_item_one a:hover {
  color: #CC6600;
}

.badge-pdf {
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
}

/* Data Tables */
.mrbh-table {
  width: 100%;
  min-width: 650px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.mrbh-table thead th {
  background-color: #1e3a8a !important; /* Deep Government Navy Blue for High Contrast */
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mrbh-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #1e293b !important; /* High contrast dark text */
  vertical-align: middle;
}

.mrbh-table tbody tr:last-child td {
  border-bottom: none;
}

.mrbh-table tbody tr:hover {
  background-color: #f8fafc !important; /* Clean subtle slate hover */
}

/* ==========================================================================
   Page Hero Banner (Inner Pages) - 100% Guaranteed High Contrast & Readability
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, #090e1a 0%, #172554 50%, #0f172a 100%) !important;
  color: #ffffff !important;
  padding: 44px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: 3px solid #FF9933 !important;
  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.4) !important;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 51, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Page Hero Main Title - Pure Brilliant White */
.page-hero-banner h1,
.page-hero-banner h2,
.page-hero-banner .hero-title {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
  margin: 0 !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Page Hero Subtitle / Category Badge / Pre-heading - Glowing Luminous Warm Saffron */
.page-hero-banner span.text-saffron-300,
.page-hero-banner .hero-subtitle,
.page-hero-banner [class*="text-saffron"] {
  color: #FFB066 !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  opacity: 1 !important;
  display: inline-block !important;
  margin-bottom: 4px !important;
}

/* Page Hero Description / Subheading Paragraph */
.page-hero-banner p,
.page-hero-banner .hero-desc {
  color: #f1f5f9 !important;
  opacity: 1 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8) !important;
  margin: 6px 0 0 0 !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Page Hero Breadcrumbs */
.page-hero-banner .text-slate-300,
.page-hero-banner [class*="text-slate"],
.page-hero-banner .breadcrumbs {
  color: #e2e8f0 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
}

.page-hero-banner a,
.page-hero-banner .breadcrumbs a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  font-weight: 600 !important;
}

.page-hero-banner a:hover,
.page-hero-banner .breadcrumbs a:hover {
  color: #FFB066 !important;
  text-decoration: underline !important;
}

.page-hero-banner i.fa-chevron-right {
  color: #FF9933 !important;
  font-size: 10px !important;
  opacity: 0.9 !important;
}

@media (max-width: 767px) {
  .page-hero-banner {
    padding: 30px 0 !important;
  }
  .page-hero-banner h1 {
    font-size: 22px !important;
  }
}

/* Floating call button pulse */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(255, 153, 51, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}

.floating-call-btn {
  animation: pulse-ring 2.5s infinite;
  z-index: 990;
}

@media (max-width: 575px) {
  .floating-call-btn {
    top: auto !important;
    bottom: 24px !important;
    right: 16px !important;
    transform: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  }
  .floating-call-btn span {
    display: none !important;
  }
  .floating-call-btn i {
    font-size: 20px !important;
  }
}

/* Doctor and Admin cards */
.doctor-profile-card {
  min-width: 0 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Home Page Responsiveness & Overlap Elimination (13-inch and all screens)
   ========================================================================== */

/* 1. Hero Home (Rules consolidated under Hero Home Slider section) */


/* 2. Stats Counters Responsiveness & No-Wrap Fix */
.stats_item_one {
  min-width: 0 !important;
}
.stats_item_one p {
  white-space: normal !important;
  word-break: normal !important;
  line-height: 1.25 !important;
}
.stats_item_one > svg {
  flex-shrink: 0 !important;
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .stats_item_one {
    padding: 10px 8px !important;
    gap: 8px !important;
  }
  .stats_item_one > svg {
    width: 28px !important;
    height: 28px !important;
  }
  .stats_item_one h6 {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
  }
  .stats_item_one p {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }
}

/* 3. Administrative Team Overlap Fix */
.admin_item_one {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 14px 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.admin_item_one:hover {
  border-color: #FF9933 !important;
  transform: translateY(-3px) !important;
}
.admin_item_one img {
  position: static !important;
  filter: none !important;
  object-fit: cover !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  flex-shrink: 0 !important;
}
.admin_item_one span {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 100% !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 4px 0 2px 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  display: block !important;
}
.admin_item_one small {
  position: static !important;
  color: #ea580c !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  display: block !important;
  margin: 0 !important;
  white-space: normal !important;
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .admin_item_one {
    padding: 10px 6px !important;
  }
  .admin_item_one img {
    margin-bottom: 6px !important;
  }
  .admin_item_one span {
    font-size: 11.5px !important;
  }
  .admin_item_one small {
    font-size: 10.5px !important;
  }
}

/* 4. Academic Programs & Courses (.achievement_item_two) */
.achievement_item_two {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 16px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
.achievement_item_two .img_sec {
  width: 100% !important;
  height: 180px !important;
  border-radius: 8px !important;
  border: none !important;
  overflow: hidden !important;
  margin: 0 0 12px 0 !important;
  flex-shrink: 0 !important;
}
.achievement_item_two .img_sec img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}
.achievement_item_two .info_sec {
  margin-left: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.achievement_item_two .info_sec h5 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.achievement_item_two .info_sec p {
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* 5. Services Carousel Vertical Cards */
.service_one .service_item_one {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 16px 10px !important;
  min-height: 120px !important;
  min-width: 120px;
  max-width: 160px;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
.service_one .service_item_one img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  object-fit: contain !important;
  margin: 0 auto 10px auto !important;
  display: block !important;
}
.service_one .service_item_one span {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  text-align: center !important;
  word-break: normal !important;
  white-space: normal !important;
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .service_one .service_item_one {
    padding: 12px 8px !important;
    min-height: 110px !important;
  }
  .service_one .service_item_one img {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 8px !important;
  }
  .service_one .service_item_one span {
    font-size: 11px !important;
  }
}
@media (max-width: 575px) {
  .service_one .service_item_one {
    min-width: 105px;
    padding: 10px 8px !important;
  }
}

/* 6. Notice Box Two (Spotlight Units) - Rock Solid Responsive Flex Layout */
.notice_one .notice_box_two {
  display: flex !important;
  flex-direction: row !important;
  height: 100% !important;
  min-height: 420px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Tab Head (Left Sidebar on Desktop) */
.notice_one .notice_box_two .tab_head {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 160px !important;
  width: 160px !important;
  background-color: #f8fafc !important;
  border-right: 1px solid #e2e8f0 !important;
  border-bottom: none !important;
}

.notice_one .notice_box_two .tab_head .tab_btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 10px !important;
  text-align: center !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background-color: transparent !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex: 1 !important;
  min-height: 90px !important;
}

.notice_one .notice_box_two .tab_head .tab_btn:last-child {
  border-bottom: none !important;
}

.notice_one .notice_box_two .tab_head .tab_btn img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  margin: 0 auto 8px auto !important;
  display: block !important;
  filter: none !important;
}

.notice_one .notice_box_two .tab_head .tab_btn span {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  white-space: normal !important;
}

.notice_one .notice_box_two .tab_head .tab_btn:hover {
  background-color: #fff7ed !important;
}

.notice_one .notice_box_two .tab_head .tab_btn.active {
  background-color: #EA580C !important;
  color: #ffffff !important;
}

.notice_one .notice_box_two .tab_head .tab_btn.active img {
  filter: brightness(0) invert(1) !important;
}

.notice_one .notice_box_two .tab_head .tab_btn.active span {
  color: #ffffff !important;
}

/* Tab Body (Right Content Area) */
.notice_one .notice_box_two .tab_body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 24px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #ffffff !important;
}

.notice_one .notice_box_two .tab_body .tab_content {
  display: none !important;
}

.notice_one .notice_box_two .tab_body .tab_content.active {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  height: 100% !important;
}

/* Spotlight Header inside Tab Content */
.notice_one .notice_box_two .tab_body .spotlight_header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
}

.notice_one .notice_box_two .tab_body .spotlight_icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 10px !important;
  background-color: #fff9f2 !important;
  border: 1px solid #fed7aa !important;
  color: #FF9933 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.notice_one .notice_box_two .tab_body .spotlight_icon i {
  display: inline-block !important;
  line-height: 1 !important;
}

.notice_one .notice_box_two .tab_body .spotlight_title_sec {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.notice_one .notice_box_two .tab_body h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  word-break: normal !important;
}

.notice_one .notice_box_two .tab_body .spotlight_subtitle {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #EA580C !important;
  margin-top: 3px !important;
  display: block !important;
  line-height: 1.2 !important;
}

.notice_one .notice_box_two .tab_body p {
  font-size: 13px !important;
  color: #334155 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: justify !important;
}

.notice_one .notice_box_two .tab_body ul {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.notice_one .notice_box_two .tab_body ul li {
  font-size: 12px !important;
  color: #475569 !important;
  line-height: 1.4 !important;
}

.notice_one .notice_box_two .tab_body a.spotlight_link {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #EA580C !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
}
.notice_one .notice_box_two .tab_body a.spotlight_link:hover {
  color: #FF9933 !important;
  text-decoration: underline !important;
}

/* Scaling on 13-inch Laptops and Medium Screens (1024px - 1320px) */
@media (min-width: 1024px) and (max-width: 1320px) {
  .notice_one .notice_box_two .tab_head {
    flex: 0 0 135px !important;
    width: 135px !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn {
    padding: 12px 6px !important;
    min-height: 80px !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 6px !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn span {
    font-size: 10.5px !important;
  }
  .notice_one .notice_box_two .tab_body {
    padding: 18px 14px !important;
  }
  .notice_one .notice_box_two .tab_body h3 {
    font-size: 15px !important;
  }
  .notice_one .notice_box_two .tab_body p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  .notice_one .notice_box_two .tab_body ul li {
    font-size: 11px !important;
  }
}

/* Responsive Stacking on Mobile & Tablets (< 1024px) */
@media (max-width: 1023px) {
  .notice_one .notice_box_two {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }
  .notice_one .notice_box_two .tab_head {
    flex-direction: row !important;
    width: 100% !important;
    flex: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow-x: auto !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn {
    flex: 1 1 0 !important;
    min-width: 100px !important;
    min-height: auto !important;
    padding: 10px 6px !important;
    border-bottom: none !important;
    border-right: 1px solid #e2e8f0 !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn:last-child {
    border-right: none !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn img {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 4px !important;
  }
  .notice_one .notice_box_two .tab_head .tab_btn span {
    font-size: 10.5px !important;
  }
  .notice_one .notice_box_two .tab_body {
    padding: 16px !important;
  }
  .notice_one .notice_box_two .tab_body h3 {
    font-size: 15px !important;
  }
  .notice_one .notice_box_two .tab_body p {
    font-size: 12.5px !important;
  }
}

/* 7. Achievements List Item (About Section) */
.achievement_item_one {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease !important;
}
.achievement_item_one:hover {
  background-color: #fff7ed !important;
}
.achievement_item_one .img_sec {
  flex-shrink: 0 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 8px !important;
  border: 1px solid #fed7aa !important;
  padding: 2px !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
}
.achievement_item_one .img_sec img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 6px !important;
}
.achievement_item_one > div:last-child {
  min-width: 0 !important;
  flex: 1 !important;
}
.achievement_item_one p {
  margin: 0 !important;
  line-height: 1.3 !important;
  word-break: normal !important;
}
.achievement_item_one small {
  margin-top: 2px !important;
  line-height: 1.2 !important;
  display: block !important;
}

/* Forms responsiveness */
@media (max-width: 767px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari */
  }
}

/* ==========================================================================
   Universal High-Contrast Accessibility, Margins & Overflow Safeguards
   ========================================================================== */

/* 1. Saffron High-Contrast Typography Overrides */
.text-saffron-300 {
  color: #F97316 !important; /* Clean Vibrant Theme Saffron */
}
.text-saffron-400 {
  color: #EA580C !important; /* Standard Vibrant Saffron */
}
.text-saffron-500 {
  color: #D97706 !important; /* Warm Amber Saffron */
}

/* 2. Saffron Buttons & Solid Interactive Elements */
.btn.bg-saffron-300,
.btn.bg-saffron-400,
a.bg-saffron-300,
a.bg-saffron-400,
button.bg-saffron-300,
button.bg-saffron-400,
.bg-saffron-300,
.bg-saffron-400 {
  background-color: #FF9933 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.btn.bg-saffron-300:hover,
.btn.bg-saffron-400:hover,
a.bg-saffron-300:hover,
a.bg-saffron-400:hover,
button.bg-saffron-300:hover,
button.bg-saffron-400:hover {
  background-color: #F97316 !important;
  color: #ffffff !important;
}

/* 3. Badges & Tints */
.bg-saffron-50 {
  background-color: #FFF7ED !important;
}
.bg-saffron-100 {
  background-color: #FFEDD5 !important;
}
.bg-saffron-50.text-saffron-400,
.bg-saffron-100.text-saffron-400,
.badge.bg-saffron-100 {
  color: #EA580C !important;
  font-weight: 700 !important;
}

/* 4. Section Accent Lines */
span.bg-saffron-300,
span.bg-saffron-400 {
  background-color: #FF9933 !important;
  height: 3px !important;
  border-radius: 2px !important;
}

/* 5. Overflow and Padding Safety across All Cards */
.card,
.admin_item_one,
.doctor-profile-card,
.achievement_item_one,
.achievement_item_two,
.service_item_one,
.spotlight_header,
.spotlight_title_sec,
.notice_box_one,
.notice_box_two {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  box-sizing: border-box !important;
}

/* 6. Typography Legibility Boost (Excluding Dark Hero Banners & Slider) */
body {
  color: #334155;
  line-height: 1.5;
}

p:not(.page-hero-banner *):not(.hero_home *),
li:not(.page-hero-banner *):not(.hero_home *),
td {
  color: #334155;
  line-height: 1.5;
}

h1:not(.page-hero-banner *):not(.hero_home *),
h2:not(.page-hero-banner *):not(.hero_home *),
h3:not(.page-hero-banner *):not(.hero_home *),
h4:not(.page-hero-banner *):not(.hero_home *),
h5:not(.page-hero-banner *):not(.hero_home *),
h6:not(.page-hero-banner *):not(.hero_home *) {
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* 7. Stats Counter Box Protection */
.stats_item_one {
  min-width: 0 !important;
  overflow: hidden !important;
}
.stats_item_one h6 {
  font-size: clamp(16px, 1.25vw, 22px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
}
.stats_item_one p {
  font-size: clamp(10px, 0.8vw, 12px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: break-word !important;
  margin: 0 !important;
}

/* 8. Fix Table Headers Across Pages */
.mrbh-table thead th {
  background-color: #1e3a8a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 9. Unified Normal Orange Saffron Footer */
.main_footer {
  background-color: transparent !important;
  color: #1a1a1a !important;
  position: relative;
  width: 100%;
}
.main_footer .wave_sec {
  background-color: transparent !important;
  line-height: 0;
  overflow: hidden;
  width: 100%;
}
.main_footer .wave_sec svg {
  display: block;
  width: 100%;
  margin-bottom: -1px;
  background-color: transparent !important;
}
.main_footer .wave_sec svg path {
  fill: #FF9933 !important;
}
.main_footer div[style*="#FF9933"],
.main_footer .bg-saffron-300 {
  background-color: #FF9933 !important;
}
.main_footer h5,
.main_footer b,
.main_footer strong {
  color: #0f172a !important;
}
.main_footer a {
  color: #1e293b !important;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}
.main_footer a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}
.main_footer .border-t {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

/* 10. Fix Administrative Team Cards & Image/Text Overflows */
.admin_team .admin_item_one {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px 12px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease !important;
  height: 100% !important;
  min-width: 0 !important;
}

.admin_team .admin_item_one:hover {
  border-color: #f97316 !important;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.12) !important;
  transform: translateY(-2px) !important;
}

.admin_team .admin_item_one img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: top center !important;
  filter: none !important;
  border: none !important;
  border-radius: 9999px !important;
  display: block !important;
}

.admin_team .admin_item_one h4 {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  text-align: center !important;
  word-break: break-word !important;
  margin: 0 !important;
  width: 100% !important;
}

.admin_team .admin_item_one span {
  position: static !important;
  padding: 2px 8px !important;
  background-color: #fff7ed !important;
  backdrop-filter: none !important;
  color: #ea580c !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  width: auto !important;
  max-width: 100% !important;
  display: inline-block !important;
  word-break: break-word !important;
  border: 1px solid #fed7aa !important;
  border-radius: 6px !important;
  margin-top: 6px !important;
}

/* ==========================================================================
   Tender Table No-Horizontal-Scroll & Universal Pagination
   ========================================================================== */
.tender-no-scroll-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

.tender-no-scroll-table th,
.tender-no-scroll-table td {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  white-space: normal !important;
  vertical-align: middle !important;
}

@media (max-width: 768px) {
  .tender-no-scroll-table, 
  .tender-no-scroll-table thead, 
  .tender-no-scroll-table tbody, 
  .tender-no-scroll-table th, 
  .tender-no-scroll-table td, 
  .tender-no-scroll-table tr,
  .mrbh-table-responsive, 
  .mrbh-table-responsive thead, 
  .mrbh-table-responsive tbody, 
  .mrbh-table-responsive th, 
  .mrbh-table-responsive td, 
  .mrbh-table-responsive tr {
    display: block !important;
    width: 100% !important;
  }
  .tender-no-scroll-table thead,
  .mrbh-table-responsive thead {
    display: none !important;
  }
  .tender-no-scroll-table tbody tr,
  .mrbh-table-responsive tbody tr {
    margin-bottom: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    padding: 12px 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  }
  .tender-no-scroll-table tbody td,
  .mrbh-table-responsive tbody td {
    border-bottom: 1px dashed #f1f5f9 !important;
    padding: 8px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: right !important;
  }
  .tender-no-scroll-table tbody td:last-child,
  .mrbh-table-responsive tbody td:last-child {
    border-bottom: none !important;
    padding-top: 10px !important;
  }
  .tender-no-scroll-table tbody td::before,
  .mrbh-table-responsive tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    text-align: left;
    margin-right: 12px;
    flex-shrink: 0;
  }
  .tender-no-scroll-table tbody td.td-full-block,
  .mrbh-table-responsive tbody td.td-full-block {
    display: block !important;
    text-align: left !important;
  }
  .tender-no-scroll-table tbody td.td-full-block::before,
  .mrbh-table-responsive tbody td.td-full-block::before {
    display: block !important;
    margin-bottom: 4px !important;
  }
}

/* Action Buttons (Download, Notice, Corrigendum) */
.table-action-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 130px;
  margin: 0 auto;
}

.table-action-btns .btn-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.table-action-btns .btn-download {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}

.table-action-btns .btn-download:hover {
  background-color: #b91c1c !important;
}

.table-action-btns .btn-notice {
  background-color: #f59e0b !important;
  color: #ffffff !important;
}

.table-action-btns .btn-notice:hover {
  background-color: #d97706 !important;
}

@media (max-width: 768px) {
  .table-action-btns {
    flex-direction: row !important;
    max-width: 100% !important;
    width: auto !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }
  .table-action-btns .btn-action {
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* Frontend Universal Pagination Component */
.table-pagination-wrapper {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #475569;
}

.table-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-pagination-controls button {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-pagination-controls button:hover:not(:disabled) {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.table-pagination-controls button.active {
  background-color: #FF9933 !important;
  border-color: #e07b16 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.table-pagination-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.table-pagination-ellipsis {
  padding: 0 4px;
  color: #94a3b8;
  font-weight: bold;
}



