/**
 * Jain Car Bazaar - Seller / Dealer Portal Stylesheet
 * Modern Automotive Dealership Management Dashboard
 */

:root {
  --seller-primary: #0b1329;          /* Midnight Navy */
  --seller-primary-light: #162044;    /* Sidebar active / card header */
  --seller-primary-subtle: #f1f5f9;
  --seller-accent: #2563eb;           /* Electric Royal Blue */
  --seller-accent-hover: #1d4ed8;
  --seller-brand-red: #e11d48;        /* Jain Car Red Accent */
  --seller-brand-red-hover: #be123c;
  --seller-success: #10b981;          /* Emerald Green */
  --seller-warning: #f59e0b;          /* Amber */
  --seller-info: #06b6d4;             /* Cyan */
  --seller-danger: #ef4444;           /* Rose */
  --seller-bg: #f8fafc;               /* Crisp light slate bg */
  --seller-card-bg: #ffffff;
  --seller-border: #e2e8f0;
  --seller-border-dark: #cbd5e1;
  --seller-text-main: #0f172a;
  --seller-text-muted: #64748b;
  --seller-text-subtle: #94a3b8;
  --sidebar-width: 270px;
  --sidebar-collapsed-width: 76px;
  --topbar-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.09), 0 8px 10px -6px rgba(0,0,0,0.04);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--seller-bg);
  color: var(--seller-text-main);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 0.925rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.seller-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* SIDEBAR */
.seller-sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1329 0%, #080e1e 100%);
  color: #94a3b8;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: width var(--transition-normal), transform var(--transition-normal);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-brand {
  height: var(--topbar-height);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 19, 41, 0.5);
  backdrop-filter: blur(8px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.02em;
}

.seller-brand .brand-link {
  width: 100%;
  justify-content: space-between;
}

