/* CameraRental.in — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0EA5E9;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg: #FFFFFF;
  --bg-section: #F8FAFC;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.05);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ─── NAVBAR ─────────────────────────────── */
.navbar-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--primary) !important; }
.navbar { background: #fff !important; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.navbar .nav-link { font-weight: 500; color: var(--text) !important; padding: .5rem 1rem !important; border-radius: var(--radius-sm); transition: background .2s, color .2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { background: var(--primary-light); color: var(--primary) !important; }

/* ─── HERO ────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563EB 50%, #0ea5e9 100%);
  min-height: 580px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.2; }
.hero-subtitle { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; }
.hero-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  margin-top: 2rem;
}
.hero-search-box .form-control, .hero-search-box .form-select {
  border: 1px solid var(--border);
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}
.hero-search-box .form-control:focus, .hero-search-box .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ─── BUTTONS ─────────────────────────────── */
.btn { font-family: var(--font-heading); font-weight: 600; border-radius: var(--radius-sm); transition: all .2s; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.35); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-secondary-custom { background: #fff; color: var(--primary); border: 2px solid #fff; }
.btn-secondary-custom:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-light); }

/* ─── CARDS ───────────────────────────────── */
.card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-img-top { border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; }

/* ─── EQUIPMENT CARD ──────────────────────── */
.equipment-card { position: relative; overflow: hidden; }
a.equipment-card { color: inherit; }
a.equipment-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
a.equipment-card .card-body h6 { color: var(--text); }

