:root {
  --blue-950: #081528;
  --blue-900: #0f274a;
  --blue-800: #173b6c;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #f0f7ff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --accent-cyan: #06b6d4;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #f8fafc;
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
}

/* Minimalist navigation */
.navbar-custom {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.brand-badge {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Stylized Hero */
.hero-section {
  background: linear-gradient(170deg, #0f274a 0%, #173b6c 50%, #1e40af 100%);
  color: #ffffff;
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

.hero-shape-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-2 {
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Quick Search Card floating */
.search-floating-card {
  margin-top: -50px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px -12px rgba(15, 39, 74, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 24px 28px;
  position: relative;
  z-index: 10;
}

/* Stylized Cards */
.tire-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 16px rgba(15, 39, 74, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tire-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
  border-color: var(--blue-200);
}

.tire-badge-life {
  background: #ecfdf5;
  color: #059669;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tire-badge-branch {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tire-visual {
  height: 160px;
  background: radial-gradient(circle at center, #f8fafc 0%, #edf2f7 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tire-icon-art {
  font-size: 4.8rem;
  color: #1e293b;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.tire-card:hover .tire-icon-art {
  transform: scale(1.08) rotate(4deg);
}

.tire-size-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.5px;
}

/* Custom Buttons - Steve Jobs minimalist */
.btn-primary-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: white;
  border: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-blue:hover {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-soft-blue {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(191, 219, 254, 0.6);
  font-weight: 600;
  border-radius: 12px;
  padding: 9px 18px;
  transition: all 0.2s ease;
}

.btn-soft-blue:hover {
  background: var(--blue-100);
  color: var(--blue-800);
}

.btn-pill {
  border-radius: 30px;
}

/* Presentation Bar */
.demo-banner {
  background: linear-gradient(90deg, #081528, #173b6c);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Branch Cards */
.branch-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #eef2f6;
  padding: 22px;
  transition: all 0.2s ease;
  height: 100%;
}

.branch-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 24px rgba(15, 39, 74, 0.08);
}

/* Filter pills */
.filter-chip {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--slate-600);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  user-select: none;
}

.filter-chip:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.filter-chip.active {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* Admin Dashboard Specific */
.admin-sidebar {
  background: #0b192e;
  color: #94a3b8;
  min-height: 100vh;
}

.admin-nav-item {
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

/* Glassmorphism login */
.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(15, 39, 74, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 40px;
}

/* User Status Card in Sidebar (Fixed high-contrast visibility) */
.admin-user-card {
  background-color: #06152a !important;
  border: 1px solid #1e3a8a !important;
  border-radius: 12px;
  padding: 14px;
}

.admin-user-card .user-title {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
}

.admin-user-card .user-subtitle {
  color: #38bdf8 !important;
  font-size: 0.76rem;
  font-weight: 500;
}

/* POS Point of Sale Styles */
.pos-container {
  min-height: calc(100vh - 46px);
  background-color: #f1f5f9;
}

.pos-catalog-area {
  height: calc(100vh - 100px);
  overflow-y: auto;
}

.pos-cart-area {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  height: calc(100vh - 46px);
  display: flex;
  flex-direction: column;
}

.pos-item-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.pos-item-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.pos-badge-branch-norte {
  background: #eff6ff;
  color: #1d4ed8;
}

.pos-badge-branch-sur {
  background: #f0fdf4;
  color: #15803d;
}

.pos-badge-branch-centro {
  background: #faf5ff;
  color: #7e22ce;
}

/* Analytics Progress Bars */
.analytics-bar {
  height: 8px;
  border-radius: 4px;
}

/* DataTables Custom Styling - Steve Jobs Minimalist Theme */
.dt-buttons {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dt-buttons .btn {
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.dt-buttons .btn:hover {
  transform: translateY(-1px);
}

.dataTables_wrapper {
  padding: 10px 4px;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  background-color: #f8fafc;
  outline: none;
  font-size: 0.88rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--blue-500);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.dataTables_wrapper .dataTables_length select {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  font-size: 0.88rem;
}

.dataTables_wrapper .dataTables_paginate .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  border: 1px solid #e2e8f0;
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 500;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
  background-color: var(--blue-600) !important;
  border-color: var(--blue-600) !important;
  color: white !important;
}

.dataTables_info {
  font-size: 0.84rem;
  color: #64748b !important;
  padding-top: 12px !important;
}


