/* --------------------------------------------------------------------
 * SMT GROUP CORE STYLESHEET
 * -------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Colors - Premium Light Theme */
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc; /* Slate 50 for alternating sections */
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-panel: #ffffff;
  --border-color: rgba(15, 23, 42, 0.06);
  --primary-neon: #ea580c; /* Orange SMT as Primary Action Color */
  --primary-blue: #2563eb;
  --accent-orange: #ea580c;
  --text-main: #0f172a; /* Slate 900 for Primary text */
  --text-muted: #475569; /* Slate 600 for Muted text */
  --text-white: #ffffff; /* White text color */
  --white-fixed: #ffffff; /* Static white for button labels */
  
  /* Fonts */
  --font-header: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-premium);
}

/* Glassmorphism Cards - Light Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
  transition: var(--transition-premium);
}

.glass-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 10px 35px rgba(234, 88, 12, 0.12);
  transform: translateY(-5px);
}

/* Buttons - Light style with orange primary */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-header);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-premium);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #c2410c 100%);
  color: var(--white-fixed);
  border: none;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--text-main);
}

.btn-neon {
  background: transparent;
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  box-shadow: inset 0 0 8px rgba(234, 88, 12, 0.05);
}

.btn-neon:hover {
  background: var(--accent-orange);
  color: var(--white-fixed);
  box-shadow: 0 0 25px rgba(234, 88, 12, 0.3);
}

/* Forms - Light Style */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-premium);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.15);
}

/* Typography Helpers - Dark-to-Orange Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #0f172a 30%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #0f172a 30%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sidebar Dashboard Navigation */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background-color: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.08) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.15);
}

.sidebar-brand {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--accent-orange);
  background: rgba(234, 88, 12, 0.06);
}

.sidebar-link.active {
  border-left: 3px solid var(--accent-orange);
}

.main-content {
  flex: 1;
  padding: 3rem;
  background: linear-gradient(180deg, var(--bg-main) 0%, #e2e8f0 100%);
  overflow-y: auto;
}

.header-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

/* Data Tables inside Panel */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #f1f5f9;
  padding: 1rem 1.5rem;
  font-family: var(--font-header);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.custom-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

/* Badge status colors */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-pending {
  background: rgba(234, 88, 12, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Chatbot Floating UI stylesheet */
.chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #c2410c 100%);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition-premium);
  border: none;
  color: var(--white-fixed);
  font-size: 1.5rem;
}

.chatbot-trigger:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 30px rgba(234, 88, 12, 0.5);
}

.chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 7.5rem;
  width: 380px;
  height: 520px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chatbot-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom-right-radius: 5px;
}

.chatbot-header {
  padding: 1.2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.chatbot-header-title {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #22c55e;
}

.chatbot-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
}

.chatbot-body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 15px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.chat-message-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-left-radius: 3px;
}

.chat-message-user {
  align-self: flex-end;
  background: var(--accent-orange);
  color: var(--white-fixed);
  border-bottom-right-radius: 3px;
}

.chatbot-input-area {
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.chatbot-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.chatbot-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-orange);
  color: var(--white-fixed);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Maps Styling overrides */
#map {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  z-index: 1;
}

