/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,400&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #8B6914;
  --maroon: #7B1818;
  --maroon-dark: #4A0E0E;
  --cream: #FBF6EC;
  --white: #FFFFFF;
  --charcoal: #1A1A2E;
  --text: #2C2C2C;
  --text-muted: #666;
  --border: #DDD3B0;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Crimson Pro', serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ====== HEADER ====== */
.site-header {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, #6B1515 100%);
  padding: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-top {
  background: var(--maroon-dark);
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gold-light);
  font-family: 'Rajdhani', sans-serif;
}

.header-top a { color: var(--gold-light); text-decoration: none; }

.header-main {
  display: flex;
  align-items: center;
  padding: 12px 30px;
  gap: 20px;
}

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

.logo-emblem {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: var(--maroon-dark);
  font-weight: 700;
  border: 3px solid var(--gold-light);
  flex-shrink: 0;
  text-shadow: none;
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
}

.logo-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.logo-text p {
  font-family: 'Rajdhani', sans-serif;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px;
  padding: 8px 18px; 
  border-radius: var(--radius); 
  text-decoration: none; 
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600; 
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer; 
  border: none; 
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--maroon-dark);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--maroon-dark); }

.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-dark); }

.btn-primary { background: #1565C0; color: white; }
.btn-primary:hover { background: #0D47A1; }

.btn-success { background: #2E7D32; color: white; }
.btn-success:hover { background: #1B5E20; }

.btn-danger { background: #C62828; color: white; }
.btn-danger:hover { background: #B71C1C; }

.btn-sm { padding: 5px 12px; font-size: 13px; }

/* ====== NAVBAR ====== */
.main-nav {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(201,168,76,0.3);
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0 30px;
  overflow-x: auto;
}

.nav-list li a {
  display: block;
  padding: 12px 16px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 40%, #9B2020 100%);
  color: white;
  padding: 80px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23C9A84C" opacity="0.2"/><circle cx="80" cy="80" r="2" fill="%23C9A84C" opacity="0.2"/><circle cx="50" cy="10" r="1.5" fill="%23C9A84C" opacity="0.15"/><circle cx="10" cy="70" r="1.5" fill="%23C9A84C" opacity="0.15"/><circle cx="90" cy="30" r="1" fill="%23C9A84C" opacity="0.1"/></svg>') repeat;
  opacity: 0.5;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 4vw, 42px);
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-style: italic;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ====== SECTIONS ====== */
.section { padding: 60px 30px; }
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: var(--maroon);
  margin-bottom: 8px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 30px; font-style: italic; }

/* ====== STATS CARDS ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--maroon);
  display: block;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.stat-icon { font-size: 32px; margin-bottom: 10px; }

/* ====== CARDS ====== */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.card-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  padding: 16px 20px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
}

.card-body { padding: 20px; }

.card-gold .card-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--maroon-dark);
}

/* ====== GRID LAYOUTS ====== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ====== FORMS ====== */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* ====== TABLES ====== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}

thead th {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 13px;
  white-space: nowrap;
}

tbody td {
  padding: 11px 15px;
  border-bottom: 1px solid #F0E8D5;
  vertical-align: middle;
}

tbody tr:hover { background: #FBF6EC; }
tbody tr:last-child td { border-bottom: none; }

/* ====== BADGES ====== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-danger { background: #FFEBEE; color: #C62828; }
.badge-warning { background: #FFF8E1; color: #F57F17; }
.badge-info { background: #E3F2FD; color: #1565C0; }
.badge-gold { background: #FFF8E1; color: var(--gold-dark); }
.badge-maroon { background: #FCE4EC; color: var(--maroon); }

/* ====== ALERTS ====== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #4CAF50; }
.alert-danger { background: #FFEBEE; color: #C62828; border-left: 4px solid #F44336; }
.alert-warning { background: #FFF8E1; color: #E65100; border-left: 4px solid #FF9800; }
.alert-info { background: #E3F2FD; color: #1565C0; border-left: 4px solid #2196F3; }

/* ====== SIDEBAR LAYOUT ====== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 140px);
}

.sidebar {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, #3A0A0A 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-user {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 10px;
  text-align: center;
}

.sidebar-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: var(--maroon-dark);
  font-weight: 700;
  overflow: hidden;
}

.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-name {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 3px;
}

.sidebar-role {
  font-family: 'Rajdhani', sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav { list-style: none; padding: 0; }

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border-left-color: var(--gold);
}

.sidebar-nav .nav-section {
  padding: 15px 20px 5px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
}

.dashboard-main { padding: 30px; background: var(--cream); }

/* ====== JOB CARD ====== */
.job-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}

.job-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.job-title { font-family: 'Cinzel', serif; font-size: 18px; color: var(--maroon); margin-bottom: 8px; }
.job-company { font-family: 'Rajdhani', sans-serif; color: var(--gold-dark); font-weight: 600; font-size: 15px; }
.job-meta { display: flex; gap: 15px; flex-wrap: wrap; margin: 10px 0; font-size: 13px; color: var(--text-muted); }
.job-meta span { display: flex; align-items: center; gap: 5px; }

/* ====== BUSINESS CARD ====== */
.biz-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.biz-card:hover { transform: translateY(-3px); }
.biz-card-img { height: 160px; background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.biz-card-body { padding: 16px; }
.biz-name { font-family: 'Cinzel', serif; font-size: 16px; color: var(--maroon); margin-bottom: 5px; }

/* ====== EVENT CARD ====== */
.event-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.event-date-box {
  background: var(--maroon);
  color: white;
  padding: 12px;
  text-align: center;
  flex-shrink: 0;
  width: 70px;
}
.event-day { font-family: 'Cinzel', serif; font-size: 28px; font-weight: 700; line-height: 1; }
.event-month { font-family: 'Rajdhani', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ====== ARYA VYSYA HISTORY ====== */
.history-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: white;
  padding: 60px 30px;
}
.history-section .section-title { color: var(--gold); }
.history-section .section-title::after { background: var(--gold); }
.history-content { max-width: 900px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,0.9); }
.history-content p { margin-bottom: 15px; }

/* ====== TRAINING ====== */
.id-card {
  width: 340px;
  min-height: 200px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 2px solid var(--gold);
}
.id-card-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  padding: 12px 16px;
  text-align: center;
  color: var(--gold);
}
.id-card-header h4 { font-family: 'Cinzel', serif; font-size: 14px; }
.id-card-body { display: flex; padding: 16px; gap: 15px; }
.id-card-photo { width: 80px; height: 90px; background: var(--cream); border-radius: 4px; overflow: hidden; flex-shrink: 0; border: 2px solid var(--border); }
.id-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-card-info p { font-size: 13px; margin-bottom: 4px; font-family: 'Rajdhani', sans-serif; }
.id-card-info strong { color: var(--maroon); }
.id-card-footer { background: var(--gold); padding: 8px 16px; text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 12px; color: var(--maroon-dark); font-weight: 700; }