.equipment-card .img-wrap { position: relative; overflow: hidden; height: 200px; }
.equipment-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.equipment-card:hover .img-wrap img { transform: scale(1.05); }
.equipment-card .badge-featured { position: absolute; top: 10px; left: 10px; background: var(--warning); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.equipment-card .wishlist-btn { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.equipment-card .wishlist-btn:hover, .equipment-card .wishlist-btn.active { background: #fff; color: #ef4444; }
.equipment-card .price-tag { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.equipment-card .per-day { font-size: .75rem; color: var(--text-muted); }
.equipment-card .location { font-size: .82rem; color: var(--text-muted); }

/* ─── CATEGORY CARDS ──────────────────────── */
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none !important;
  color: var(--text) !important;
  display: block;
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-card .icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.4rem; color: var(--primary); }
.category-card .name { font-weight: 600; font-size: .9rem; }

/* ─── VENDOR CARD ─────────────────────────── */
.vendor-card { padding: 1.5rem; }
.vendor-card .logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.vendor-card .vendor-name { font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.vendor-card .stats span { font-size: .8rem; color: var(--text-muted); }

/* ─── STEPS / HOW IT WORKS ────────────────── */
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-num { width: 56px; height: 56px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin: 0 auto 1rem; }
.step-connector { position: relative; }
.step-connector::after { content: '→'; position: absolute; right: -10px; top: 28px; font-size: 1.5rem; color: var(--border); }

/* ─── SECTION HEADERS ─────────────────────── */
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.section-subtitle { color: var(--text-muted); font-size: .95rem; max-width: 600px; }
.divider { width: 48px; height: 4px; background: var(--primary); border-radius: 2px; margin: .75rem 0 1rem; }

/* ─── TESTIMONIALS ────────────────────────── */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.testimonial-card .quote { font-style: italic; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.testimonial-card .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ─── FAQ ─────────────────────────────────── */
.accordion-button { font-weight: 600; font-size: .95rem; background: #fff !important; color: var(--text) !important; }
.accordion-button:not(.collapsed) { color: var(--primary) !important; }
.accordion-button::after { filter: none; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm) !important; margin-bottom: .5rem; overflow: hidden; }

/* ─── FORMS ───────────────────────────────── */
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-label { font-weight: 500; font-size: .88rem; color: var(--text); margin-bottom: .4rem; }
.invalid-feedback { font-size: .8rem; }

/* ─── AUTH PAGES ──────────────────────────── */
.auth-container { min-height: 100vh; background: var(--bg-section); display: flex; align-items: center; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; }
.auth-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }

/* ─── DASHBOARD ───────────────────────────── */
.dashboard-sidebar { background: #fff; border-right: 1px solid var(--border); min-height: calc(100vh - 70px); padding: 1.5rem 0; width: 260px; flex-shrink: 0; }
.sidebar-nav .nav-link { color: var(--text-muted) !important; font-weight: 500; font-size: .9rem; padding: .6rem 1.5rem; border-radius: 0; display: flex; align-items: center; gap: .75rem; transition: all .2s; }
.sidebar-nav .nav-link i { width: 18px; text-align: center; }
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active { background: var(--primary-light); color: var(--primary) !important; border-right: 3px solid var(--primary); }
.dashboard-content { flex: 1; padding: 2rem; background: var(--bg-section); min-height: calc(100vh - 70px); }
.dashboard-wrap { display: flex; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.stat-card .icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-card .value { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.stat-card .label { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; }

/* ─── EQUIPMENT DETAIL ────────────────────── */
.eq-gallery .main-img { border-radius: var(--radius); overflow: hidden; max-height: 420px; }
.eq-gallery .main-img img { width: 100%; height: 420px; object-fit: cover; }
.eq-thumbs { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.eq-thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid var(--border); transition: border-color .2s; }
.eq-thumbs img:hover, .eq-thumbs img.active { border-color: var(--primary); }
.price-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-md); }
.price-box .price-main { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); }

/* ─── BOOKING SUMMARY ─────────────────────── */
.booking-summary-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.booking-summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; }

/* ─── AVAILABILITY CALENDAR ───────────────── */
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal-day { text-align: center; padding: 6px 4px; border-radius: 4px; font-size: .78rem; cursor: pointer; transition: background .15s; }
.cal-day.blocked { background: #fee2e2; color: #ef4444; cursor: not-allowed; }
.cal-day.available:hover { background: var(--primary-light); color: var(--primary); }
.cal-day.selected { background: var(--primary); color: #fff; }
.cal-day.in-range { background: var(--primary-light); color: var(--primary); }
.cal-day.today { font-weight: 700; border: 1px solid var(--primary); }

/* ─── ADMIN PANEL ─────────────────────────── */
.admin-sidebar { background: #1e293b; width: 250px; min-height: calc(100vh - 60px); padding: 1rem 0; flex-shrink: 0; }
.admin-sidebar .nav-link { color: #94a3b8 !important; font-size: .875rem; padding: .6rem 1.25rem; display: flex; align-items: center; gap: .75rem; transition: all .2s; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(37,99,235,.2); color: #fff !important; }
.admin-sidebar .nav-link i { width: 16px; }
.admin-sidebar .sidebar-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #475569; padding: 1rem 1.25rem .35rem; }
.admin-content { flex: 1; background: var(--bg-section); padding: 2rem; min-height: calc(100vh - 60px); }
.admin-navbar { background: #1e293b !important; border-bottom: none !important; }
.admin-navbar .navbar-brand { color: #fff !important; }
.admin-navbar .nav-link { color: #94a3b8 !important; }

/* ─── TABLES ──────────────────────────────── */
.table-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.table { margin-bottom: 0; }
.table thead th { background: var(--bg-section); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); border-bottom: 1px solid var(--border); padding: .875rem 1rem; }
.table tbody td { padding: .875rem 1rem; vertical-align: middle; font-size: .9rem; border-color: var(--border); }
.table-hover tbody tr:hover { background: var(--bg-section); }

/* ─── BADGES ──────────────────────────────── */
.badge { font-size: .72rem; font-weight: 600; padding: .35em .65em; border-radius: 20px; }

/* ─── ALERTS ──────────────────────────────── */
.alert { border-radius: var(--radius-sm); border: none; font-size: .9rem; }
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info { background: #eff6ff; color: #1e40af; }

/* ─── FOOTER ──────────────────────────────── */
.footer { background: #111827; color: #9ca3af; padding: 4rem 0 2rem; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.25rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.footer a { color: #9ca3af; font-size: .9rem; display: block; margin-bottom: .5rem; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 1.5rem; margin-top: 2rem; font-size: .85rem; }
.footer .brand-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #fff; }
.footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #1f2937; border-radius: 50%; color: #9ca3af; transition: all .2s; margin-right: .5rem; }
.footer .social-links a:hover { background: var(--primary); color: #fff; }

/* ─── SEARCH & FILTER ─────────────────────── */
.filter-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.filter-sidebar h6 { font-weight: 700; font-size: .9rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.price-range-inputs { display: flex; gap: .5rem; align-items: center; }
.price-range-inputs input { width: 90px; }

/* ─── NOTIFICATIONS ───────────────────────── */
.notif-item { padding: .875rem 1rem; border-bottom: 1px solid var(--border); display: flex; gap: .875rem; transition: background .15s; }
.notif-item:hover { background: var(--bg-section); }
.notif-item.unread { background: var(--primary-light); }
.notif-item .icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }

/* ─── MESSAGES ────────────────────────────── */
.chat-wrap { display: flex; height: calc(100vh - 200px); min-height: 500px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.chat-list { width: 300px; border-right: 1px solid var(--border); overflow-y: auto; flex-shrink: 0; }
.chat-list-item { padding: 1rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.chat-list-item:hover, .chat-list-item.active { background: var(--primary-light); }
.chat-messages { flex: 1; display: flex; flex-direction: column; }
.chat-body { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.chat-footer { padding: 1rem; border-top: 1px solid var(--border); display: flex; gap: .75rem; }
.msg-bubble { max-width: 70%; padding: .6rem 1rem; border-radius: 16px; font-size: .9rem; }
.msg-bubble.sent { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-bubble.received { background: var(--bg-section); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }

/* ─── BREADCRUMB ──────────────────────────── */
.breadcrumb-section { background: var(--bg-section); padding: .875rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb { margin-bottom: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--border); }
.breadcrumb-item a { color: var(--text-muted); font-size: .85rem; }
.breadcrumb-item.active { color: var(--text); font-size: .85rem; }

/* ─── STARS ───────────────────────────────── */
.star-input { display: flex; flex-direction: row-reverse; gap: .25rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.5rem; color: #d1d5db; cursor: pointer; transition: color .15s; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--warning); }

/* ─── UTILITY ─────────────────────────────── */
.bg-primary-soft { background: var(--primary-light); }
.text-primary { color: var(--primary) !important; }
.rounded-custom { border-radius: var(--radius); }
.shadow-custom { box-shadow: var(--shadow-md); }
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.page-header { background: linear-gradient(135deg, #1e3a8a, #2563EB); padding: 3rem 0; color: #fff; }
.page-header h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-header .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ─── AVAILABILITY BADGE ──────────────────── */
.avail-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; }
.avail-badge .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ─── LOADER ──────────────────────────────── */
.page-loader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .4s; }
.spinner-primary { color: var(--primary); }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 991px) {
  .dashboard-sidebar { display: none; }
  .dashboard-sidebar.show { display: block; position: fixed; left: 0; top: 0; height: 100vh; z-index: 1040; box-shadow: var(--shadow-lg); }
  .admin-sidebar { display: none; }
  .chat-list { width: 240px; }
}
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 3rem 0; }
  .hero-search-box { padding: 1rem; }
  .section-pad { padding: 3rem 0; }
  .eq-gallery .main-img img { height: 250px; }
  .chat-wrap { flex-direction: column; height: auto; }
  .chat-list { width: 100%; max-height: 200px; }
  .step-connector::after { display: none; }
}

/* ─── BUTTONS ─────────────────────────────── */
.btn-primary-custom { background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); padding: .6rem 1.4rem; font-weight: 600; font-size: .9rem; transition: background .2s, transform .1s, box-shadow .2s; }
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,.35); transform: translateY(-1px); }
.btn-secondary-custom { background: var(--secondary); color: #fff; border: none; border-radius: var(--radius-sm); padding: .6rem 1.4rem; font-weight: 600; }
.btn-outline-custom { background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: var(--radius-sm); padding: .55rem 1.35rem; font-weight: 600; transition: all .2s; }
.btn-outline-custom:hover { background: var(--primary); color: #fff; }

/* ─── SECTIONS ────────────────────────────── */
.section { padding: 4rem 0; }
.section-title { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.section-subtitle { color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.section-header { margin-bottom: 2.5rem; }

/* ─── EQUIPMENT CARD ──────────────────────── */
.equipment-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; height: 100%; }
.equipment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.equipment-card-img { width: 100%; height: 200px; object-fit: cover; }
.equipment-card-body { padding: 1rem; }
.equipment-card-category { font-size: .75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.equipment-card-title { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; line-height: 1.3; }
.equipment-card-title a { color: inherit; }
.equipment-card-title a:hover { color: var(--primary); }
.equipment-card-location { font-size: .82rem; color: var(--text-muted); margin-bottom: .6rem; }
.equipment-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--border); margin-top: .6rem; }
.price-main { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.price-unit { font-size: .78rem; color: var(--text-muted); font-weight: 400; }
.wishlist-btn { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: var(--text-muted); padding: .2rem; line-height: 1; transition: color .2s, transform .2s; }
.wishlist-btn:hover, .wishlist-btn.active { color: #ef4444; transform: scale(1.2); }

/* ─── CATEGORY CARDS ──────────────────────── */
.category-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 1rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, background .2s; gap: .5rem; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--primary-light); color: var(--primary); }
.category-card-icon { font-size: 2rem; color: var(--primary); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); border-radius: 50%; }
.category-card-name { font-weight: 600; font-size: .9rem; }
.category-card-count { font-size: .78rem; color: var(--text-muted); }

/* ─── VENDOR CARD ─────────────────────────── */
.vendor-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.vendor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vendor-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.vendor-name { font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: .15rem; }
.vendor-meta { font-size: .8rem; color: var(--text-muted); }

/* ─── TESTIMONIALS ────────────────────────── */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; gap: .8rem; }
.testimonial-text { font-size: .93rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }

/* ─── HOW IT WORKS ────────────────────────── */
.how-step { padding: 2rem 1rem; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: .8rem; }
.step-title { font-weight: 600; margin-bottom: .4rem; }
.step-desc { color: var(--text-muted); font-size: .9rem; }

/* ─── EQUIPMENT DETAIL ────────────────────── */
.equip-detail-title { font-size: clamp(1.3rem,3vw,1.8rem); font-weight: 700; margin-bottom: .5rem; }
.equip-detail-gallery { border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; opacity: .65; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--primary); }
.booking-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); padding: 1.5rem; position: sticky; top: 80px; }
.booking-card-price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.booking-breakdown { background: var(--bg-section); border-radius: var(--radius-sm); padding: 1rem; margin-top: 1rem; }
.breakdown-row { display: flex; justify-content: space-between; font-size: .88rem; padding: .3rem 0; color: var(--text-muted); }
.breakdown-total { font-weight: 700; color: var(--text); font-size: 1rem; border-top: 1px solid var(--border); padding-top: .5rem; margin-top: .3rem; }

/* ─── REVIEW CARD ─────────────────────────── */
.review-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.2rem; margin-bottom: 1rem; }
.review-card-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vendor-reply { background: var(--bg-section); border-left: 3px solid var(--primary); padding: .8rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: .8rem; font-size: .88rem; }

/* ─── DASHBOARD SIDEBAR ───────────────────── */
.admin-sidebar { width: 240px; min-height: calc(100vh - 56px); background: #1e293b; padding: 1rem 0; position: fixed; left: 0; top: 56px; overflow-y: auto; z-index: 100; transition: transform .25s; }
.admin-content { margin-left: 240px; padding: 1.5rem; min-height: calc(100vh - 56px); }
.admin-navbar { background: #1e293b !important; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-navbar .navbar-brand { color: #fff !important; font-size: 1.1rem; }
.admin-sidebar .sidebar-heading { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 1rem 1rem .4rem; }
.admin-sidebar .nav-link { display: flex; align-items: center; gap: .7rem; padding: .55rem 1rem; color: rgba(255,255,255,.65); border-radius: 0; font-size: .88rem; transition: background .15s, color .15s; text-decoration: none; }
.admin-sidebar .nav-link i { width: 16px; text-align: center; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar .nav-link.active { border-left: 3px solid var(--primary); }

/* ─── VENDOR/CUSTOMER DASHBOARD ──────────── */
.vendor-sidebar { width: 240px; min-height: calc(100vh - 56px); background: #0f172a; padding: 1rem 0; position: fixed; left: 0; top: 56px; overflow-y: auto; z-index: 100; }
.vendor-content { margin-left: 240px; padding: 1.5rem; }
.vendor-navbar { background: var(--primary) !important; }
.dash-stat-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.4rem; display: flex; align-items: center; gap: 1.2rem; }
.dash-stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.dash-stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.dash-stat-label { font-size: .82rem; color: var(--text-muted); margin-top: .2rem; }

/* ─── STATUS BADGES ───────────────────────── */
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-completed { background: #dbeafe; color: #1e40af; }
.badge-cancelled { background: #f1f5f9; color: #64748b; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ─── TABLES ──────────────────────────────── */
.data-table { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.data-table th { background: var(--bg-section); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: .9rem 1rem; border: none; white-space: nowrap; }
.data-table td { padding: .85rem 1rem; vertical-align: middle; border-color: var(--border); font-size: .9rem; }

/* ─── FORMS ───────────────────────────────── */
.form-label { font-weight: 500; font-size: .88rem; color: var(--text); margin-bottom: .35rem; }
.form-control, .form-select { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .6rem .9rem; font-size: .9rem; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .25rem; }

/* ─── AUTH PAGES ──────────────────────────── */
.auth-section { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%); padding: 2rem 0; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 8px 30px rgba(0,0,0,.1); padding: 2.5rem; width: 100%; }
.auth-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); text-align: center; margin-bottom: 1.5rem; }
.auth-logo i { margin-right: .4rem; }
.auth-title { font-size: 1.6rem; text-align: center; font-weight: 700; margin-bottom: .3rem; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 1.8rem; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 1rem 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; display: inline-block; width: 40%; height: 1px; background: var(--border); vertical-align: middle; margin: 0 .5rem; }

/* ─── CTA SECTION ─────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 5rem 0; text-align: center; color: #fff; }
.cta-title { font-size: clamp(1.6rem,4vw,2.5rem); font-weight: 800; color: #fff; margin-bottom: .8rem; }
.cta-subtitle { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ─── FAQ ─────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius) !important; margin-bottom: .6rem; overflow: hidden; }
.faq-item .accordion-button { font-weight: 500; background: #fff; color: var(--text); }
.faq-item .accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--primary); box-shadow: none; }

/* ─── FOOTER ──────────────────────────────── */
.site-footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 4rem 0 1.5rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .8rem; }
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 260px; }
.footer-heading { font-weight: 700; color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color .2s; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: .82rem; }
.social-links { display: flex; gap: .8rem; margin-top: 1rem; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .9rem; transition: background .2s, color .2s; text-decoration: none; }
.social-link:hover { background: var(--primary); color: #fff; }

/* ─── FILTER SIDEBAR ──────────────────────── */
.filter-sidebar { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.4rem; position: sticky; top: 80px; }
.filter-title { font-weight: 700; margin-bottom: 1.2rem; font-family: var(--font-heading); }
.filter-group { margin-bottom: 1.2rem; }
.filter-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .5rem; }

/* ─── TOAST ───────────────────────────────── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; }
.toast-notification { background: #1e293b; color: #fff; border-radius: var(--radius); padding: .8rem 1.2rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-lg); font-size: .9rem; min-width: 280px; animation: slideUp .3s ease; }
.toast-notification.success { border-left: 3px solid var(--success); }
.toast-notification.error { border-left: 3px solid var(--danger); }
.toast-notification.info { border-left: 3px solid var(--secondary); }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ─── MISC ────────────────────────────────── */
.page-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 3rem 0; color: #fff; }
.page-banner h1 { color: #fff; font-size: clamp(1.5rem,4vw,2.2rem); }
.breadcrumb-item a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .3; }
.stars i { color: #f59e0b; font-size: .85rem; }
.img-placeholder { background: linear-gradient(135deg, var(--primary-light), var(--border)); display: flex; align-items: center; justify-content: center; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar, .vendor-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open, .vendor-sidebar.open { transform: translateX(0); }
  .admin-content, .vendor-content { margin-left: 0; }
  .gallery-main-img { height: 280px; }
}
@media (max-width: 767.98px) {
  .section { padding: 2.5rem 0; }
  .hero-section { min-height: 420px; }
  .hero-title { font-size: 1.7rem; }
  .booking-card { position: static; }
  .auth-card { padding: 1.8rem 1.2rem; }
}

/* ─── DASHBOARD WRAP (vendor/customer panels) ─── */
.dashboard-wrap { display: flex; min-height: calc(100vh - 56px); }
.dashboard-content { flex: 1; padding: 1.5rem 1.8rem; max-width: 100%; overflow-x: hidden; }

/* Customer / Vendor shared sidebar */
.vendor-sidebar-nav, .customer-sidebar-nav {
  width: 230px; min-height: 100%; flex-shrink: 0;
  background: #0f172a; padding: 1.5rem 0;
}
.sidebar-nav-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 1.2rem; color: rgba(255,255,255,.6);
  font-size: .88rem; text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.sidebar-nav-link:hover, .sidebar-nav-link.active {
  background: rgba(255,255,255,.07); color: #fff;
}
.sidebar-nav-link.active { border-left-color: var(--primary); }
.sidebar-nav-link i { width: 16px; text-align: center; }
.sidebar-section { font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.3); padding: 1rem 1.2rem .3rem; }

/* Table wrap (prevents overflow) */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table-wrap table { min-width: 600px; }

/* Stat cards row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow); }
.stat-card-value { font-size: 1.7rem; font-weight: 800; font-family: var(--font-heading); }
.stat-card-label { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.stat-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: .8rem; }
.icon-blue   { background: #dbeafe; color: #2563eb; }
.icon-green  { background: #d1fae5; color: #059669; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-yellow { background: #fef3c7; color: #d97706; }

/* Earnings bar chart (vendor) */
.earnings-bar-row { display: flex; align-items: center; gap: .8rem; padding: .4rem 0; font-size: .85rem; }
.earnings-bar-label { width: 40px; text-align: right; color: var(--text-muted); }
.earnings-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.earnings-bar-fill { height: 100%; background: var(--primary); border-radius: 99px; transition: width .4s ease; }
.earnings-bar-value { width: 70px; color: var(--text); font-weight: 600; }

/* Messages panel */
.messages-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 0; height: calc(100vh - 180px); min-height: 400px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.messages-sidebar { border-right: 1px solid var(--border); overflow-y: auto; }
.messages-sidebar-item { padding: .9rem 1rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.messages-sidebar-item:hover, .messages-sidebar-item.active { background: var(--primary-light); }
.messages-main { display: flex; flex-direction: column; }
.messages-header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); background: var(--bg-section); }
.messages-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.msg-bubble { max-width: 70%; padding: .65rem 1rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.msg-sent { align-self: flex-end; }
.msg-sent .msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-received { align-self: flex-start; }
.msg-received .msg-bubble { background: var(--bg-section); border-bottom-left-radius: 4px; }
.msg-time { font-size: .72rem; color: var(--text-muted); margin-top: .2rem; display: block; }
.messages-footer { padding: .8rem 1rem; border-top: 1px solid var(--border); }

/* Notification items */
.notif-item { display: flex; align-items: flex-start; gap: .8rem; padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.notif-item.unread { background: var(--primary-light); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: .4rem; }
.notif-title { font-weight: 600; font-size: .9rem; }
.notif-msg { font-size: .83rem; color: var(--text-muted); }
.notif-time { font-size: .75rem; color: var(--text-muted); }

@media (max-width: 767.98px) {
  .messages-wrap { grid-template-columns: 1fr; height: auto; }
  .messages-sidebar { max-height: 220px; }
  .dashboard-wrap { flex-direction: column; }
  .vendor-sidebar-nav, .customer-sidebar-nav { width: 100%; min-height: auto; }
  .dashboard-content { padding: 1rem; }
}

/* ─── CHAT / MESSAGES ─────────────────────── */
.chat-wrap { display: grid; grid-template-columns: 260px 1fr; height: 600px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.chat-list { border-right: 1px solid var(--border); overflow-y: auto; }
.chat-list-item { display: block; padding: .85rem 1rem; border-bottom: 1px solid var(--border); transition: background .15s; }
.chat-list-item:hover, .chat-list-item.active { background: var(--primary-light); }
.chat-messages { display: flex; flex-direction: column; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-footer { padding: .75rem 1rem; border-top: 1px solid var(--border); }
.msg-bubble { max-width: 65%; padding: .6rem .9rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.msg-bubble.sent   { align-self: flex-end;   background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-bubble.received { align-self: flex-start; background: var(--bg-section); color: var(--text); border-bottom-left-radius: 4px; }

@media (max-width: 575.98px) {
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
  .chat-list  { max-height: 200px; border-right: none; border-bottom: 1px solid var(--border); }
  .chat-body  { min-height: 280px; }
}

/* ── Mobile Responsive Fixes ─────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { font-size: 1.6rem !important; }
  .hero-subtitle { font-size: .9rem !important; }
  .hero-search-box { padding: 1.25rem !important; }
  .section-title { font-size: 1.4rem !important; }
  .section-pad { padding: 2.5rem 0 !important; }

  /* Equipment cards */
  .equipment-card .img-wrap { height: 160px !important; }
  .equipment-card .price-tag { font-size: .95rem !important; }

  /* Testimonial cards */
  #tw1 > div, #tw2 > div { flex: 0 0 260px !important; }

  /* Brand scroll */
  .brand-scroll-track > a { min-width: 120px !important; height: 55px !important; }

  /* How it works */
  .col-sm-6.col-lg-3 > div { margin-bottom: 0 !important; }

  /* Stats bar */
  .stats-bar strong { font-size: 1.1rem !important; }

  /* Vendor cards */
  .vendor-card { margin-bottom: 0 !important; }

  /* FAQ */
  .accordion-button { font-size: .88rem !important; padding: .75rem 1rem !important; }

  /* CTA buttons */
  .btn-lg { font-size: .9rem !important; padding: .6rem 1.2rem !important; }

  /* Page banners */
  .page-banner { padding: 2rem 0 !important; }
  .page-banner h1 { font-size: 1.6rem !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.35rem !important; }
  #catSlider > a { flex: 0 0 140px !important; height: 150px !important; }
  .brand-scroll-track > a { min-width: 110px !important; }
}