.seller-sidebar-logo {
  max-height: 26px;
  max-width: 146px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.18);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.brand-badge i {
  font-size: 0.72rem;
  color: #f43f5e;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e11d48, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}

.brand-text-wrap {
  line-height: 1.2;
}

.brand-text-wrap .brand-title {
  display: block;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text-wrap .brand-badge {
  font-size: 0.65rem;
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-top: 2px;
}

.dealer-info-pill {
  padding: 1rem 1.4rem;
  margin: 0.8rem 1rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dealer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dealer-meta {
  overflow: hidden;
}

.dealer-meta .dealer-name {
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.dealer-meta .dealer-status {
  font-size: 0.72rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dealer-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem 0.9rem;
}

.nav-section-title {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.9rem 0.8rem 0.4rem;
}

.seller-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.seller-nav-item .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-nav-item .nav-link i.nav-icon {
  font-size: 1.15rem;
  color: #64748b;
  transition: color var(--transition-fast);
  width: 22px;
  text-align: center;
}

.seller-nav-item .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.seller-nav-item .nav-link:hover i.nav-icon {
  color: #38bdf8;
}

.seller-nav-item .nav-link.active {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.seller-nav-item .nav-link.active i.nav-icon {
  color: #ffffff;
}

.nav-pill-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  text-align: center;
}

.support-card h6 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.support-card p {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

/* MAIN CONTENT AREA */
.seller-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition-normal);
  background-color: var(--seller-bg);
}

/* TOPBAR */
.seller-topbar {
  height: var(--topbar-height);
  background: #ffffff;
  border-bottom: 1px solid var(--seller-border);
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle-btn {
  background: #f1f5f9;
  border: 1px solid var(--seller-border);
  color: var(--seller-text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-toggle-btn:hover {
  background: #e2e8f0;
}

.topbar-search-box {
  position: relative;
  width: 320px;
}

.topbar-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--seller-text-muted);
  font-size: 0.95rem;
}

.topbar-search-box .form-control {
  padding-left: 38px;
  padding-right: 14px;
  height: 42px;
  background-color: #f8fafc;
  border: 1px solid var(--seller-border);
  border-radius: 24px;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.topbar-search-box .form-control:focus {
  background-color: #fff;
  border-color: var(--seller-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.topbar-btn {
  background: #f8fafc;
  border: 1px solid var(--seller-border);
  color: var(--seller-text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.topbar-btn:hover {
  background: #f1f5f9;
  color: var(--seller-accent);
  border-color: #cbd5e1;
}

.topbar-btn .badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--seller-brand-red);
  border: 2px solid #fff;
}

.user-profile-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 6px;
  border-radius: 30px;
  background: #f8fafc;
  border: 1px solid var(--seller-border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.user-profile-menu:hover {
  background: #f1f5f9;
}

.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.user-text-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.user-text-info .user-name {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--seller-text-main);
}

.user-text-info .user-role {
  font-size: 0.7rem;
  color: var(--seller-text-muted);
}

/* CONTENT BODY */
.seller-content {
  padding: 1.8rem;
  flex: 1;
}

/* FOOTER */
.seller-footer {
  background: #ffffff;
  border-top: 1px solid var(--seller-border);
  padding: 1rem 1.8rem;
  font-size: 0.825rem;
  color: var(--seller-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   CARDS & PANELS
   ========================================================================== */
.seller-card {
  background: var(--seller-card-bg);
  border: 1px solid var(--seller-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.seller-card:hover {
  box-shadow: var(--shadow-md);
}

.seller-card-header {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--seller-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
}

.seller-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--seller-text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seller-card-body {
  padding: 1.4rem;
}

.seller-card-footer {
  padding: 0.9rem 1.4rem;
  background-color: #f8fafc;
  border-top: 1px solid var(--seller-border);
}

/* STATS KPI CARDS */
.stat-kpi-card {
  background: #ffffff;
  border: 1px solid var(--seller-border);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.stat-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.stat-kpi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-icon-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.stat-icon-red { background: rgba(225, 29, 72, 0.1); color: #e11d48; }
.stat-icon-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-icon-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.stat-icon-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--seller-text-main);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--seller-text-muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.stat-trend {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.stat-trend.up { color: #10b981; }
.stat-trend.down { color: #ef4444; }
.stat-trend.neutral { color: #64748b; }

/* WELCOME BANNER */
.seller-welcome-banner {
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 60%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px -5px rgba(11, 19, 41, 0.4);
}

.seller-welcome-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(225, 29, 72, 0.15) 60%, transparent 80%);
  pointer-events: none;
}

/* ==========================================================================
   TABLES & BADGES
   ========================================================================== */
.seller-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.seller-table thead th {
  background-color: #f8fafc;
  color: var(--seller-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--seller-border);
  white-space: nowrap;
}

.seller-table tbody td {
  padding: 1rem 1.1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--seller-border);
  color: var(--seller-text-main);
  font-size: 0.88rem;
}

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

.seller-table tbody tr {
  transition: background-color var(--transition-fast);
}

.seller-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Custom Status Badges */
.badge-status {
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-status-active {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-status-reserved {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.badge-status-sold {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.badge-status-pending {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-status-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.badge-status-new {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* CAR THUMBNAIL */
.car-thumb-img {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #e2e8f0;
  border: 1px solid var(--seller-border);
}

.car-thumb-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.car-title-main {
  font-weight: 700;
  color: var(--seller-text-main);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
}

.car-title-main:hover {
  color: var(--seller-accent);
}

.car-meta-sub {
  font-size: 0.75rem;
  color: var(--seller-text-muted);
}

/* ==========================================================================
   BUTTONS & ACTION CONTROLS
   ========================================================================== */
.btn-seller-primary {
  background-color: var(--seller-brand-red);
  color: #fff;
  border: 1px solid var(--seller-brand-red);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.2rem;
  transition: all var(--transition-fast);
}

.btn-seller-primary:hover,
.btn-seller-primary:focus {
  background-color: var(--seller-brand-red-hover);
  border-color: var(--seller-brand-red-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.btn-seller-blue {
  background-color: var(--seller-accent);
  color: #fff;
  border: 1px solid var(--seller-accent);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.2rem;
  transition: all var(--transition-fast);
}

.btn-seller-blue:hover,
.btn-seller-blue:focus {
  background-color: var(--seller-accent-hover);
  border-color: var(--seller-accent-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-seller-outline {
  background-color: #fff;
  border: 1px solid var(--seller-border-dark);
  color: var(--seller-text-main);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  transition: all var(--transition-fast);
}

.btn-seller-outline:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: var(--seller-text-main);
}

.action-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--seller-border);
  background: #fff;
  color: var(--seller-text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.85rem;
}

.action-btn:hover {
  background: #f1f5f9;
  color: var(--seller-text-main);
  border-color: #cbd5e1;
}

.action-btn.btn-view:hover {
  color: var(--seller-accent);
  border-color: var(--seller-accent);
}

.action-btn.btn-edit:hover {
  color: var(--seller-warning);
  border-color: var(--seller-warning);
}

.action-btn.btn-delete:hover {
  color: var(--seller-danger);
  border-color: var(--seller-danger);
}

.action-btn.btn-whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.action-btn.btn-call:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-label-custom {
  font-weight: 600;
  font-size: 0.825rem;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-control-custom,
.form-select-custom {
  border: 1px solid var(--seller-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--seller-text-main);
  background-color: #ffffff;
  transition: all var(--transition-fast);
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--seller-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

/* DRAG & DROP UPLOAD BOX */
.upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--seller-accent);
  background-color: rgba(37, 99, 235, 0.03);
}

.upload-icon {
  font-size: 2.2rem;
  color: var(--seller-accent);
  margin-bottom: 0.6rem;
}

.upload-previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 1rem;
}

.upload-preview-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--seller-border);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   AUTH PAGES (LOGIN & REGISTER)
   ========================================================================== */
.seller-auth-body {
  min-height: 100vh;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.seller-auth-wrapper {
  width: 100%;
  max-width: 1080px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--seller-border);
  display: flex;
}

.seller-auth-banner {
  flex: 1.1;
  background: linear-gradient(135deg, rgba(11, 19, 41, 0.88) 0%, rgba(22, 32, 68, 0.85) 50%, rgba(15, 23, 42, 0.92) 100%), 
              url('../images/seller-hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.seller-auth-banner::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.28) 0%, transparent 70%);
  border-radius: 50%;
}

.seller-auth-banner::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.seller-auth-form-side {
  flex: 1.2;
  padding: 3rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.auth-feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.auth-feature-list li i {
  color: #38bdf8;
  font-size: 1.1rem;
}

/* ==========================================================================
   CRM LEAD PIPELINE & TIMELINE
   ========================================================================== */
.lead-status-pill {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
}

.lead-timeline {
  position: relative;
  padding-left: 1.8rem;
  border-left: 2px solid var(--seller-border);
  margin-left: 0.8rem;
}

.lead-timeline-item {
  position: relative;
  margin-bottom: 1.4rem;
}

.lead-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--seller-accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.lead-timeline-date {
  font-size: 0.72rem;
  color: var(--seller-text-muted);
}

.lead-timeline-desc {
  font-size: 0.84rem;
  color: var(--seller-text-main);
  margin-top: 2px;
}

/* ==========================================================================
   FILTER TABS & SEARCH
   ========================================================================== */
.seller-filter-toolbar {
  background: #ffffff;
  border: 1px solid var(--seller-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-pills-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid var(--seller-border);
  background: #f8fafc;
  color: var(--seller-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.filter-pill-btn:hover {
  background: #e2e8f0;
  color: var(--seller-text-main);
}

.filter-pill-btn.active {
  background: var(--seller-primary);
  color: #fff;
  border-color: var(--seller-primary);
}

.search-input-group {
  position: relative;
  min-width: 260px;
}

.search-input-group input {
  padding-left: 36px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.search-input-group i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--seller-text-muted);
}

/* ==========================================================================
   OVERLAYS & RESPONSIVENESS
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1035;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile & Tablet media queries */
@media (max-width: 991.98px) {
  .seller-sidebar {
    transform: translateX(-100%);
  }

  .seller-sidebar.mobile-open {
    transform: translateX(0);
  }

  .seller-main {
    margin-left: 0 !important;
  }

  .topbar-search-box {
    display: none;
  }

  .seller-auth-wrapper {
    flex-direction: column;
  }

  .seller-auth-banner {
    padding: 2rem;
  }

  .seller-auth-form-side {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  .seller-content {
    padding: 1rem;
  }
  
  .seller-topbar {
    padding: 0 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .seller-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-group {
    width: 100%;
  }
}

/* ==========================================================================
   DEALER ONBOARDING / REGISTRATION LANDING PAGE (CARS24 STYLE)
   ========================================================================== */
.reg-landing-body {
  background-color: #ffffff;
  color: #1e293b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Top Navbar */
.reg-landing-nav {
  background: rgba(11, 19, 41, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1050;
}

/* Hero Section */
.reg-hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 19, 41, 0.6) 0%, rgba(11, 19, 41, 0.5) 45%, rgba(255, 255, 255, 0.88) 88%, #ffffff 100%), 
              url('../images/seller-hero-bg.jpg') top center/cover no-repeat;
  padding: 4.5rem 0 5rem;
  color: #ffffff;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.reg-hero-tagline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.reg-hero-sub {
  font-size: 1.25rem;
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.5;
  max-width: 480px;
}

/* Floating White Registration Card */
.reg-floating-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  padding: 2.2rem 2.2rem 1.8rem;
  color: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.reg-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.reg-input-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.reg-input-field {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #d5dbe4;
  padding: 0.6rem 0.95rem;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.reg-input-field:focus {
  border-color: #f95f00;
  box-shadow: 0 0 0 3px rgba(249, 95, 0, 0.15);
  outline: none;
}

.reg-phone-group {
  display: flex;
}

.reg-phone-addon {
  background: #f8fafc;
  border: 1px solid #d5dbe4;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
}

.reg-phone-input {
  border-radius: 0 8px 8px 0 !important;
}

.btn-reg-orange {
  background: linear-gradient(135deg, #f95f00 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(249, 95, 0, 0.35);
  cursor: pointer;
  width: 100%;
}

.btn-reg-orange:hover,
.btn-reg-orange:focus {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(249, 95, 0, 0.45);
  transform: translateY(-1px);
}

.reg-card-privacy {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

/* 4 Pillars Strip */
.reg-pillars-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 3rem 0;
}

.reg-pillar-col {
  padding: 0 1.6rem;
  position: relative;
}

.reg-pillar-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: #e2e8f0;
}

.reg-pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.reg-pillar-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Complete Solutions Grid */
.reg-solutions-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.reg-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.2rem 1.4rem;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.solution-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.solution-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.35;
}

/* Partner Testimonial */
.reg-testimonials-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.reg-testimonial-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
}

.testimonial-quote-text {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.7;
  font-weight: 400;
  margin: 0 auto 1.5rem;
  max-width: 720px;
  position: relative;
}

.quote-icon-left,
.quote-icon-right {
  font-size: 2.2rem;
  color: #0284c7;
  opacity: 0.85;
}

.testimonial-author-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-dealership {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.testimonial-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.testimonial-prev { left: -22px; }
.testimonial-next { right: -22px; }

/* Stats Strip */
.reg-stats-strip {
  padding: 4rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.reg-stats-header {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.reg-stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.reg-stat-label {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

/* Bottom CTA Banner */
.reg-bottom-cta {
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.75) 0%, rgba(8, 14, 30, 0.88) 100%), 
              url('../images/seller-hero-bg.jpg') center/cover no-repeat;
  padding: 4.5rem 0;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 991.98px) {
  .reg-hero-tagline {
    font-size: 2.3rem;
  }
  .reg-pillar-col::after {
    display: none;
  }
  .reg-pillar-col {
    margin-bottom: 1.5rem;
  }
  .testimonial-prev { left: 10px; }
  .testimonial-next { right: 10px; }
}