/* ====== PAGINATION ====== */
.pagination { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 20px; }
.page-btn {
  padding: 7px 13px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--maroon); color: white; border-color: var(--maroon); }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 50px 30px 20px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 35px; margin-bottom: 35px; }
.footer-col h4 { font-family: 'Cinzel', serif; color: var(--gold); margin-bottom: 15px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; transition: var(--transition); font-size: 14px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 20px 0; }
.footer-bottom { text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ====== MODAL ====== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 18px;
}
.modal-close { background: none; border: none; color: white; font-size: 22px; cursor: pointer; }
.modal-body { padding: 25px; }
.modal-footer { padding: 15px 25px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ====== SEARCH BOX ====== */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.search-box .form-control { flex: 1; min-width: 200px; }

/* ====== MISC ====== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }
.text-muted { color: var(--text-muted); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.divider { border: none; border-top: 1px solid var(--border); margin: 25px 0; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 56px; margin-bottom: 15px; opacity: 0.5; }
.empty-state h3 { font-family: 'Cinzel', serif; margin-bottom: 8px; color: var(--text-muted); }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .header-main { flex-wrap: wrap; }
  .hero { padding: 50px 20px; }
  .section { padding: 40px 20px; }
}

/* ====== PRINT (for certificates & ID cards) ====== */
@media print {
  .site-header, .site-footer, .sidebar, .btn, nav, .no-print { display: none !important; }
  body { background: white; }
}

/* ═══════════════════════════════════════════════════════════
   SUPPLEMENTAL STYLES — Jobs, Events, Business, Training, Profile
   ═══════════════════════════════════════════════════════════ */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    color: white; padding: 60px 0; text-align: center;
}
.page-hero h1 { font-family: 'Cinzel', serif; font-size: 2rem; margin: 0 0 8px; }
.page-hero p  { opacity: .85; margin: 0; font-size: 1.05rem; }

