/* =====================================================
   ASMC Ayodhya - Modern Website CSS
   Color Palette: Deep Maroon + Gold + White
   ===================================================== */

:root {
  --primary: #7B1D1D;
  --primary-dark: #5a1414;
  --primary-light: #a03030;
  --accent: #C9A84C;
  --accent-light: #e8c96b;
  --accent-dark: #a8873a;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --light-gray: #f0ede8;
  --medium-gray: #e0dbd4;
  --text-dark: #1a1208;
  --text-medium: #4a3f2f;
  --text-light: #7a6d5e;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 2px solid var(--accent);
}

.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--accent); }

.topbar-right { display: flex; align-items: center; gap: 12px; }

.btn-appt, .btn-lab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500;
  transition: var(--transition);
}

.btn-appt { background: var(--accent); color: var(--primary-dark); }
.btn-appt:hover { background: var(--accent-light); }
.btn-lab { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-lab:hover { background: rgba(255,255,255,0.25); }

.social-links { display: flex; gap: 8px; }
.social-links a { width: 26px; height: 26px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: var(--transition); }
.social-links a:hover { background: var(--accent); color: var(--primary-dark); }

/* =====================================================
   HEADER
   ===================================================== */
.main-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }

.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }

.logo-area { display: flex; align-items: center; gap: 15px; }

.logo { height: 70px; width: auto; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; }
.logo-hi { font-family: 'Noto Sans Devanagari', sans-serif; font-size: 13px; color: var(--primary); font-weight: 600; }
.logo-en { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--primary-dark); font-weight: 700; line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }

.accred-badges { display: flex; gap: 10px; }
.badge-nmc { display: flex; align-items: center; gap: 6px; background: var(--off-white); border: 1px solid var(--medium-gray); border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--primary); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.main-nav { background: var(--primary); }

.main-nav .container { display: flex; align-items: center; }

.nav-menu { display: flex; align-items: center; flex-wrap: wrap; }

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 13px; color: rgba(255,255,255,0.88); font-size: 13px; font-weight: 500;
  transition: var(--transition); white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent); background: rgba(255,255,255,0.08); }
.nav-menu > li > a i.fa-chevron-down { font-size: 10px; }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 100; border-top: 3px solid var(--accent);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 18px; font-size: 13px; color: var(--text-medium); border-bottom: 1px solid var(--light-gray); transition: var(--transition); }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--primary); background: var(--off-white); padding-left: 24px; }

.hamburger { display: none; background: none; border: none; color: white; font-size: 22px; padding: 10px; cursor: pointer; margin-left: auto; }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider { position: relative; height: 600px; overflow: hidden; }

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center;
}
.hero-placeholder { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); }

.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(91,20,20,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%); }

.slide-content { position: relative; z-index: 2; max-width: 600px; padding: 0 80px; color: white; width: 100%; }

.slide-title { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.slide-subtitle { font-size: 17px; margin-bottom: 28px; opacity: 0.9; line-height: 1.6; }
.slide-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; background: var(--accent); color: var(--primary-dark); font-weight: 600; border-radius: 30px; font-size: 14px; transition: var(--transition); }
.slide-btn:hover { background: var(--accent-light); transform: translateX(4px); }

.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.4); color: white;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }

.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--accent); transform: scale(1.2); }

/* =====================================================
   QUICK STATS
   ===================================================== */
.quick-stats { background: var(--primary); padding: 30px 0; }

.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }

.stat-card { text-align: center; padding: 24px 16px; color: white; border-right: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,0.08); }

.stat-icon { font-size: 26px; color: var(--accent); margin-bottom: 8px; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 12px; opacity: 0.8; margin-top: 4px; letter-spacing: 0.5px; }

/* =====================================================
   MAIN CONTENT SECTION
   ===================================================== */
.main-content-section { padding: 60px 0; background: var(--off-white); }

.content-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 24px; }

.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--primary); color: white; border-radius: var(--radius) var(--radius) 0 0; }
.panel-header h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.panel-header h3 i { color: var(--accent); }
.view-all { font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.view-all:hover { color: white; }

.notifications-panel, .vacancy-panel, .current-panel { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }

.notif-scroll-wrapper { height: 380px; overflow-y: auto; }
.notif-scroll-wrapper::-webkit-scrollbar { width: 4px; }
.notif-scroll-wrapper::-webkit-scrollbar-track { background: var(--light-gray); }
.notif-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 2px; }

.notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--light-gray); transition: var(--transition); position: relative; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--off-white); }
.notif-item.is-new { border-left: 3px solid var(--accent); }

.new-badge { background: var(--accent); color: var(--primary-dark); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }

.notif-content { flex: 1; }
.notif-content strong { display: block; font-size: 13px; font-weight: 500; color: var(--text-dark); line-height: 1.4; }
.notif-date { font-size: 11px; color: var(--text-light); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

.notif-download { color: var(--primary); font-size: 14px; flex-shrink: 0; transition: var(--transition); padding: 4px; }
.notif-download:hover { color: var(--accent-dark); }

.vacancy-list { padding: 8px 0; }
.vacancy-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--light-gray); }
.vacancy-item:last-child { border-bottom: none; }
.vac-badge { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 12px; white-space: nowrap; }
.badge-perm { background: #e8f5e9; color: #2e7d32; }
.badge-cont { background: #fff3e0; color: #e65100; }
.vac-info { flex: 1; }
.vac-info strong { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.vac-date { font-size: 11px; color: var(--text-light); }
.btn-download { color: #c62828; font-size: 18px; flex-shrink: 0; transition: var(--transition); }
.btn-download:hover { color: #e53935; }

.current-list { padding: 8px 0; }
.current-item { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--light-gray); font-size: 13px; }
.current-item a { color: var(--text-medium); transition: var(--transition); }
.current-item a:hover { color: var(--primary); }

/* =====================================================
   OFFICIALS SECTION
   ===================================================== */
.officials-section { padding: 70px 0; background: white; }

.officials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }

.official-card { text-align: center; }

.official-photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 4px solid var(--accent); box-shadow: var(--shadow-md); }
.official-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { width: 100%; height: 100%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; }
.photo-placeholder i { font-size: 48px; color: var(--medium-gray); }

.official-info h4 { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--primary-dark); font-weight: 600; }
.official-info p { font-size: 12px; color: var(--text-light); line-height: 1.4; margin-top: 4px; }

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--primary-dark); font-weight: 700; position: relative; display: inline-block; }
.section-header h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-header p { margin-top: 20px; color: var(--text-light); font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =====================================================
   PRINCIPAL SECTION
   ===================================================== */
.principal-section { padding: 70px 0; background: var(--off-white); }

.principal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }

.principal-photo-area { text-align: center; }
.principal-img { width: 220px; height: 260px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); border: 4px solid var(--accent); }
.principal-photo-placeholder { width: 220px; height: 260px; background: var(--light-gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.principal-photo-placeholder i { font-size: 80px; color: var(--medium-gray); }
.principal-badge { margin-top: 16px; }
.principal-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary-dark); }
.principal-badge span { font-size: 13px; color: var(--accent-dark); font-weight: 600; }

.section-label { display: inline-block; background: var(--accent); color: var(--primary-dark); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.principal-message-area h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--primary-dark); margin-bottom: 20px; }
.message-text { font-size: 15px; color: var(--text-medium); line-height: 1.8; border-left: 4px solid var(--accent); padding-left: 20px; }
.btn-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 28px; background: var(--primary); color: white; border-radius: 25px; font-size: 14px; font-weight: 500; transition: var(--transition); }
.btn-read-more:hover { background: var(--primary-dark); transform: translateX(4px); }

/* =====================================================
   DEPARTMENTS
   ===================================================== */
.dept-section { padding: 70px 0; background: white; }

.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.dept-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; background: var(--off-white); border-radius: var(--radius); border: 2px solid var(--medium-gray); transition: var(--transition); position: relative; overflow: hidden; }
.dept-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: var(--transition); }
.dept-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dept-card:hover::before { transform: scaleX(1); }

.dept-icon { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; transition: var(--transition); }
.dept-card:hover .dept-icon { background: var(--accent); color: var(--primary-dark); }

.dept-card h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }
.dept-meta { font-size: 12px; color: var(--text-light); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.dept-pg-badge { display: inline-block; margin-top: 6px; background: var(--accent); color: var(--primary-dark); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* =====================================================
   SERVICES
   ===================================================== */
.services-section { padding: 70px 0; background: var(--primary); }
.services-section .section-header h2 { color: white; }
.services-section .section-header p { color: rgba(255,255,255,0.7); }
.services-section .section-header h2::after { background: var(--accent); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 30px 24px; text-align: center; color: white; transition: var(--transition); cursor: default; }
.service-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); border-color: var(--accent); }
.service-card i { font-size: 36px; color: var(--accent); margin-bottom: 14px; display: block; }
.service-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 13px; opacity: 0.75; }