/* Typo, margins and alignment utilities */
.my-5 { margin-top: 3rem; margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

/* Responsive Header / Navbar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-family: var(--font-header);
  font-weight: 500;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 1.25rem;
  }
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent-orange);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
  max-height: 0;
  overflow-y: auto;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  z-index: 999;
}

.mobile-menu-drawer.active {
  max-height: min(550px, 82vh);
}

.mobile-menu-drawer a {
  font-family: var(--font-header);
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-menu-drawer a:hover {
  color: var(--accent-orange);
}

.mobile-menu-drawer .btn-primary {
  color: var(--white-fixed);
}

.mobile-menu-drawer .btn-secondary {
  color: var(--text-main);
}

.mobile-menu-drawer .btn-neon {
  color: var(--accent-orange);
}

.mobile-menu-drawer .btn-neon:hover {
  color: var(--white-fixed);
}

/* Responsive Landing Page Enhancements */
.hero-title {
  font-size: 4.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.stats-section {
  background: var(--bg-secondary);
  /* padding: 5rem 2rem; */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.section-wrapper {
  max-width: 1280px;
  margin: 8rem auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-features {
  display: flex;
  gap: 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.main-footer {
  background-color: var(--bg-secondary);
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive Coverage Section */
.coverage-section {
  background: var(--bg-secondary);
  padding: 8rem 2rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  #map {
    height: 350px;
  }
}

@media (max-width: 1100px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-container {
    padding: 3rem 1.5rem;
    min-height: 70vh;
  }
  
  .stats-section {
    padding: 3rem 1.5rem;
  }
  
  .section-wrapper {
    margin: 4rem auto;
    padding: 0 1.5rem;
  }
  
  .tech-flow {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .tech-line {
    display: none;
  }
  
  .coverage-section {
    padding: 4rem 1.5rem;
  }
  
  .main-footer {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-features {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Floating Action Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-premium);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background-color: #22c35e;
  color: #fff;
}

.scroll-top-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 50%;
  text-align: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-premium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  cursor: pointer;
}

.scroll-top-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-float:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.15);
  transform: translateY(-5px);
}

/* --------------------------------------------------------------------
 * CODEIGNITER GLOBAL PAGINATION STYLING
 * -------------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.pagination li {
  display: inline-block;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-premium);
  text-decoration: none;
}

.pagination li a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange) !important;
  background: rgba(234, 88, 12, 0.04);
  transform: translateY(-2px);
}

.pagination li.active a,
.pagination li.active span {
  background: var(--accent-orange);
  color: var(--white-fixed) !important;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
}

.pagination li.disabled span,
.pagination li.disabled a {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8 !important;
  border-color: #e2e8f0;
}


/* --------------------------------------------------------------------
 * CUSTOM DATATABLE STYLING
 * -------------------------------------------------------------------- */
.datatable-wrapper {
  margin-bottom: 2rem;
}

.datatable-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.datatable-length {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.datatable-select {
  padding: 0.4rem 2rem 0.4rem 0.8rem !important;
  font-size: 0.85rem;
  border-radius: 8px;
  width: auto !important;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.datatable-search {
  padding: 0.5rem 1rem 0.5rem 2.5rem !important;
  font-size: 0.88rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  transition: var(--transition-premium);
}

.datatable-search:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.15);
}

.datatable-bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.datatable-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.custom-table th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: var(--transition-premium);
}

.custom-table th.sortable:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.custom-table th.sortable .sort-icon {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.3;
  transition: var(--transition-premium);
}

.custom-table th.sortable.sorted-asc .sort-icon,
.custom-table th.sortable.sorted-desc .sort-icon {
  opacity: 1;
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------
 * PREMIUM GLASSMORPHIC MODAL STYLING
 * -------------------------------------------------------------------- */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.custom-modal.show {
  display: flex;
  opacity: 1;
}

.custom-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.custom-modal.show .custom-modal-content {
  transform: translateY(0) scale(1);
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
}

.custom-modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

.custom-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-premium);
}

.custom-modal-close:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------
 * CUSTOM RESPONSIVE LAYOUTS FOR CUSTOMER PORTAL
 * -------------------------------------------------------------------- */
@media (min-width: 769px) {
  .mobile-list-cards {
    display: none !important;
  }
  .desktop-only-table {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .mobile-list-cards {
    display: block !important;
  }
  .desktop-only-table {
    display: none !important;
  }
}

/* Chatbot & Floating Buttons Responsive overrides */
@media (max-width: 768px) {
  .chatbot-container {
    right: 1rem !important;
    left: 1rem !important;
    bottom: 1rem !important;
    width: calc(100% - 2rem) !important;
    height: 80vh !important;
    max-height: 520px !important;
    z-index: 1005 !important;
  }
  .chatbot-trigger {
    right: 1.5rem !important;
    bottom: 1.5rem !important;
  }
  .whatsapp-float {
    right: 1.5rem !important;
    bottom: 6rem !important;
  }
}