/* Search / Filter Bar */
.search-filter-bar { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 16px rgba(0,0,0,.08); margin-bottom: 28px; }
.search-input-main { width: 100%; padding: 14px 18px; border: 2px solid var(--gold); border-radius: 8px; font-size: 1rem; margin-bottom: 12px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-row select, .filter-row input[type=text] { padding: 9px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: .9rem; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: #555; }

/* Jobs Grid */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 32px; }
.job-card { background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.07); border-left: 4px solid var(--gold); transition: transform .2s, box-shadow .2s; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(123,24,24,.12); }
.job-card-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.job-company-logo { width: 48px; height: 48px; background: var(--maroon); color: var(--gold); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.job-company-logo.large { width: 72px; height: 72px; font-size: 1.4rem; border-radius: 14px; }
.job-info h3 { font-size: 1rem; margin: 0 0 4px; color: var(--maroon-dark); }
.job-company { font-size: .85rem; color: #666; margin: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.job-meta-item { font-size: .8rem; color: #555; }
.job-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.job-excerpt { font-size: .85rem; color: #666; line-height: 1.5; margin-bottom: 12px; }
.job-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 10px; }

/* Job Detail */
.job-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.job-detail-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.job-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.meta-pill { background: #f5f0e8; color: var(--maroon); padding: 6px 14px; border-radius: 20px; font-size: .85rem; }
.job-description-text { color: #444; line-height: 1.8; }
.job-detail-sidebar { position: sticky; top: 20px; }
.apply-card { border: 2px solid var(--gold); }
.apply-success { text-align: center; padding: 20px 0; }
.apply-success-icon { font-size: 3rem; margin-bottom: 12px; }
.apply-login-box { text-align: center; }
.applicant-info { background: #f9f9f9; border-radius: 8px; padding: 12px; margin-bottom: 16px; font-size: .9rem; }
.related-job-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.related-job-item:last-child { border-bottom: none; }

/* Job Review Cards (Placement) */
.job-review-card { background: #fff; border: 1px solid #e0d5c0; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.job-review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.job-review-desc { background: #faf8f4; border-radius: 8px; padding: 14px; margin-bottom: 12px; font-size: .9rem; color: #444; }
.job-review-actions { display: flex; gap: 10px; }

/* Events Grid */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 32px; }
.event-card { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); transition: transform .2s; }
.event-card:hover { transform: translateY(-4px); }
.event-banner img { width: 100%; height: 180px; object-fit: cover; }
.event-banner-placeholder { height: 120px; background: linear-gradient(135deg, var(--maroon), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.event-card-body { padding: 18px; }
.event-date-badge { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.event-day { font-size: 2rem; font-weight: 700; color: var(--maroon); line-height: 1; }
.event-month { font-size: .85rem; color: #666; text-transform: uppercase; }
.event-card-body h3 { font-size: 1rem; margin: 6px 0; color: var(--maroon-dark); }
.event-meta { display: flex; gap: 12px; font-size: .82rem; color: #666; margin-bottom: 8px; flex-wrap: wrap; }
.event-desc { font-size: .85rem; color: #555; line-height: 1.6; margin: 8px 0; }
.event-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 10px; margin-top: 10px; }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tab { padding: 10px 24px; border-radius: 24px; background: white; border: 2px solid #ddd; color: #555; text-decoration: none; font-weight: 600; transition: all .2s; }
.filter-tab.active { background: var(--maroon); color: var(--gold); border-color: var(--maroon); }

/* Event Detail */
.event-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.event-detail-banner img { width: 100%; border-radius: 12px; max-height: 400px; object-fit: cover; margin-bottom: 20px; }
.event-detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.event-detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #faf8f4; border-radius: 10px; padding: 16px; margin: 16px 0; }
.event-detail-meta-item { display: flex; gap: 10px; align-items: flex-start; }
.meta-icon { font-size: 1.3rem; }
.meta-label { font-size: .75rem; color: #888; text-transform: uppercase; font-weight: 600; }
.meta-value { font-size: .95rem; font-weight: 600; color: var(--maroon-dark); }
.event-description { color: #444; line-height: 1.8; }
.event-detail-sidebar { position: sticky; top: 20px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery-item { border-radius: 8px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.6); color: white; font-size: .7rem; padding: 4px 8px; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
.lightbox-caption { color: #ddd; font-size: .9rem; margin-top: 12px; }

/* Business Directory */
.biz-detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.biz-detail-sidebar { position: sticky; top: 20px; }
.biz-detail-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 16px; }
.biz-logo-large { width: 80px; height: 80px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.biz-logo-large img { width: 100%; height: 100%; object-fit: cover; }
.biz-initials-large { width: 80px; height: 80px; background: var(--maroon); color: var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; flex-shrink: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag { background: #e8f4ea; color: #2a7a30; border: 1px solid #b8debb; border-radius: 20px; padding: 5px 14px; font-size: .85rem; }
.service-tag { background: #e8eef9; color: #1a4fa0; border: 1px solid #b8ccf0; border-radius: 20px; padding: 5px 14px; font-size: .85rem; }
.contact-btn { display: block; width: 100%; text-align: center; padding: 11px; border-radius: 8px; margin-bottom: 10px; font-weight: 600; text-decoration: none; transition: opacity .2s; }
.contact-btn:hover { opacity: .85; }
.call-btn  { background: #e8f4ea; color: #2a7a30; }
.wa-btn    { background: #dcf8c6; color: #128c49; }
.email-btn { background: #e8eef9; color: #1a4fa0; }
.web-btn   { background: #f0ece0; color: var(--maroon); }
.info-table { width: 100%; font-size: .88rem; }
.info-table td { padding: 6px 0; }
.info-table td:first-child { color: #888; width: 40%; }

/* Biz manage */
.biz-manage-row { display: flex; gap: 16px; align-items: center; }
.biz-manage-logo { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.biz-manage-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-initials { width: 56px; height: 56px; background: var(--maroon); color: var(--gold); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; }
.biz-manage-info { flex: 1; }
.biz-manage-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.biz-mini-card { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.biz-mini-card:last-child { border-bottom: none; }

/* Profile */
.profile-layout { display: flex; flex-direction: column; gap: 24px; }
.profile-header { display: flex; gap: 24px; align-items: flex-start; }
.profile-photo-large { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid var(--gold); }
.profile-photo-large img { width: 100%; height: 100%; object-fit: cover; }
.profile-initials-large { width: 100px; height: 100px; background: var(--maroon); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; flex-shrink: 0; border: 4px solid var(--gold); }
.profile-header-info h2 { margin: 0 0 4px; font-family: 'Cinzel', serif; }
.profile-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.profile-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.profile-field { padding: 10px 0; border-bottom: 1px solid #f0ece0; }
.profile-field.full-width { grid-column: 1 / -1; }
.field-label { display: block; font-size: .75rem; text-transform: uppercase; color: #888; font-weight: 600; margin-bottom: 2px; }
.field-value { font-size: .95rem; color: #333; }
.profile-photo-upload { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.profile-photo-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }

/* Training Enrollment */
.enrollment-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.programs-list-vertical { display: flex; flex-direction: column; gap: 10px; }
.program-select-card { display: flex; gap: 12px; align-items: center; background: white; border: 2px solid #ddd; border-radius: 10px; padding: 14px; text-decoration: none; color: #333; transition: all .2s; }
.program-select-card:hover, .program-select-card.selected { border-color: var(--maroon); background: #fdf8f0; }
.program-select-icon { font-size: 1.6rem; }
.batch-selector { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.batch-option { display: flex; gap: 12px; align-items: flex-start; background: white; border: 2px solid #ddd; border-radius: 10px; padding: 14px; cursor: pointer; transition: border-color .2s; }
.batch-option:has(input:checked) { border-color: var(--maroon); background: #fdf8f0; }
.batch-option.batch-full { opacity: .5; cursor: not-allowed; }
.batch-option-body { flex: 1; }
.batch-seats { font-size: .82rem; font-weight: 600; margin-top: 4px; }

/* Certificates */
.certificate { width: 800px; max-width: 100%; background: white; }
.cert-border { border: 16px solid var(--maroon); padding: 40px; position: relative; }
.cert-border::before { content: ''; position: absolute; inset: 8px; border: 2px solid var(--gold); pointer-events: none; }
.cert-header { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--gold); }
.cert-emblem { font-size: 3rem; }
.cert-org-name { font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--maroon-dark); font-weight: 700; }
.cert-org-sub  { font-size: .85rem; color: #666; }
.cert-program  { font-size: .8rem; color: var(--maroon); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.cert-title { font-family: 'Cinzel', serif; font-size: 2rem; color: var(--maroon); text-align: center; margin: 24px 0 20px; }
.cert-body  { text-align: center; }
.cert-intro { color: #666; margin-bottom: 8px; }
.cert-student-name { font-family: 'Cinzel', serif; font-size: 2.2rem; color: var(--maroon-dark); margin: 12px 0 4px; }
.cert-student-id { color: #888; font-size: .9rem; margin-bottom: 16px; }
.cert-text { color: #555; line-height: 1.8; margin: 8px 0; }
.cert-program-name { font-size: 1.5rem; font-weight: 700; color: var(--gold-dark, #a07830); margin: 12px 0; }
.cert-grade { background: #fdf8f0; border: 2px solid var(--gold); border-radius: 8px; display: inline-block; padding: 10px 32px; margin: 16px 0; font-size: 1.1rem; color: var(--maroon); }
.cert-remarks { color: #666; font-style: italic; }
.cert-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--gold); }
.cert-sig-block { text-align: center; }
.cert-sig-line { width: 140px; border-top: 1px solid #888; margin-bottom: 8px; }
.cert-sig-label { font-size: .85rem; font-weight: 600; color: var(--maroon-dark); }
.cert-sig-org   { font-size: .78rem; color: #666; }
.cert-no-block  { text-align: center; }
.cert-no        { font-size: .82rem; color: #555; }
.cert-issued    { font-size: .78rem; color: #888; }
.cert-website   { font-size: .75rem; color: #999; margin-top: 4px; }

/* Misc utilities */
.mt-2  { margin-top: .5rem; }
.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.ml-2  { margin-left: .5rem; }
.mb-3  { margin-bottom: 1rem; }
.text-gold { color: var(--gold-dark, #a07830); }
.text-success { color: #2a7a30; }
.text-danger  { color: #c0392b; }
.btn-xs { padding: 4px 10px; font-size: .75rem; }
.btn-full { width: 100%; display: block; text-align: center; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon  { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--maroon); margin-bottom: 8px; }
.form-section-title { color: var(--maroon); font-family: 'Cinzel', serif; font-size: 1rem; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }

/* Responsive */
@media (max-width: 768px) {
    .job-detail-layout, .event-detail-layout, .biz-detail-layout, .enrollment-layout { grid-template-columns: 1fr; }
    .event-detail-meta-grid { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    .profile-details-grid { grid-template-columns: 1fr; }
    .cert-border { padding: 20px; }
    .cert-footer { flex-direction: column; gap: 20px; align-items: center; }
    .cert-student-name { font-size: 1.5rem; }
}

/* ── Auth pages ──────────────────────────────────────────── */
.auth-page { background: #faf8f4; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-container { background: white; border-radius: 16px; padding: 40px; box-shadow: 0 8px 40px rgba(123,24,24,.15); width: 100%; max-width: 440px; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-emblem { font-size: 3rem; margin-bottom: 10px; }
.auth-logo h1 { font-family: 'Cinzel', serif; color: var(--maroon); font-size: 1.5rem; margin: 0 0 4px; }
.auth-logo p  { color: #888; margin: 0; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: #444; }
.auth-form input, .auth-form select, .auth-form textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 8px; font-size: .95rem; transition: border-color .2s; box-sizing: border-box; }
.auth-form input:focus, .auth-form select:focus { border-color: var(--maroon); outline: none; }
.auth-links { text-align: center; margin-top: 20px; color: #666; font-size: .9rem; }
.auth-links a { color: var(--maroon); }
.auth-tabs { display: flex; border-bottom: 2px solid #eee; margin-bottom: 20px; }
.auth-tab { flex: 1; text-align: center; padding: 12px; text-decoration: none; color: #888; font-weight: 600; border-bottom: 3px solid transparent; transition: all .2s; }
.auth-tab.active { color: var(--maroon); border-bottom-color: var(--maroon); }

/* ── Dashboard layout ────────────────────────────────────── */
.dashboard-body { background: #f5f0e8; min-height: 100vh; margin: 0; font-family: 'Rajdhani', sans-serif; }
.dashboard-wrapper { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: var(--maroon-dark, #5a0e0e); color: white; flex-shrink: 0; display: flex; flex-direction: column; }
.sidebar-logo { padding: 24px 20px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid rgba(201,168,76,.3); }
.sidebar-emblem { font-size: 2rem; }
.sidebar-title { font-family: 'Cinzel', serif; font-size: .95rem; color: var(--gold); font-weight: 700; }
.sidebar-subtitle { font-size: .78rem; color: rgba(255,255,255,.6); }
.sidebar-nav { padding: 16px 0; flex: 1; }
.nav-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; transition: all .2s; }
.nav-item:hover { background: rgba(201,168,76,.15); color: var(--gold); }
.nav-item.active { background: rgba(201,168,76,.2); color: var(--gold); border-right: 3px solid var(--gold); }
.nav-logout { color: rgba(255,150,150,.8); margin-top: auto; }
.nav-logout:hover { background: rgba(255,100,100,.15); color: #ff9999; }
.dashboard-main { flex: 1; padding: 28px; overflow-x: hidden; }
.dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.dashboard-header h2 { font-family: 'Cinzel', serif; color: var(--maroon-dark, #5a0e0e); margin: 0; font-size: 1.4rem; }
.dashboard-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* ── Cards ───────────────────────────────────────────────── */
.card { background: white; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.07); margin-bottom: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid #f0ece0; display: flex; justify-content: space-between; align-items: center; }
.card-header h3, .card-header h4 { margin: 0; font-family: 'Cinzel', serif; color: var(--maroon); font-size: 1rem; }
.card-body { padding: 20px; }

/* ── Stats cards ─────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.07); border-top: 4px solid var(--gold); }
.stat-icon  { font-size: 1.8rem; margin-bottom: 8px; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--maroon); font-family: 'Cinzel', serif; }
.stat-label { font-size: .8rem; color: #888; text-transform: uppercase; letter-spacing: .5px; }

/* ── Designation bar chart ───────────────────────────────── */
.desig-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.desig-label { min-width: 90px; font-size: .85rem; color: #555; font-weight: 600; }
.desig-bar-track { flex: 1; background: #f0ece0; border-radius: 6px; height: 22px; overflow: hidden; }
.desig-bar-fill { height: 100%; border-radius: 6px; transition: width .6s ease; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; }
.desig-bar-pct { font-size: .72rem; color: rgba(255,255,255,.9); font-weight: 600; }
.desig-count { min-width: 60px; text-align: right; font-weight: 700; color: var(--maroon); font-size: .88rem; }

/* ── Alerts ──────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 16px; font-size: .92rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning  { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info     { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── Badges ──────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.badge-success  { background: #d4edda; color: #155724; }
.badge-danger   { background: #f8d7da; color: #721c24; }
.badge-warning  { background: #fff3cd; color: #856404; }
.badge-info     { background: #d1ecf1; color: #0c5460; }
.badge-primary  { background: #cce5ff; color: #004085; }
.badge-secondary{ background: #e2e3e5; color: #383d41; }
.badge-gold     { background: #fdf3d0; color: #7a5900; border: 1px solid var(--gold); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all .2s; font-family: 'Rajdhani', sans-serif; line-height: 1.2; }
.btn-primary { background: var(--maroon); color: var(--gold); border-color: var(--maroon); }
.btn-primary:hover { background: var(--maroon-dark, #5a0e0e); }
.btn-success { background: #28a745; color: white; border-color: #28a745; }
.btn-success:hover { background: #1e7e34; }
.btn-danger  { background: #dc3545; color: white; border-color: #dc3545; }
.btn-danger:hover  { background: #bd2130; }
.btn-warning { background: #ffc107; color: #333; border-color: #ffc107; }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--gold); }
.btn-sm  { padding: 7px 14px; font-size: .82rem; }
.btn-xs  { padding: 4px 10px; font-size: .75rem; }
.btn-full{ width: 100%; text-align: center; display: block; }

/* ── Forms ───────────────────────────────────────────────── */
.form-grid .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: #444; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=tel],
.form-group input[type=password], .form-group input[type=date], .form-group input[type=number],
.form-group input[type=url], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px;
    font-size: .92rem; transition: border-color .2s; box-sizing: border-box; font-family: 'Rajdhani', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--maroon); outline: none; }
.form-group.full-width { grid-column: 1 / -1; }
.text-muted { color: #888; }
.small      { font-size: .82rem; }
.text-center{ text-align: center; }

/* ── Tables ──────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th { background: #faf8f4; color: var(--maroon); font-weight: 700; padding: 10px 12px; text-align: left; border-bottom: 2px solid var(--gold); white-space: nowrap; }
.data-table td { padding: 10px 12px; border-bottom: 1px solid #f0ece0; vertical-align: middle; }
.data-table tr:hover td { background: #faf8f4; }

/* ── Mini list items ─────────────────────────────────────── */
.mini-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0ece0; }
.mini-list-item:last-child { border-bottom: none; }

/* ── Profile thumb in header ─────────────────────────────── */
.profile-thumb { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); }
.profile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.profile-initials { width: 48px; height: 48px; background: var(--maroon); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.page-link { padding: 8px 14px; border-radius: 6px; border: 1.5px solid #ddd; color: #555; text-decoration: none; font-weight: 600; transition: all .2s; }
.page-link.active { background: var(--maroon); color: var(--gold); border-color: var(--maroon); }
.page-link:hover { border-color: var(--maroon); color: var(--maroon); }

/* ── CSS variables ───────────────────────────────────────── */
:root {
    --maroon:      #7B1818;
    --maroon-dark: #5a0e0e;
    --gold:        #C9A84C;
    --gold-dark:   #a07830;
}

/* ── Global resets ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Rajdhani', 'Segoe UI', sans-serif; color: #333; }
a { color: var(--maroon); }
h1,h2,h3,h4 { margin-top: 0; }
p { margin-top: 0; }
img { max-width: 100%; }

@media (max-width: 768px) {
    .dashboard-wrapper { flex-direction: column; }
    .sidebar { width: 100%; }
    .dashboard-two-col { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid .form-row { grid-template-columns: 1fr; }
}

/* ── Business Directory Grid ─────────────────────────────── */
.biz-directory-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; margin-bottom:32px; }
.biz-dir-card { background:white; border-radius:12px; padding:20px; box-shadow:0 2px 12px rgba(0,0,0,.07); border-top:4px solid var(--gold); display:flex; flex-direction:column; gap:12px; }
.biz-dir-header { display:flex; gap:14px; align-items:flex-start; }
.biz-dir-logo { width:52px; height:52px; border-radius:10px; overflow:hidden; flex-shrink:0; }
.biz-dir-logo img { width:100%; height:100%; object-fit:cover; }
.biz-dir-initials { width:52px; height:52px; background:var(--maroon); color:var(--gold); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; font-weight:700; }
.biz-dir-info h3 { margin:0 0 4px; font-size:.97rem; color:var(--maroon-dark); }
.biz-dir-tags { display:flex; flex-wrap:wrap; gap:5px; }
.biz-dir-footer { display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:10px; border-top:1px solid #f0ece0; }