/* =====================================================
   IMPORTANT LINKS
   ===================================================== */
.imp-links-section { padding: 50px 0; background: var(--off-white); }
.imp-links-section .section-header { margin-bottom: 30px; }

.imp-links-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.imp-link-card { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: white; border: 2px solid var(--medium-gray); border-radius: 8px; transition: var(--transition); color: var(--text-medium); font-size: 13px; font-weight: 500; }
.imp-link-card img { height: 34px; width: auto; object-fit: contain; }
.imp-link-card i { font-size: 18px; color: var(--primary); }
.imp-link-card:hover { border-color: var(--accent); color: var(--primary); box-shadow: var(--shadow-sm); }

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer { background: var(--text-dark); color: rgba(255,255,255,0.8); }

.footer-top { padding: 60px 0 40px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }

.footer-col h4 { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 16px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 6px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.7); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom { background: rgba(0,0,0,0.3); padding: 18px 0; text-align: center; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: var(--accent); }

/* =====================================================
   GENERAL BUTTON
   ===================================================== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; background: var(--primary); color: white; border-radius: 30px; font-size: 14px; font-weight: 500; transition: var(--transition); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; cursor: pointer; font-size: 16px; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: var(--transition); z-index: 999; }
.back-to-top:hover { background: var(--accent); color: var(--primary-dark); }
.back-to-top.show { display: flex; }

/* =====================================================
   PAGE BANNER (Inner Pages)
   ===================================================== */
.page-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 50px 0; color: white; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.page-banner h1 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; }
.page-banner .breadcrumb { margin-top: 10px; font-size: 13px; opacity: 0.75; display: flex; align-items: center; gap: 8px; }
.page-banner .breadcrumb a { color: var(--accent); }

/* =====================================================
   DATA TABLES (Faculty, Students, Statistics)
   ===================================================== */
.data-table-section { padding: 60px 0; }

.filter-bar { background: var(--off-white); padding: 20px; border-radius: var(--radius); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filter-bar label { font-size: 12px; font-weight: 600; color: var(--text-medium); display: block; margin-bottom: 4px; }
.filter-bar select, .filter-bar input { padding: 9px 14px; border: 1.5px solid var(--medium-gray); border-radius: 6px; font-size: 13px; color: var(--text-dark); background: white; min-width: 160px; }
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--primary); }
.filter-bar .btn-filter { padding: 10px 22px; background: var(--primary); color: white; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; font-weight: 500; }
.filter-bar .btn-filter:hover { background: var(--primary-dark); }

.data-table-wrapper { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.data-table-wrapper table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table-wrapper thead th { background: var(--primary); color: white; padding: 13px 16px; text-align: left; font-weight: 600; font-size: 13px; white-space: nowrap; }
.data-table-wrapper tbody tr:nth-child(even) { background: var(--off-white); }
.data-table-wrapper tbody tr:hover { background: #fff8ec; }
.data-table-wrapper tbody td { padding: 12px 16px; border-bottom: 1px solid var(--light-gray); color: var(--text-medium); }
.data-table-wrapper tbody tr:last-child td { border-bottom: none; }

/* Status Badges */
.status-active { background: #e8f5e9; color: #2e7d32; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.status-left { background: #ffebee; color: #c62828; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }

/* Stats Cards for hospital pages */
.stats-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stats-info-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; border-top: 4px solid var(--accent); }
.stats-info-card .s-number { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--primary); }
.stats-info-card .s-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 6px; font-size: 13px; border: 1.5px solid var(--medium-gray); color: var(--text-medium); transition: var(--transition); }
.pagination a:hover, .pagination .current { background: var(--primary); color: white; border-color: var(--primary); }

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.admin-layout { display: flex; min-height: 100vh; position: relative; }
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; }
.admin-overlay.active { display: block; }
.admin-sidebar { width: 260px; background: var(--primary-dark); color: white; flex-shrink: 0; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-sidebar .sidebar-logo { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .sidebar-logo h3 { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--accent); }
.sidebar-nav ul { padding: 10px 0; }
.sidebar-nav ul li a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 13.5px; color: rgba(255,255,255,0.75); transition: var(--transition); }
.sidebar-nav ul li a:hover, .sidebar-nav ul li a.active { background: rgba(255,255,255,0.1); color: var(--accent); border-left: 3px solid var(--accent); padding-left: 17px; }
.sidebar-nav ul li a i { width: 18px; text-align: center; }
.sidebar-nav .nav-group-label { padding: 12px 20px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); }

.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.admin-topbar { background: white; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--medium-gray); box-shadow: var(--shadow-sm); }
.admin-topbar h2 { font-size: 18px; color: var(--primary-dark); font-family: 'Playfair Display', serif; }

.admin-content { padding: 28px; flex: 1; background: #f4f2ee; }

.admin-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; margin-bottom: 24px; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--light-gray); }
.admin-card-header h3 { font-size: 16px; color: var(--primary-dark); font-weight: 600; }

.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.dash-stat { background: white; border-radius: var(--radius); padding: 22px 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.dash-stat-icon { width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.dash-stat-number { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.dash-stat-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-medium); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--medium-gray); border-radius: 7px;
  font-size: 13.5px; color: var(--text-dark); background: white; transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123,29,29,0.1); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.btn-save { padding: 11px 28px; background: var(--primary); color: white; border: none; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-save:hover { background: var(--primary-dark); }
.btn-danger { padding: 8px 16px; background: #c62828; color: white; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; }
.btn-edit { padding: 8px 16px; background: var(--primary); color: white; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; }
.btn-add { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--primary); color: white; border-radius: 7px; font-size: 13px; font-weight: 500; }
.btn-add:hover { background: var(--primary-dark); }

/* Alert Messages */
.alert { padding: 12px 18px; border-radius: 7px; margin-bottom: 18px; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* =====================================================
   RESPONSIVE — COMPLETE MOBILE-FIRST
   Breakpoints: 1200px | 1024px | 768px | 576px | 400px
   ===================================================== */

/* ── Fix: tables always scrollable on all screens ── */
.data-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-card table { min-width: 500px; }

/* ── Fix: filter-bar wraps cleanly ── */
.filter-bar > div { flex: 1 1 160px; min-width: 140px; }
.filter-bar select,
.filter-bar input { width: 100%; min-width: unset; }

/* =====================
   1200px — Large Tablet
   ===================== */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 16px; }
  .slide-title { font-size: 36px; }
  .slide-content { padding: 0 60px; }
  .logo-en { font-size: 13px; }
  .nav-menu > li > a { padding: 14px 10px; font-size: 12.5px; }
}

/* =====================
   1024px — Tablet
   ===================== */
@media (max-width: 1024px) {
  /* Grid layouts */
  .stats-grid         { grid-template-columns: repeat(3, 1fr); }
  .dept-grid          { grid-template-columns: repeat(3, 1fr); }
  .services-grid      { grid-template-columns: repeat(3, 1fr); }
  .content-grid       { grid-template-columns: 1fr 1fr; }
  .current-panel      { grid-column: 1 / -1; }
  .footer-grid        { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .dashboard-stats    { grid-template-columns: repeat(2, 1fr); }
  .principal-grid     { gap: 36px; }

  /* Slider */
  .hero-slider  { height: 480px; }
  .slide-title  { font-size: 32px; }
  .slide-content { padding: 0 50px; max-width: 100%; }

  /* Admin */
  .admin-sidebar { width: 230px; }
  .admin-main    { margin-left: 230px; }
  .admin-content { padding: 20px; }
}

/* =====================
   768px — Mobile
   ===================== */
@media (max-width: 768px) {
  /* Hide desktop-only elements */
  .topbar-left,
  .accred-badges { display: none; }

  .topbar-right { gap: 8px; }
  .btn-appt span, .btn-lab span { display: none; }

  /* Header */
  .header-inner { padding: 10px 0; }
  .logo { height: 52px; }
  .logo-hi  { font-size: 11px; }
  .logo-en  { font-size: 12px; }
  .logo-sub { display: none; }

  /* Hamburger nav */
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-dark);
    max-height: 80vh;
    overflow-y: auto;
    border-top: 2px solid var(--accent);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 14px;
  }
  .nav-menu > li > a i.fa-chevron-down { margin-left: auto; }

  /* Dropdown on mobile — stays open under parent */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,0.25);
    border-top: none;
    display: none;
  }
  .dropdown.open { display: block; }
  .dropdown li a { padding: 10px 36px; font-size: 13px; color: rgba(255,255,255,0.75); }
  .dropdown li a:hover { color: var(--accent); background: rgba(255,255,255,0.08); padding-left: 44px; }

  /* Hero Slider */
  .hero-slider  { height: 320px; }
  .slide-title  { font-size: 22px; margin-bottom: 10px; }
  .slide-subtitle { font-size: 14px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-content { padding: 0 20px; max-width: 100%; }
  .slide-btn    { padding: 10px 20px; font-size: 13px; }
  .slider-prev  { left: 8px; width: 36px; height: 36px; font-size: 14px; }
  .slider-next  { right: 8px; width: 36px; height: 36px; font-size: 14px; }

  /* Stats bar */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .stat-card { padding: 18px 10px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-number { font-size: 26px; }
  .stat-label  { font-size: 11px; }

  /* Main content panels */
  .content-grid { grid-template-columns: 1fr; gap: 16px; }
  .notif-scroll-wrapper { height: 280px; }

  /* Officials */
  .officials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .official-photo { width: 110px; height: 110px; }

  /* Principal section */
  .principal-section { padding: 40px 0; }
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .principal-photo-area { margin-bottom: 0; }
  .principal-img { width: 160px; height: 200px; }
  .principal-message-area h2 { font-size: 24px; }
  .message-text { border-left: none; border-top: 4px solid var(--accent); padding: 16px 0 0; text-align: left; }

  /* Departments */
  .dept-section { padding: 40px 0; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dept-card { padding: 18px 14px; }
  .dept-icon { width: 50px; height: 50px; font-size: 20px; }

  /* Services */
  .services-section { padding: 40px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 14px; }
  .service-card i { font-size: 28px; }

  /* Section header */
  .section-header { margin-bottom: 30px; }
  .section-header h2 { font-size: 26px; }
  .section-header p  { font-size: 13.5px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top  { padding: 40px 0 30px; }

  /* Buttons */
  .btn-primary { padding: 11px 24px; font-size: 13px; }
  .btn-read-more { padding: 10px 22px; }

  /* Data tables */
  .filter-bar { flex-direction: column; gap: 10px; padding: 16px; }
  .filter-bar > div { flex: 1 1 100%; }
  .filter-bar .btn-filter { width: 100%; justify-content: center; }

  /* Page banner */
  .page-banner { padding: 32px 0; }
  .page-banner h1 { font-size: 24px; }

  /* Admin panel */
  .admin-sidebar {
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    z-index: 1001;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main   { margin-left: 0; }
  .admin-content { padding: 16px; }
  .admin-topbar { padding: 12px 16px; }
  .admin-topbar .page-title { font-size: 16px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dash-stat { padding: 16px 14px; gap: 12px; }
  .dash-stat-number { font-size: 24px; }

  /* Form layout */
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }

  /* Sidebar overlay */
  .admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  .admin-overlay.active { display: block; }
}

/* =====================
   576px — Small Mobile
   ===================== */
@media (max-width: 576px) {
  /* Hero */
  .hero-slider  { height: 260px; }
  .slide-title  { font-size: 18px; }
  .slide-subtitle { display: none; }
  .slider-prev, .slider-next { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-icon  { font-size: 20px; }
  .stat-number { font-size: 22px; }

  /* Departments */
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dept-card { padding: 14px 10px; }
  .dept-icon { width: 44px; height: 44px; font-size: 18px; margin-bottom: 10px; }
  .dept-card h4 { font-size: 12.5px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Officials */
  .officials-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .official-photo { width: 90px; height: 90px; }
  .official-info h4 { font-size: 13px; }

  /* Topbar */
  .topbar-right { flex-wrap: wrap; gap: 6px; }
  .btn-appt, .btn-lab { padding: 4px 10px; font-size: 11px; }
  .btn-appt i + *, .btn-lab i + * { display: none; }

  /* Logo */
  .logo-area { gap: 10px; }
  .logo { height: 44px; }
  .logo-en { font-size: 11px; }

  /* Section headings */
  .section-header h2 { font-size: 22px; }

  /* Admin */
  .dashboard-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-stat { padding: 12px 10px; gap: 10px; }
  .dash-stat-icon { width: 40px; height: 40px; font-size: 16px; }
  .dash-stat-number { font-size: 20px; }
  .dash-stat-label  { font-size: 11px; }
  .admin-card { padding: 16px; }
  .admin-card-header h3 { font-size: 14px; }
  .btn-add { font-size: 12px; padding: 8px 14px; }

  /* Back to top */
  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 14px; }

  /* Page inner */
  .data-table-section { padding: 32px 0; }
  .page-banner { padding: 24px 0; }
  .page-banner h1 { font-size: 20px; }
  .page-banner .breadcrumb { font-size: 12px; }
}

/* =====================
   400px — Very Small
   ===================== */
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dept-grid  { grid-template-columns: 1fr; }
  .hero-slider { height: 220px; }
  .slide-content { padding: 0 14px; }
  .slide-title { font-size: 16px; }
  .logo-hi    { display: none; }
  .officials-grid { grid-template-columns: 1fr 1fr; }
  .footer-col ul li a { font-size: 12.5px; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .admin-sidebar { width: 85vw; }
}

.admin-user-info { display: flex; flex-direction: column; }
@media (max-width: 576px) {
  .admin-user-info { display: none; }
  .btn-text { display: none; }
  .btn-logout { padding: 8px 10px; }
  .admin-topbar { padding: 10px 12px; gap: 8px; }
  .admin-topbar > div { gap: 8px; }
}

/* =====================================================
   END OF STYLESHEET
   ===================================================== */
@media print {
  .main-header, .topbar, .main-footer,
  .hamburger, .back-to-top,
  .filter-bar, .pagination,
  .slider-prev, .slider-next,
  .admin-sidebar, .admin-topbar { display: none !important; }
  body { font-size: 12px; color: #000; }
  .container { max-width: 100%; padding: 0; }
  .data-table-wrapper { box-shadow: none; border: 1px solid #ddd; }
  a { color: #000; text-decoration: underline; }
  .page-banner { background: #7B1D1D !important; -webkit-print-color-adjust: exact; }
}

/* =====================
   UTILITY — Touch UX
   ===================== */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets on touch devices */
  .nav-menu > li > a { min-height: 48px; }
  .btn-primary, .btn-save, .btn-danger, .btn-edit, .btn-add { min-height: 44px; }
  .notif-download, .btn-download { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .pagination a, .pagination span { width: 44px; height: 44px; }
  .dot { width: 14px; height: 14px; }
  /* Disable hover-only animations on touch */
  .dept-card:hover { transform: none; }
  .official-card:hover { transform: none; }
}

/* =====================================================
   MOBILE FINAL FIXES — Complete Responsive Polish
   ===================================================== */

/* ── Landscape mobile slider height ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-slider { height: 200px; }
  .slide-title { font-size: 18px; }
  .slide-subtitle { display: none; }
  .main-header { position: relative; }
  .nav-menu { max-height: 60vh; }
}

/* ── Stats info cards: always 2-col on mobile ── */
@media (max-width: 576px) {
  .stats-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stats-info-card { padding: 16px 10px; }
  .stats-info-card .s-number { font-size: 28px; }
  .stats-info-card .s-label { font-size: 11px; }
}

/* ── Important links: horizontal scroll on very small ── */
@media (max-width: 480px) {
  .imp-links-grid {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }
  .imp-link-card {
    flex: 0 0 auto;
    min-width: 160px;
    scroll-snap-align: start;
  }
}

/* ── Mobile: stacked filter in statistics page ── */
@media (max-width: 768px) {
  .stats-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── Tables: card style on very small screens ── */
@media (max-width: 480px) {
  .data-table-wrapper thead {
    display: none; /* Hide header, use data-label trick */
  }
  .data-table-wrapper tbody tr {
    display: block;
    margin-bottom: 14px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .data-table-wrapper tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 13px;
  }
  .data-table-wrapper tbody td:last-child {
    border-bottom: none;
    flex-wrap: wrap;
  }
  .data-table-wrapper tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    flex-shrink: 0;
  }
  /* Keep normal table display for admin pages (too complex) */
  .admin-content .data-table-wrapper thead { display: table-header-group; }
  .admin-content .data-table-wrapper tbody tr { display: table-row; margin: 0; border: none; box-shadow: none; border-radius: 0; }
  .admin-content .data-table-wrapper tbody td { display: table-cell; }
  .admin-content .data-table-wrapper tbody td::before { display: none; }
}

/* ── Admin tables: always scrollable container ── */
@media (max-width: 768px) {
  .admin-card { padding: 14px; }
  .admin-card > table,
  .admin-card > div > table { min-width: 600px; }
  .admin-card > .data-table-wrapper,
  .admin-card > div > .data-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Admin form full-width inputs */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* Prevent iOS zoom */ }

  /* Principal grid mobile */
  .principal-grid { grid-template-columns: 1fr; }
}

/* ── Vacancy cards on mobile: stack vertically ── */
@media (max-width: 576px) {
  .vacancy-item { flex-wrap: wrap; gap: 8px; }
  .vacancy-item .btn-download { margin-left: auto; }
  .vac-info { width: 100%; }
  .vac-badge { flex-shrink: 0; }
}

/* ── Gallery grid on mobile ── */
@media (max-width: 576px) {
  .gallery-grid,
  [style*="grid-template-columns:repeat(auto-fill,minmax(240px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Notification panel: stop auto-scroll on touch ── */
@media (hover: none) {
  .notif-scroll-wrapper { overflow-y: auto; scroll-behavior: smooth; }
}

/* ── Contact page grid: stack on mobile ── */
@media (max-width: 768px) {
  /* Target the contact grid */
  .contact-grid,
  [style*="grid-template-columns:1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Page-level section padding reduction on mobile ── */
@media (max-width: 576px) {
  section[style*="padding:60px 0"],
  section[style*="padding:50px 0"] {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .officials-section,
  .principal-section,
  .dept-section,
  .services-section,
  .imp-links-section { padding: 32px 0; }
}

/* ── Faculty/Students page: horizontal scroll hint ── */
@media (max-width: 768px) {
  .data-table-section .data-table-wrapper::after {
    content: '';
    display: none;
  }
  .data-table-section .data-table-wrapper {
    position: relative;
  }
}

/* ── Dept grid: single column on very small ── */
@media (max-width: 360px) {
  .dept-grid { grid-template-columns: 1fr; }
  .officials-grid { grid-template-columns: 1fr 1fr; }
  .slide-content { padding: 0 10px; }
}

/* ── Smooth scrolling ── */
html { scroll-behavior: smooth; }

/* ── Better touch targets for pagination ── */
@media (max-width: 768px) {
  .pagination a,
  .pagination span { width: 40px; height: 40px; font-size: 14px; }
  .pagination { gap: 4px; }
}

/* ── Notification new badge wrapping ── */
@media (max-width: 480px) {
  .notif-item { flex-wrap: wrap; }
  .notif-date { font-size: 10px; }
}

/* ── Topbar: fully hide on very small ── */
@media (max-width: 360px) {
  .topbar { display: none; }
}

/* ── Hero slider touch swipe indicator ── */
@media (max-width: 768px) {
  .slider-dots { bottom: 10px; }
  .dot { width: 8px; height: 8px; }
}

/* ── Fix admin overlay z-index ── */
.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  -webkit-tap-highlight-color: transparent;
}
.admin-overlay.active { display: block; }

/* ── Sticky header on mobile ── */
@media (max-width: 768px) {
  .main-header { position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
}

/* ── Department detail page: stack on mobile ── */
@media (max-width: 768px) {
  [style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:300px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:380px 1fr"],
  [style*="grid-template-columns:360px 1fr"],
  [style*="grid-template-columns:400px 1fr"],
  [style*="grid-template-columns:420px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Admin 2-col layout */
  [style*="grid-template-columns:250px 1fr"],
  [style*="grid-template-columns:380px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Footer on mobile ── */
@media (max-width: 480px) {
  .footer-bottom { font-size: 11px; padding: 14px 0; }
  .footer-top { padding: 30px 0 20px; }
  .footer-col h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 12.5px; margin-bottom: 6px; }
}

/* ── Swipe hint on table ── */
@media (max-width: 768px) {
  .table-scroll-hint {
    font-size: 11.5px;
    color: var(--text-light);
    text-align: right;
    padding: 4px 8px 8px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }
}

/* table-scroll-hint global */
.table-scroll-hint { display: none; }
@media (max-width: 768px) {
  .table-scroll-hint { display: flex !important; }
}
