:root {
  --bg: #030407;
  --bg-top: rgba(3, 4, 7, 0.7);
  --text: #ffffff;
  --muted: #8a8f98;
  --green: #00ff9d;
  --green-2: #00d2ff;
  --soft-green: #00ff9d1a;
  --dark-card: #0a0b10;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 15, 20, 0.4);
  --glass-hover: rgba(25, 25, 30, 0.6);
  --radius: 20px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-intense: 0 20px 80px rgba(0, 0, 0, 0.7);
  --royal-blue: #4169e1;
  --royal-blue-glow: rgba(65, 105, 225, 0.2);
  --sidebar-width: 280px;
}

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

/*
 * Genel: ana site sayfaları (ör. register.php + app.css) gövdede kaydırılabilir olmalı.
 * Yönetim paneli: kaydırma .viewport içinde; html/body kilitli.
 */
html {
  min-height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
}

html.admin-shell,
body.admin-panel {
  height: 100%;
  overflow: hidden;
}

/* Masterpiece Backgrounds */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 157, 0.05) 0%, transparent 60%);
}

.aurora-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, var(--royal-blue-glow) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 157, 0.03) 0%, transparent 40%);
  animation: aurora-drift 20s infinite alternate ease-in-out;
}

@keyframes aurora-drift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(10deg) scale(1.1); }
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
  z-index: -1;
}

.floating-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
  animation: orb-float 15s infinite alternate ease-in-out;
}

@keyframes orb-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 30px); }
}

/* Layout Structure */
.app-layout {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

/* Mobile Header - Hidden on Desktop */
.mobile-header-luxe {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  height: calc(100vh - 40px);
  margin: 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.2rem;
  z-index: 101;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.sidebar-header {
  margin-bottom: 3rem;
  padding-left: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  display: block;
}

.badge.admin {
  font-size: 0.7rem;
  background: var(--soft-green);
  color: var(--green);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  border: 1px solid rgba(0, 255, 157, 0.2);
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-nav {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.5rem;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}


.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item.nav-item--hidden {
  display: none !important;
}

.nav-item i {
  width: 20px;
  height: 20px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-item.active {
  background: rgba(0, 255, 157, 0.08);
  color: var(--green);
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--green);
  border-radius: 0 4px 4px 0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

a.user-pill.sidebar-user-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

a.user-pill.sidebar-user-link:hover {
  border-color: rgba(0, 255, 157, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.user-avatar {
  width: 38px;
  height: 38px;
  background: var(--royal-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-info strong {
  font-size: 0.85rem;
  color: #fff;
}

.user-info span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 20px 0;
  overflow: hidden;
}

.top-header {
  height: 80px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.top-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.2rem;
  height: 48px;
  width: 300px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 1px var(--green-2);
}

.search-bar input {
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s;
  position: relative;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-2px);
}

.noti-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}

/* Viewport Area */
.viewport {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom Scrollbar */
.viewport::-webkit-scrollbar {
  width: 6px;
}
.viewport::-webkit-scrollbar-track {
  background: transparent;
}
.viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}
.viewport::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Liquid Glass Component Base */
.liquid-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/*
 * Ana sitede styles.css .liquid-glass = display:flex + ortala (nav/pill için).
 * Aynı sınıf register.php vb. formlarda kullanılınca tüm alanlar yatay sıkışıyordu.
 */
.glass-chamber.glass-form-section.liquid-glass {
  display: block;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Module Transition Wrappers */
.module-enter {
  animation: fadeInDown 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loader Styling */
.loader-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.glass-loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 255, 157, 0.1);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Bento Grid System for Modules */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.bento-card {
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.card-title {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title i {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* Vehicles Specific Styles */
.plate-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--green);
}

.v-info {
    display: flex;
    flex-direction: column;
}

.v-info strong {
    font-size: 0.95rem;
    color: #fff;
}

.v-info span {
    font-size: 0.8rem;
    color: var(--muted);
}

.action-btns {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateY(-2px);
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-header {
    width: 42px;
    height: 42px;
    padding: 8px;
    background: var(--soft-green);
    color: var(--green);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.btn-icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

/* Forms & Tables styling will be added per module */


/* Form Styling */
.luxe-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sect-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ccc;
}

.input-group input, 
.input-group textarea, 
.luxe-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}

.input-group input:focus, 
.luxe-select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--green);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.btn-primary {
  background: var(--green);
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 157, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

/* Table Styling */
.glass-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: 1rem;
}

.glass-table th {
  text-align: left;
  padding: 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.glass-table td {
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.glass-table tr td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
}

.glass-table tr td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 12px 12px 0;
}

.status-chip {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-chip.green { background: rgba(0, 255, 157, 0.1); color: var(--green); }
.status-chip.mint { background: rgba(45, 212, 191, 0.12); color: #5eead4; border: 1px solid rgba(45, 212, 191, 0.25); }
.status-chip.orange { background: rgba(255, 165, 0, 0.1); color: orange; }
.status-chip.red { background: rgba(255, 0, 0, 0.1); color: #ff4d4d; }
.status-chip.blue { background: rgba(65, 105, 225, 0.1); color: var(--royal-blue); }

/* Invoice Specifics */
.invoice-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem !important;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.invoice-company {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
}

.invoice-title {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
  margin-bottom: 1rem;
}

.invoice-customer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table th {
  border-bottom: 2px solid var(--border);
  padding: 1rem;
  text-align: left;
  color: var(--muted);
}

.invoice-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
}

.invoice-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  gap: 2rem;
}

.invoice-totals {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.total-row.grand {
  font-size: 1.4rem;
  color: var(--green);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Tracking Timeline */
.tracking-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.track-item {
  padding: 2rem !important;
}

.track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.track-timeline {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  color: var(--muted);
}

.step i {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.step.completed i {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.step.active i {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.track-timeline .line {
  flex-grow: 1;
  height: 2px;
  background: var(--border);
  margin: 0 -10px;
  margin-top: -20px;
}

.track-timeline .line.active {
  background: var(--green);
}

.track-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.status-badge.pulse {
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(65, 105, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0); }
}

/* Accent Highlight Cards */
.bento-card.accent-blue { border-top: 3px solid var(--royal-blue); }
.bento-card.accent-orange { border-top: 3px solid #ff8800; }
.bento-card.accent-green { border-top: 3px solid var(--green); }
.bento-card.accent-royal { border-top: 3px solid var(--royal-blue); }

.bento-card.accent-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.text-glow {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.text-green.text-glow {
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.mini-chart {
  height: 60px;
  margin-top: 1rem;
}

.chart-legend {
  display: flex;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.legend-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-item .dot.green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.legend-item .dot.blue { background: var(--royal-blue); box-shadow: 0 0 10px var(--royal-blue); }

/* Luxury Activity List */
.activity-list.luxury {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-dot.blue { background: var(--royal-blue); box-shadow: 0 0 10px var(--royal-blue); }
.status-dot.orange { background: #ff8800; box-shadow: 0 0 10px #ff8800; }

.activity-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.activity-info strong {
  font-size: 0.9rem;
  color: #fff;
}

.activity-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

.time {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.text-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--green);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.text-btn:hover {
  background: var(--soft-green);
  border-color: var(--green);
  transform: translateY(-1px);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Full-height panel görünümü + altta boşluk */
  padding: 28px 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: min(500px, 90%);
  background: rgba(10, 11, 16, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-intense);
  /* Panel ekran yüksekliğinde olsun; altta padding ile boşluk kalır */
  height: calc(100vh - 56px);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

/* =========================================
   GLOBAL SCROLLBAR (tüm site standardı)
   - oval köşeler, site yeşili aksan
   - oklar ve siyah buton şeritleri yok
   ========================================= */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 157, 0.55) transparent;
}

/* Chromium / WebKit */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 157, 0.38);
  border-radius: 999px;
  border: 2px solid rgba(10, 11, 16, 0.45);
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 157, 0.55);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* Oklar / butonlar (üst-alt) tamamen gizle */
*::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* Modal içi scroll daha “premium” dursun */
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 157, 0.42);
  border-color: rgba(10, 11, 16, 0.55);
}

.modal-close:hover {
  color: #fff;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-value {
  font-weight: 600;
  color: #fff;
}

/* Masterpiece Acceptance Page Styles */
.masterpiece-split {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.glass-chamber {
    padding: 3rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.chamber-header {
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.accent-line {
    width: 4px;
    height: 40px;
    background: var(--green);
    border-radius: 99px;
    box-shadow: 0 0 20px var(--green);
}

.chamber-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.glass-form-section {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.glass-form-section:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Generic Fallback For Any Unstyled Input Using .luxe-input directly */
.luxe-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.luxe-input:focus {
    border-color: rgba(0, 255, 157, 0.5);
    box-shadow: 0 0 8px rgba(0, 255, 157, 0.1);
}

/* Number Inputs için Spinner (Ok) Gizleme */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.luxe-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    letter-spacing: 0.02em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 0 1.5rem; /* Increased horizontal padding */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    height: 56px;
}

.input-wrapper input, .input-wrapper textarea, .input-wrapper select {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    min-width: 0;
}

.input-wrapper textarea {
    padding: 1rem 0;
    height: auto;
    min-height: 120px;
}

.input-wrapper.vertical {
    height: auto;
    align-items: flex-start;
}

.input-wrapper:focus-within i {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    transform: scale(1.1) rotate(5deg);
}

/* Scrutiny Grid (4 Photo Slots) */
.scrutiny-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.scrutiny-slot {
    position: relative;
    aspect-ratio: 4/3;
}

.slot-upload {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.01);
}

.slot-upload:hover {
    border-color: var(--green);
    background: rgba(0, 255, 157, 0.02);
    transform: translateY(-5px);
}

.slot-upload i {
    width: 32px;
    height: 32px;
    color: var(--green);
    opacity: 0.7;
}

.slot-upload span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slot-preview {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
}

.slot-preview:not(:empty) {
    pointer-events: all;
    border: 1px solid var(--border);
}

.slot-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from { transform: scale(1.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.remove-slot-img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.remove-slot-img:hover {
    background: #ff4444;
    border-color: transparent;
    transform: scale(1.1);
}

.slot-upload.hidden {
    display: none;
}

@media (max-width: 1200px) {
    .scrutiny-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .scrutiny-grid { grid-template-columns: 1fr; }
}

.plate-wrap {
    background: #1a1b22;
    border-radius: 12px;
    border: 1px solid #333;
    padding-left: 0 !important;
}

.tr-label {
    background: #003399;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 35px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    border-radius: 10px 0 0 10px;
}

.plate-input-luxe {
    padding-left: 1rem !important;
    letter-spacing: 0.1em;
    font-weight: 800;
    text-transform: uppercase;
}

.masterpiece-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn-royal {
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    background: var(--green) !important;
    color: #000 !important;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-royal:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.2);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    padding: 1rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Info Panel Styles */
.masterpiece-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.floating-glass-card {
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    /* Animation removed to prevent "kayık" feeling */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-glass-card h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.floating-glass-card h4 i {
    width: 20px;
    height: 20px;
    color: var(--green);
}

.info-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.history-card h4 {
    margin-bottom: 1.5rem;
}

.luxe-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.luxe-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.p-badge {
    background: #fff;
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

.p-info {
    flex-grow: 1;
}

.p-info strong {
    display: block;
    font-size: 0.85rem;
}

.p-info span {
    font-size: 0.7rem;
    color: var(--muted);
}

.p-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--royal-blue);
}

.p-status.ready {
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.p-status.muted {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.p-status.delivered {
    background: #2dd4bf;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.6);
}

.safety-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.75rem;
    padding: 1rem;
}

/* ==============================
   OPTIMIZED VEHICLE TOOLBAR 
   ============================== */

/* Hero Bar */
.v-hero-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}

.v-hero-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v-hero-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.v-hero-icon i {
    width: 22px;
    height: 22px;
}

.v-hero-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.v-hero-text p {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 2px;
}

.v-count-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 157, 0.06);
    border: 1px solid rgba(0, 255, 157, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--green);
    white-space: nowrap;
}

.v-count-chip strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.v-count-chip span {
    font-size: 0.75rem;
    color: rgba(0, 255, 157, 0.7);
}

.v-count-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    animation: v-dot-pulse 2s infinite;
}

@keyframes v-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Toolbar Container */
.v-toolbar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Search Row */
.v-search-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.v-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0 1rem;
    height: 46px;
    transition: all 0.3s ease;
}

.v-search-input:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--green);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.08);
}

.v-search-input i {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.3s;
}

.v-search-input:focus-within > i:first-child {
    color: var(--green);
}

.v-search-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    min-width: 0;
}

.v-clear-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.v-clear-btn i {
    width: 14px;
    height: 14px;
}

.v-clear-btn:hover {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
}

.v-export-btn {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.v-export-btn i {
    width: 18px;
    height: 18px;
}

.v-export-btn:hover {
    background: rgba(0, 255, 157, 0.08);
    border-color: rgba(0, 255, 157, 0.2);
    color: var(--green);
    transform: translateY(-2px);
}

/* Filter Pills */
.v-filter-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.v-filter-pills::-webkit-scrollbar {
    display: none;
}

.v-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-shrink: 0;
}

.v-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.v-pill.active {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.25);
    color: var(--green);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 255, 157, 0.1);
}

.v-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v-pill-dot.all { background: linear-gradient(135deg, var(--green), var(--royal-blue)); }
.v-pill-dot.blue { background: var(--royal-blue); box-shadow: 0 0 6px rgba(65, 105, 225, 0.4); }
.v-pill-dot.orange { background: #ff8800; box-shadow: 0 0 6px rgba(255, 136, 0, 0.4); }
.v-pill-dot.green { background: var(--green); box-shadow: 0 0 6px rgba(0, 255, 157, 0.4); }
.v-pill-dot.mint { background: #2dd4bf; box-shadow: 0 0 6px rgba(45, 212, 191, 0.45); }

/* ==============================
   VEHICLE CARDS 
   ============================== */

.v-card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    animation: v-card-enter 0.5s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

.v-card:nth-child(1) { animation-delay: 0.05s; }
.v-card:nth-child(2) { animation-delay: 0.1s; }
.v-card:nth-child(3) { animation-delay: 0.15s; }
.v-card:nth-child(4) { animation-delay: 0.2s; }
.v-card:nth-child(5) { animation-delay: 0.25s; }

@keyframes v-card-enter {
    to { opacity: 1; transform: translateY(0); }
}

.v-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.v-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Status-based accent line */
.v-card[data-status="Onarımda"]::before { background: var(--royal-blue); }
.v-card[data-status="Parça Bekliyor"]::before { background: #ff8800; }
.v-card[data-status="Teslime Hazır"]::before { background: var(--green); }
.v-card[data-status="Teslim edildi"]::before { background: #2dd4bf; }

/* Card Top (Plate + Status) */
.v-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.v-card-plate {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.v-plate-tr {
    background: #003399;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 0.35rem 0.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    letter-spacing: 0.05em;
    line-height: 1;
}

.v-plate-num {
    background: linear-gradient(135deg, #f8f8f8, #ddd);
    color: #111;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 0.4rem 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Card Body */
.v-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.v-card-main .v-info strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 2px;
}

.v-card-main .v-info span {
    font-size: 0.78rem;
    color: var(--muted);
}

.v-card-meta {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}

.v-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.v-meta-item i {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.v-meta-item span {
    white-space: nowrap;
}

/* Card Actions */
.v-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.85rem;
}

.v-action-btn {
    flex: 1;
    min-width: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.v-action-btn i {
    width: 15px;
    height: 15px;
}

.v-action-btn:hover {
    background: rgba(0, 255, 157, 0.06);
    border-color: rgba(0, 255, 157, 0.15);
    color: var(--green);
    transform: translateY(-1px);
}

.v-action-btn:active {
    transform: scale(0.97);
}

.v-action-btn.v-action-invoice:hover {
    border-color: rgba(65, 105, 225, 0.35);
    color: var(--royal-blue, #4169e1);
    background: rgba(65, 105, 225, 0.08);
}

/* Mobile adjustments for cards */
@media (max-width: 480px) {
    .v-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .v-card-meta {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Inventory & Vehicle Module Filters */
.inventory-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.search-wrap-luxe {
    flex-grow: 1;
    max-width: 500px;
}

.search-wrap-luxe i {
    color: var(--green);
    opacity: 0.6;
    margin-right: 1.2rem;
}

.filter-actions-luxe {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Custom Luxury Select Dropdown */
/* LuxeSelect: native <select> gizlenir; tetikleyici + panel görünür */
select.luxe-select-native-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.luxe-select-input-wrap {
    position: relative;
}

/* Genel .input-wrapper backdrop blur + LuxeSelect tetikleyici = beyaz/gri halo; camı kaldır */
.input-wrapper.luxe-select-input-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(14, 15, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-wrapper.luxe-select-input-wrap:focus-within i[data-lucide] {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}

.custom-select-luxe {
    position: relative;
    min-width: 200px;
    z-index: 100;
}

.input-wrapper.luxe-select-input-wrap .custom-select-luxe {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.custom-select-luxe.active {
    /* Modal / tablo üstünde; taşan liste kesilmesin */
    z-index: 10050;
}

.select-trigger-luxe {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.select-trigger-luxe:focus:not(:focus-visible) {
    outline: none;
}

.select-trigger-luxe:focus-visible {
    outline: 2px solid rgba(0, 255, 157, 0.45);
    outline-offset: 2px;
}

.select-trigger-luxe:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--green);
}

.select-trigger-luxe i {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: transform 0.3s;
}

.custom-select-luxe.active .select-trigger-luxe i {
    transform: rotate(180deg);
}

.select-options-luxe {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    border-radius: 16px;
    padding: 0.5rem;
    /* liquid-glass + backdrop üst üste metni bulanık gösterir; opak zemin = net yazı */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22, 23, 31, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

/* LuxeSelect: body’ye portal edilen panel artık .active altında değil; görünürlük burada */
.select-options-luxe.select-options-luxe--floating {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: min(320px, 45vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: none !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

.modal-overlay .modal-content .custom-select-luxe.active {
    z-index: 100090;
}

.custom-select-luxe.active .select-options-luxe {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.acceptance-module .acceptance-payment-select {
    width: 100%;
    min-width: 0;
}

/* Bayi hesap — şehir / ilçe (stok kategorisi ile aynı custom-select-luxe) */
.account-module .account-location-select {
    width: 100%;
    min-width: 0;
}

.account-module .input-wrapper.account-select-input-wrap {
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
    min-height: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.account-module .account-select-input-wrap {
    position: relative;
}

.account-module .account-location-select .select-options-luxe {
    max-height: min(320px, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.account-officer-module .aco-requests-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
}

.account-officer-module .aco-requests-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.account-officer-module .aco-requests-table th,
.account-officer-module .aco-requests-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-officer-module .aco-requests-table th {
    color: var(--muted, #94a3b8);
    font-weight: 600;
}

.account-officer-module .aco-requests-empty {
    color: var(--muted, #94a3b8);
    font-style: italic;
}

.account-officer-module .aco-req-desc-cell {
    word-break: break-word;
    max-width: 28rem;
}

/* Usta paneli */
.masters-module .masters-invite {
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
    max-width: 1100px;
}

.masters-module .masters-invite-hint {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.masters-module .masters-invite-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 720px) {
    .masters-module .masters-invite-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.masters-module .masters-invite-check {
    display: flex;
    align-items: flex-end;
}

.masters-module .masters-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--muted);
    user-select: none;
}

.masters-module .masters-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.masters-module .masters-invite-actions {
    display: flex;
    justify-content: flex-end;
}

.masters-module .masters-officer-email {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0.25rem 0 0.35rem;
}

.masters-module .masters-officer-email i {
    width: 14px;
    height: 14px;
    opacity: 0.75;
}

.masters-module .masters-hero {
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.masters-module .masters-hero-actions {
    flex-shrink: 0;
}

.masters-module .masters-invite-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.masters-module .masters-invite-modal .masters-invite-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
    .masters-module .masters-invite-modal .masters-invite-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.masters-module .masters-invite-modal-actions {
    margin-top: 0.5rem;
}

.masters-module .masters-remove-officer-btn {
    color: rgba(248, 113, 113, 0.95);
    border-color: rgba(248, 113, 113, 0.35);
    flex-shrink: 0;
    align-self: flex-start;
}

.masters-module .masters-remove-officer-btn:hover {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.55);
}

.masters-module .masters-msg {
    font-size: 0.9rem;
    margin: 0 0 1rem;
    color: var(--green);
}

.masters-module .masters-msg.masters-msg-error {
    color: #f87171;
}

.masters-module .masters-panel-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
}

.masters-module .masters-loading,
.masters-module .masters-empty,
.masters-module .masters-error {
    color: var(--muted);
    padding: 1.5rem;
    text-align: center;
}

.masters-module .masters-error {
    color: #f87171;
}

.masters-module .masters-officer-block {
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
}

.masters-module .masters-officer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.masters-module .masters-officer-head-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.masters-module .masters-officer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 255, 157, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.masters-module .masters-officer-titles h4 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.masters-module .masters-officer-titles p {
    margin: 0;
    font-size: 0.85rem;
}

.masters-module .masters-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    background: rgba(65, 105, 225, 0.15);
    color: var(--royal-blue);
    font-weight: 600;
    margin-right: 0.35rem;
}

.masters-module .masters-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.masters-module .masters-vehicle-card {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.masters-module .masters-vehicle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.masters-module .masters-vehicle-model {
    font-weight: 600;
    font-size: 0.95rem;
}

.masters-module .masters-vehicle-service strong,
.masters-module .masters-vehicle-logs strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.masters-module .masters-vehicle-service p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.masters-module .masters-price-line {
    margin-top: 0.35rem !important;
    font-weight: 700;
    color: var(--green);
}

.masters-module .masters-fault-json {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.masters-module .masters-fault-json > strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

.masters-module .masters-fault-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.masters-module .masters-fault-entry {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.82rem;
}

.masters-module .masters-fault-meta {
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.masters-module .masters-fault-line {
    margin: 0.25rem 0 0;
    line-height: 1.4;
}

.masters-module .masters-log-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.masters-module .masters-log-item {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.masters-module .masters-log-meta {
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.masters-module .masters-log-price {
    margin-top: 0.35rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.masters-module .masters-log-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.masters-module .masters-empty-vehicles {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.masters-module .masters-add-log-btn {
    margin-top: 0.25rem;
    width: 100%;
    justify-content: center;
}

.masters-module .muted {
    color: var(--muted);
}

.masters-log-modal {
    max-width: 480px;
    width: 92%;
}

.account-module .account-panels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 920px;
}

.account-module .account-hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.account-module .account-inline-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.account-module .ac-json-textarea {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.45;
}

.account-module .ac-readonly {
    opacity: 0.88;
    cursor: default;
}

.account-module .account-readonly-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-module .account-meta-line {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0.35rem 0;
}

.account-module .account-meta-line strong {
    color: #ccc;
    margin-right: 0.35rem;
}

.account-module .account-msg {
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.account-module .account-msg-ok {
    background: rgba(0, 255, 157, 0.08);
    color: var(--green);
}

.account-module .account-msg-error {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.account-module .account-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-module .form-grid-2 .luxe-input-group.full {
    grid-column: 1 / -1;
}

.option-luxe {
    position: relative;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.option-luxe:hover {
    background: rgba(0, 255, 157, 0.1);
    color: var(--green);
    padding-left: 1.5rem;
}

.option-luxe.active {
    background: rgba(0, 255, 157, 0.15);
    color: var(--green);
    font-weight: 700;
}

/* Vehicle Action Modals (Detail & Edit) */
.modal-header-luxe {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.modal-header-luxe h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.detail-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bento-card-mini {
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.bento-card-mini.full {
    grid-column: 1 / -1;
}

.bento-card-mini label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.1em;
}

.bento-card-mini strong {
    font-size: 1.1rem;
    color: #fff;
}

.bento-card-mini span {
    font-size: 0.8rem;
    color: var(--muted);
}

.status-indicator {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.status-indicator p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--muted);
}

.modal-actions-luxe {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.plate-badge.mini {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-width: 60px;
}

.edit-form-luxe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .detail-bento-grid { grid-template-columns: 1fr; }
}

/* Araç detay — servis notu / usta kayıtları */
.v-detail-modal-wide {
    max-width: min(640px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.v-detail-body-scroll {
    overflow-y: auto;
    max-height: min(70vh, 720px);
    padding-right: 0.25rem;
    margin-bottom: 0.5rem;
}

.v-detail-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v-detail-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.v-detail-section-inner {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.v-detail-vehicle-note {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.v-detail-vehicle-note:last-child {
    margin-bottom: 0;
}

.v-detail-vehicle-price {
    margin: 0;
    font-size: 0.95rem;
}

.v-detail-k {
    color: var(--muted);
    font-size: 0.75rem;
    margin-right: 0.35rem;
}

.v-detail-sub {
    display: block;
    margin-top: 0.35rem;
    line-height: 1.45;
}

.v-fault-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.v-fault-card {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.v-fault-head {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.v-fault-row {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.5rem 1rem;
    font-size: 0.88rem;
    margin-top: 0.45rem;
    align-items: start;
}

.v-fault-k {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.v-fault-v {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    word-break: break-word;
}

.v-fault-price {
    font-weight: 700;
    color: rgba(0, 255, 157, 0.95);
}

@media (max-width: 520px) {
    .v-fault-row {
        grid-template-columns: 1fr;
    }
}

/* Aurora Glow Section Effect */
.glass-form-section.aurora-glow {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-form-section.aurora-glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 157, 0.08), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    transition: all 0.7s ease;
    opacity: 0;
}

.glass-form-section.aurora-glow:hover::before, 
.glass-form-section.aurora-glow:focus-within::before {
    opacity: 1;
    animation: border-rotate 8s linear infinite;
}

@keyframes border-rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Upload Area Styles */
.upload-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.upload-zone:hover {
    background: rgba(0, 255, 157, 0.03);
    border-color: var(--green);
    transform: translateY(-2px);
}

.upload-zone i {
    width: 48px;
    height: 48px;
    color: var(--green);
}

.upload-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.upload-text span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.remove-p {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    backdrop-filter: blur(4px);
    transition: transform 0.2s;
}

.remove-p:hover {
    transform: scale(1.1);
}

/* Sidebar Information Cards Glow */
.floating-glass-card.aurora-glow:hover {
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.05);
    border-color: rgba(0, 255, 157, 0.2);
}

/* Receipt Context Styles */
.receipt-modal-wrap {
    background: #fff;
    color: #000;
    padding: 0;
    width: min(600px, 95%);
    border-radius: 12px;
}

.receipt-modal-wrap .modal-close {
    color: #888;
}

.receipt-body {
    padding: 3rem;
    font-family: 'Inter', sans-serif;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.service-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-logo i {
    color: #000;
    width: 28px;
    height: 28px;
}

.service-logo h3 {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.receipt-meta {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
}

.receipt-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.receipt-title h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.receipt-title p {
    color: #888;
    font-size: 0.9rem;
}

.receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.r-section label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.r-section strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.r-section p, .r-section span {
    font-size: 0.95rem;
    color: #444;
}

.r-section.full {
    border-top: 1px dashed #eee;
    padding-top: 1.5rem;
    margin-bottom: 3rem;
}

.receipt-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 4rem;
}

.footer-sign {
    width: 150px;
}

.sign-line {
    border-bottom: 1px solid #000;
    margin-top: 2.5rem;
}

.qr-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-code-img {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.qr-code-img img {
    width: 100%;
    height: 100%;
}

.qr-text {
    text-align: center;
}

.qr-text strong {
    display: block;
    font-size: 0.8rem;
    color: #444;
}

.qr-text span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #999;
}

/* Simple Tracking Header & Actions */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Masterpiece Workflow Tracking Cards */
.tracking-grid-luxe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2.5rem;
}

.track-card-luxe {
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: slideUpFade 0.8s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    opacity: 0;
    transform: translateY(30px);
}

.track-card-luxe:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
}

.glass-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    top: -50px;
    right: -50px;
    transition: all 0.5s;
}

.sphere-blue { background: var(--royal-blue); }
.sphere-orange { background: var(--orange); }
.sphere-green { background: var(--green); }
.sphere-mint { background: linear-gradient(135deg, #2dd4bf, #0d9488); }

.track-card-luxe:hover .glass-sphere {
    opacity: 0.3;
    transform: scale(1.2);
}

.track-top-luxe {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.plate-luxe {
    display: inline-block;
    background: linear-gradient(135deg, #eee 0%, #aaa 100%);
    color: #111;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.v-sub strong {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.v-sub span {
    font-size: 0.85rem;
    color: var(--muted);
}

.status-pill-luxe {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.05);
}

.status-pill-luxe.blue { color: var(--royal-blue); border: 1px solid rgba(65, 105, 225, 0.3); box-shadow: 0 0 15px rgba(65, 105, 225, 0.15); }
.status-pill-luxe.orange { color: var(--orange); border: 1px solid rgba(255, 136, 0, 0.3); box-shadow: 0 0 15px rgba(255, 136, 0, 0.15); }
.status-pill-luxe.green { color: var(--green); border: 1px solid rgba(0, 255, 157, 0.3); box-shadow: 0 0 15px rgba(0, 255, 157, 0.15); }
.status-pill-luxe.mint { color: #5eead4; border: 1px solid rgba(45, 212, 191, 0.35); box-shadow: 0 0 15px rgba(45, 212, 191, 0.2); }

/* Neon Timeline */
.timeline-luxe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.t-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.t-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    position: relative;
}

.t-step span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.4s;
}

.t-step.active .t-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.t-step.active span { color: #fff; }

.t-step.success .t-icon {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.t-path {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    flex: 1;
    margin: 0 -10px;
    position: relative;
    top: -12px;
}

.t-path.active {
    background: linear-gradient(to right, var(--green), var(--royal-blue));
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.t-path.active-warning {
    background: linear-gradient(to right, var(--green), var(--orange));
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.3);
}

.t-path.active-success {
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.track-bot-luxe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.eta-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.eta-group strong {
    color: #fff;
    margin-left: 0.3rem;
}

.eta-group.success {
    color: var(--green);
}

.btn-detay-luxe {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-detay-luxe:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .tracking-grid-luxe { grid-template-columns: 1fr; }
}

/* Workflow Detail Modal */
.workflow-modal {
    width: min(850px, 95%);
}

.workflow-content-luxe {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.log-section {
    flex: 1;
}

.log-section label, .info-sidebar label {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--muted);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.vertical-timeline {
    position: relative;
    padding-left: 2rem;
}

.vertical-timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.log-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.log-item:last-child { padding-bottom: 0; }

.log-dot {
    position: absolute;
    left: -28px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #121218;
    z-index: 2;
}

.log-item.completed .log-dot {
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.log-item.active .log-dot {
    background: var(--royal-blue);
    box-shadow: 0 0 15px var(--royal-blue);
}

.log-info strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.log-info span {
    font-size: 0.8rem;
    color: var(--muted);
}

.info-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pulse-blue {
    animation: pulseBlue 2s infinite;
}

@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(65, 105, 225, 0); }
    100% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0); }
}

@media (max-width: 800px) {
    .workflow-content-luxe { flex-direction: column; }
    .info-sidebar { width: 100%; }
}

/* Inventory Masterpiece Styles */
.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-header {
    width: 50px;
    height: 50px;
    color: var(--royal-blue);
    background: rgba(65, 105, 225, 0.1);
    padding: 12px;
    border-radius: 15px;
    border: 1px solid rgba(65, 105, 225, 0.2);
}

.inventory-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.inventory-header p {
    color: var(--muted);
    font-size: 0.9rem;
}

.inventory-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 20px;
}

.search-wrap-luxe {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrap-luxe i {
    position: absolute;
    left: 1.2rem;
    color: var(--muted);
    width: 18px;
}

.search-wrap-luxe input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1rem 0.9rem 3.2rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-wrap-luxe input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--royal-blue);
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.1);
}

.filter-actions-luxe {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.category-pill {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
}

.category-pill.blue { color: var(--royal-blue); background: rgba(65, 105, 225, 0.1); }
.category-pill.orange { color: var(--orange); background: rgba(255, 136, 0, 0.1); }
.category-pill.purple { color: #a855f7; background: rgba(168, 85, 247, 0.1); }

.btn-ghost-luxe {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.btn-ghost-luxe:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-ghost-luxe i {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: all 0.4s;
}

.btn-ghost-luxe:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* --- ELITE MASTERPIECE MOBILE & TABLET SYSTEM --- */

@media (max-width: 1024px) {
    /* Global Layout Structural Fix */
    .app-layout { 
        display: block !important; 
        overflow-x: hidden !important; 
        position: relative;
    }
    
    .sidebar {
        position: fixed !important;
        left: -320px !important;
        top: 0; bottom: 0;
        margin: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        border-radius: 0 !important;
        z-index: 2000 !important;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
        backdrop-filter: blur(40px) !important;
    }

    .sidebar.mobile-active {
        transform: translateX(320px) !important;
    }

    .main-content {
        padding: calc(90px + env(safe-area-inset-top, 0px)) 1rem 1.5rem 1rem !important; 
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }

    .top-header { display: none !important; }
    
    .mobile-header-luxe { 
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center !important;
        column-gap: 0.5rem;
        z-index: 3000 !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        min-height: 72px !important;
        padding-top: max(0px, env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 0 !important;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        background: rgba(3, 4, 7, 0.85) !important;
        backdrop-filter: blur(20px) !important;
        box-sizing: border-box;
    }

    .mobile-header-start {
        display: flex;
        align-items: center;
        justify-self: start;
        flex-shrink: 0;
    }

    .mobile-header-brand {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        width: 100%;
        padding: 0 0.25rem;
    }

    .mobile-header-end {
        display: flex;
        align-items: center;
        justify-self: end;
        flex-shrink: 0;
    }

    .sidebar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-close-luxe {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--muted);
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: none; /* Only visible on mobile */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    @media (max-width: 1024px) {
    .sidebar-close-luxe { display: none !important; }
        
        .masterpiece-split {
            display: flex !important;
            flex-direction: column !important;
            gap: 2rem !important;
        }

        .masterpiece-info-panel {
            width: 100% !important;
            position: relative !important;
            top: 0 !important;
        }

        .glass-chamber {
            padding: 2rem 1.5rem !important;
        }

        .form-grid-2 {
            grid-template-columns: 1fr !important;
            gap: 1.2rem !important;
        }

        .chamber-header h3 {
            font-size: 1.4rem !important;
        }

        .scrutiny-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 1rem !important;
        }

        .masterpiece-form-actions {
            flex-direction: column !important;
            gap: 1rem !important;
        }

        .masterpiece-form-actions button {
            width: 100% !important;
            justify-content: center !important;
        }
    }

    .sidebar-close-luxe:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .logo-text-sm {
        font-family: "Outfit", sans-serif;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.03em !important;
        color: #fff;
        margin-top: -2px; /* Visual center adjustment */
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        max-width: 100%;
    }

    .hamburger-masterpiece {
        margin-right: 0 !important;
    }

    .sidebar-overlay {
        z-index: 1500 !important;
    }

    /* Bento Grid Elite Stacking */
    .bento-grid, .bento-grid-2, .bento-grid-3, .bento-grid-4 {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 1.5rem !important;
    }

    .bento-card.wide, .bento-card.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 300px !important;
    }

    .chart-container {
        height: 280px !important;
    }

    /* Sub-modules adjustments */
    .inventory-header, .invoice-header-luxe { 
        flex-direction: column !important; 
        align-items: flex-start !important; 
        gap: 1.5rem; 
    }
    
    .inventory-controls, .invoice-footer-luxe, .invoice-actions-final { 
        flex-direction: column !important; 
        gap: 1.5rem !important; 
    }

    .search-wrap-luxe { max-width: 100% !important; }
}

@media (max-width: 380px) {
    .mobile-header-luxe {
        column-gap: 0.35rem !important;
        padding-left: max(0.5rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.5rem, env(safe-area-inset-right, 0px)) !important;
    }

    .logo-text-sm {
        font-size: 1.05rem !important;
    }

    .noti-avatar-sm {
        width: 36px;
        height: 36px;
    }

    .hamburger-masterpiece {
        width: 44px !important;
        height: 44px !important;
    }

    .hamburger-masterpiece .h-core {
        width: 34px;
        height: 34px;
    }

    .hamburger-masterpiece .h-core i {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .stat-card-luxe { padding: 1.5rem; }
    
    .tracking-grid-luxe {
        grid-template-columns: 1fr !important;
    }

    .scrutiny-grid {
        grid-template-columns: 1fr !important;
    }

    /* Vehicles page: filter bar stacking */
    .filter-actions-luxe {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }

    .custom-select-luxe {
        min-width: unset !important;
        width: 100% !important;
    }

    .inventory-controls {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1.2rem !important;
    }

    .search-wrap-luxe {
        max-width: 100% !important;
        width: 100% !important;
    }

    .download-btn span {
        display: none;
    }

    .download-btn {
        padding: 0.8rem 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .header-stats {
        display: none;
    }

    /* Vehicle detail modal */
    .modal-content {
        width: 95% !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-actions-luxe {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .modal-actions-luxe button {
        width: 100% !important;
        justify-content: center !important;
    }
}

@keyframes slideUpFade {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
    /* Adaptive Table-to-Card (Ultra Mobile Optimization) */
    .glass-table, .glass-table thead, .glass-table tbody, .glass-table th, .glass-table td, .glass-table tr {
        display: block !important;
    }

    .glass-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .glass-table tr {
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid var(--border) !important;
        border-radius: 18px !important;
        margin-bottom: 2rem !important;
        padding: 1.5rem !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    }

    .glass-table td {
        border: none !important;
        position: relative;
        padding: 0.8rem 0 0.8rem 45% !important;
        text-align: right !important;
        min-height: 44px;
        font-size: 0.95rem;
    }

    .glass-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 40%;
        padding-right: 15px;
        white-space: nowrap;
        text-align: left;
        font-weight: 800;
        color: var(--muted);
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .glass-table td:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-top: 1rem;
        padding: 1.5rem 0 0.5rem 0 !important;
        text-align: center !important;
    }
    
    .glass-table td:last-child:before { content: none; }

    /* Vehicle card refinements */
    .glass-table td .plate-badge {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .glass-table td .v-info {
        text-align: right;
    }

    .glass-table td .action-btns {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .glass-table td .action-btns .btn-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .glass-table td .status-chip {
        font-size: 0.8rem;
    }
}

/* --- MASTERPIECE HAMBURGER & UI ELEMENTS --- */

.hamburger-masterpiece {
    position: relative;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    padding: 0;
    margin-right: 0;
    flex-shrink: 0;
}

.h-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 157, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
    animation: h-pulse 2.5s infinite ease-in-out;
}

.h-core {
    position: relative;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.h-core i { width: 22px; height: 22px; filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.3)); }

.hamburger-masterpiece:hover .h-core {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
}

.hamburger-masterpiece:active .h-core {
    transform: scale(0.9);
}

@keyframes h-pulse {
    0% { transform: scale(0.92); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.4); }
    70% { transform: scale(1.08); opacity: 0.1; box-shadow: 0 0 0 12px rgba(0, 255, 157, 0); }
    100% { transform: scale(0.92); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

/* Elite Notification Icon */
.noti-avatar-sm {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.3s;
}

.noti-avatar-sm:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sm-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--green);
    border: 2px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: sm-ping 1.5s infinite;
}

@keyframes sm-ping {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* =========================================
   INVENTORY LUXE GRID & CARDS
   ========================================= */

.inventory-grid-luxe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.part-card-luxe {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.part-card-luxe:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 157, 0.15);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.part-card-luxe.warning-card {
    border-color: rgba(255, 136, 0, 0.15);
}

.part-card-luxe.warning-card:hover {
    border-color: rgba(255, 136, 0, 0.3);
    box-shadow: 0 15px 35px rgba(255, 136, 0, 0.05);
}

.warning-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ff8800;
    box-shadow: 0 0 15px #ff8800;
}

.part-card-luxe.danger-card {
    border-color: rgba(255, 68, 68, 0.15);
}

.part-card-luxe.danger-card:hover {
    border-color: rgba(255, 68, 68, 0.3);
    box-shadow: 0 15px 35px rgba(255, 68, 68, 0.05);
}

.danger-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
    box-shadow: 0 0 15px var(--red);
}

.inventory-subdealer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    margin-top: 0.4rem;
    max-width: 100%;
}

.inventory-grid-luxe .inventory-loading,
.inventory-grid-luxe .inventory-error,
.inventory-grid-luxe .inventory-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.inventory-grid-luxe .inventory-error {
    color: #f87171;
}

.part-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.p-icon-luxe {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.warning-card .p-icon-luxe { color: #ff8800; background: rgba(255, 136, 0, 0.05); border-color: rgba(255, 136, 0, 0.15); }
.danger-card .p-icon-luxe { color: var(--red); background: rgba(255, 68, 68, 0.05); border-color: rgba(255, 68, 68, 0.15); }

.p-info-main {
    flex-grow: 1;
}

.p-sku {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.p-info-main h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: #fff;
}

.p-price {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.p-price strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.p-price span {
    font-size: 0.7rem;
    color: var(--muted);
}

.part-mid {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.p-stock-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stock-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
}

.s-label { color: var(--muted); }
.s-val.text-green { color: var(--green); }
.s-val.text-orange { color: #ff8800; }
.s-val.text-red { color: var(--red); }

.stock-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.s-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.s-fill.green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.s-fill.orange { background: #ff8800; box-shadow: 0 0 10px #ff8800; }
.s-fill.red { background: var(--red); box-shadow: 0 0 10px var(--red); }

.pulse-fast { animation: s-pulse-f 1s infinite alternate; }

@keyframes s-pulse-f {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

.part-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
}

.quick-adjust {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.3rem;
    backdrop-filter: blur(10px);
}

.qa-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qa-btn i { width: 14px; height: 14px; }

.qa-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.qa-btn:active:not(:disabled) {
    transform: scale(0.9);
}

.qa-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qa-val {
    min-width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    transition: transform 0.15s, color 0.15s;
    user-select: none;
}

.part-edit-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.part-edit-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* =========================================
   INVOICE / RECEIPT NEW HEADERS & FOOTERS
   ========================================= */

.company-card-luxe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 20px;
}

.co-brand-luxe {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.co-logo-wrap {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-logo-wrap i {
    width: 32px;
    height: 32px;
}

.co-text {
    display: flex;
    flex-direction: column;
}

.co-text .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.co-text p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.doc-meta-pill {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.meta-item label {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 1px;
}

.meta-item strong {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.meta-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.customer-bar-luxe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.c-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.c-info-luxe {
    flex: 1;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
}

.c-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 1px;
}

.c-name {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0.2rem;
}

.c-model {
    color: var(--muted);
    font-weight: 500;
}

.dot-sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.btn-change-c {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
}

.invoice-footer-luxe {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.notes-panel-luxe {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 20px;
    align-items: flex-start;
}

.n-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(65, 105, 225, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.n-text strong {
    font-size: 1rem;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.n-text p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.totals-panel-luxe {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.total-row span { color: var(--muted); font-weight: 500;}
.total-row strong { color: #fff; font-weight: 700; font-family: 'Courier New', Courier, monospace; letter-spacing: -0.5px;}

.total-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.grand-total span {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
}

.grand-total strong {
    font-size: 1.8rem;
    font-weight: 900;
}

.invoice-actions-final {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 3rem;
}

.action-duo {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 1rem 1.5rem;
}

.action-btn-main {
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

/* =========================================
   INVOICE / RECEIPT STUDIO LUXE
   ========================================= */

.invoice-studio-luxe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.receipt-items-wrap {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 11, 16, 0.6);
    overflow: hidden;
}

.receipt-header-row {
    display: flex;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.receipt-items-luxe {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.receipt-row {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid transparent;
}

.receipt-row:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.r-col {
    font-size: 0.95rem;
    color: #fff;
}

.r-col.txt-center { text-align: center; }
.r-col.txt-right { text-align: right; }
.r-col.actions { display: flex; align-items: center; }

.r-col strong {
    font-weight: 700;
}

.add-invoice-item-luxe {
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    background: rgba(0, 255, 157, 0.02);
}

.add-invoice-item-luxe h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.add-invoice-item-luxe h4 i { width: 18px; height: 18px; }

.add-row-luxe {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pulse-neon {
    animation: neon-bump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes neon-bump {
    0% { transform: scale(1); text-shadow: 0 0 10px rgba(0, 255, 157, 0); }
    50% { transform: scale(1.1); text-shadow: 0 0 30px rgba(0, 255, 157, 0.8), 0 0 50px rgba(0, 255, 157, 0.5); }
    100% { transform: scale(1); text-shadow: 0 0 10px rgba(0, 255, 157, 0); }
}

/* =========================================
   PAYMENTS LUXE
   ========================================= */

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.pay-method-card {
    position: relative;
    cursor: pointer;
}

.pay-method-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.pm-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid transparent;
    transition: all 0.3s;
    text-align: center;
    color: var(--muted);
}

.pm-content i {
    width: 24px;
    height: 24px;
    color: var(--muted);
    transition: all 0.3s;
}

.pm-content span {
    font-size: 0.85rem;
    font-weight: 700;
}

.pay-method-card:hover .pm-content {
    background: rgba(255, 255, 255, 0.04);
}

.pay-method-card.active .pm-content {
    background: rgba(0, 255, 157, 0.05);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.pay-method-card.active .pm-content i {
    color: var(--green);
}

.luxe-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.luxe-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
}

.luxe-history-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.04);
}

.p-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
}

.p-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.p-info strong {
    font-size: 0.95rem;
    color: #fff;
}

.p-info span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* =========================================
   TRACKING LUXE & WORKFLOW
   ========================================= */

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tracking-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.tracking-grid-luxe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.track-card-luxe {
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.glass-sphere {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    pointer-events: none;
}

.sphere-blue { background: var(--blue); }
.sphere-orange { background: #ff8800; }
.sphere-green { background: var(--green); }
.sphere-mint { background: linear-gradient(135deg, #2dd4bf, #0d9488); }

.track-top-luxe {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.v-label-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plate-luxe {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    align-self: flex-start;
}

.v-sub {
    display: flex;
    flex-direction: column;
}

.v-sub strong { font-size: 1.1rem; color: #fff; }
.v-sub span { font-size: 0.85rem; color: var(--muted); }

.status-pill-luxe {
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-pill-luxe.blue { background: rgba(65, 105, 225, 0.15); color: var(--blue); border: 1px solid rgba(65, 105, 225, 0.3); }
.status-pill-luxe.orange { background: rgba(255, 136, 0, 0.15); color: #ff8800; border: 1px solid rgba(255, 136, 0, 0.3); }
.status-pill-luxe.green { background: rgba(0, 255, 157, 0.15); color: var(--green); border: 1px solid rgba(0, 255, 157, 0.3); }
.status-pill-luxe.mint { background: rgba(45, 212, 191, 0.15); color: #5eead4; border: 1px solid rgba(45, 212, 191, 0.35); }

.timeline-luxe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 2;
}

.t-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    color: var(--muted);
    transition: all 0.3s;
}

.t-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.t-step span {
    font-size: 0.8rem;
    font-weight: 700;
}

.t-step.active { color: #fff; }
.t-step.active .t-icon {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.t-step.active.pulse .t-icon { animation: neon-pulse 1.5s infinite alternate; }
.t-step.active.warning-pulse .t-icon {
    background: rgba(255, 136, 0, 0.1);
    border-color: #ff8800;
    color: #ff8800;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.2);
    animation: warn-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from { box-shadow: 0 0 10px rgba(0, 255, 157, 0.1); }
    to { box-shadow: 0 0 25px rgba(0, 255, 157, 0.5), 0 0 40px rgba(0, 255, 157, 0.2); }
}

@keyframes warn-pulse {
    from { box-shadow: 0 0 10px rgba(255, 136, 0, 0.1); }
    to { box-shadow: 0 0 25px rgba(255, 136, 0, 0.5), 0 0 40px rgba(255, 136, 0, 0.2); }
}

.t-path {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 0 10px;
    position: relative;
    top: -15px;
    overflow: hidden;
}

.t-path.active::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
}
.t-path.active-success::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}
.t-path.active-warning::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100%;
    background: #ff8800;
    box-shadow: 0 0 10px #ff8800;
}

.track-bot-luxe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    z-index: 2;
}

.eta-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.eta-group strong {
    color: #fff;
    font-weight: 800;
}

.eta-group.success {
    color: var(--green);
}

.btn-detay-luxe {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-detay-luxe:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Workflow Modal Logs */
.vertical-timeline {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

.log-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.log-item:last-child { margin-bottom: 0; }

.log-dot {
    position: absolute;
    left: -21.5px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--dark);
}

.log-item.completed .log-dot {
    background: var(--green);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.pulse-blue {
    background: var(--blue) !important;
    animation: neon-pulse-s 1.5s infinite alternate;
}

@keyframes neon-pulse-s {
    from { box-shadow: 0 0 5px rgba(65, 105, 225, 0.3); }
    to { box-shadow: 0 0 15px rgba(65, 105, 225, 0.8); }
}

.log-info {
    display: flex;
    flex-direction: column;
}

.log-info strong {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.log-info span {
    font-size: 0.75rem;
    color: var(--muted);
}

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.bento-card-mini {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.bento-card-mini label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* --- RESPONSIVE MASTERPIECE DESIGN --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .invoice-header-luxe, .detail-bento-grid, .receipt-grid {
        grid-template-columns: 1fr;
    }
    .scrutiny-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .sidebar {
        width: 220px;
    }
    .main-content {
        padding: 10px 10px 10px 0;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Layout & Navigation */
    .mobile-header-luxe {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.2rem;
        background: rgba(10, 11, 16, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        z-index: 1000;
        height: 70px;
    }

    .top-header {
        display: none !important; /* Hide desktop header completely */
    }

    .app-layout {
        flex-direction: column;
    }

    .sidebar {
        position: fixed !important;
        left: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        margin: 0;
        border: none;
        border-radius: 0;
        border-right: 1px solid var(--border);
        z-index: 999;
        transition: left 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        width: 85%;
        max-width: 320px;
        background: rgba(5, 6, 10, 0.95);
        overflow-y: auto;
        padding-bottom: 3rem;
    }

    .sidebar.mobile-active {
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        z-index: 998;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .main-content {
        padding: 85px 15px 15px 15px; /* Account for mobile header */
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
    }

    /* Grids & Containers */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .scrutiny-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card {
        padding: 1.2rem;
    }

    .v-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .v-search-row {
        width: 100%;
    }

    .v-filter-pills {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .v-filter-pills::-webkit-scrollbar {
        height: 3px;
    }

    /* Inputs & Forms */
    .custom-select-luxe, .input-wrapper, .search-wrap-luxe.input-wrapper {
        width: 100%;
    }

    .search-bar {
        width: 100%;
    }

    .masterpiece-split {
        flex-direction: column;
    }

    /* Modals - Bottom Sheet Style */
    .modal-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        height: auto;
        border-radius: 24px 24px 0 0;
        padding: 1.5rem;
        padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 20px);
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        border: 1px solid var(--border);
        border-bottom: none;
    }

    .modal-overlay.active .modal-content {
        transform: translateY(0);
    }
    
    .modal-actions-luxe {
        position: sticky;
        bottom: 0;
        background: rgba(10, 11, 16, 0.9);
        backdrop-filter: blur(10px);
        margin: 0 -1.5rem calc(-1 * (env(safe-area-inset-bottom, 20px) + 20px)) -1.5rem;
        padding: 1rem 1.5rem calc(env(safe-area-inset-bottom, 20px) + 15px) 1.5rem;
        border-top: 1px solid var(--border);
    }

    .modal-close {
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Glass Table to Cards */
    .glass-table, .glass-table tbody, .glass-table tr, .glass-table td {
        display: block;
        width: 100%;
    }

    .glass-table thead {
        display: none;
    }

    .glass-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--border);
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.02);
        padding: 0.5rem;
    }

    .glass-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        border: none !important;
        padding: 0.8rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .glass-table td:last-child {
        border-bottom: none !important;
    }

    .glass-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted);
        text-transform: uppercase;
        font-size: 0.75rem;
        text-align: left;
        padding-right: 1rem;
    }

    .glass-table td .plate-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    .glass-table td .btn-icon, .glass-table td .action-btns .btn-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .action-btns {
        justify-content: flex-end;
    }

    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .inventory-controls {
        flex-direction: column;
    }
    
    .filter-actions-luxe {
        width: 100%;
    }
    
    .search-wrap-luxe {
        width: 100%;
    }

    /* Receipt & Invoicing */
    .invoice-header-luxe {
        flex-direction: column;
    }

    .doc-meta-luxe {
        align-items: flex-start;
    }
    
    .customer-bar-luxe {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .invoice-footer-luxe {
        flex-direction: column;
        gap: 1.5rem;
    }

    .totals-section-luxe {
        width: 100%;
    }

    .add-row-luxe td {
        display: block;
        padding: 0.5rem !important;
    }
    
    .add-row-luxe td::before {
        display: none; /* Hide pseudo label for inputs */
    }

    .btn-royal, .btn-primary, .btn-ghost-luxe, .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .invoice-actions-final {
        flex-direction: column;
        width: 100%;
    }
    
    .secondary-group {
        width: 100%;
        flex-direction: column;
    }

    /* Floating action buttons */
    #add-part, #add-item-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Base Modal Overlays Fixes (in case they are missing from root styles) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =========================================
   BUG FIX: HORIZONTAL OVERFLOW PREVENTION
   (Fixes the grey gap/vertical line issue)
   ========================================= */

@media (max-width: 768px) {
    /* Critical: Prevent horizontal scroll inside the scrollable main area */
    .main-content {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    /* Fix Tracking Module Header Overflow */
    .tracking-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .tracking-header .header-actions {
        display: flex;
        width: 100%;
        gap: 0.5rem;
    }

    .tracking-header .header-actions button {
        flex: 1;
        justify-content: center;
        padding: 0.8rem;
    }

    /* Wrap Tracking Timelines gracefully instead of overflowing */
    .tracking-grid-luxe {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-luxe {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .track-top-luxe {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .track-bot-luxe {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .track-bot-luxe button {
        width: 100%;
        justify-content: center;
    }

    /* Invoicing Mobile */
    .receipt-header-row {
        display: none;
    }
    .receipt-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .receipt-row .r-col {
        width: 100%;
        text-align: left !important;
    }
    .receipt-row .r-col.actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
    .add-row-luxe {
        flex-direction: column;
        align-items: stretch;
    }
    .add-row-luxe .luxe-input-group {
        flex: 1 !important;
    }
    .add-row-luxe .add-action {
        width: 100%;
        margin-top: 1rem;
    }
    .add-row-luxe .add-action button {
        width: 100%;
    }

    /* Payments Mobile */
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .pay-method-card .pm-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.8rem 1rem;
    }
    .glass-chamber {
        padding: 1rem;
    }

    /* Invoicing Top & Bottom Mobile */
    .company-card-luxe {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.2rem;
    }
    .doc-meta-pill {
        width: 100%;
        justify-content: space-between;
    }
    .meta-item {
        align-items: flex-start;
    }
    .customer-bar-luxe {
        padding: 1rem;
    }
    .c-info-luxe {
        margin-left: 1rem;
    }
    .c-name {
        font-size: 0.95rem;
    }
    .btn-text-hide {
        display: none;
    }
    .btn-change-c {
        padding: 0.8rem;
    }
    .invoice-footer-luxe {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .totals-panel-luxe {
        padding: 1.2rem;
    }
    .invoice-actions-final {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .action-duo {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .action-btn-main {
        justify-content: center;
    }
}

/* Dashboard — bayi özeti (GET /api/company) */
.dashboard-company-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
}

.dashboard-company-main {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 280px;
}

.dashboard-company-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.dashboard-company-icon i {
    width: 24px;
    height: 24px;
}

.dashboard-welcome {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 0.35rem 0;
}

.dashboard-company-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
    word-break: break-word;
}

.dashboard-company-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 0.75rem 0;
    line-height: 1.45;
}

.dashboard-company-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
}

.dashboard-badge.muted {
    opacity: 0.85;
}

.dashboard-badge.outline {
    background: transparent;
    border-color: rgba(0, 255, 157, 0.25);
    color: var(--green);
}

.dashboard-company-side {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 200px;
    flex: 0 1 auto;
}

.dashboard-side-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-side-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.dashboard-side-block strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.dashboard-skeleton {
    padding: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Platform yöneticisi — sidebar alt bayi listesi + panel */
.platform-subnav-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 240px;
    overflow-y: auto;
    margin: 0 0 10px 6px;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.nav-item--platform-sub {
    font-size: 0.8rem;
    padding: 7px 10px;
}

.nav-item--platform-sub span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1100px) {
    .platform-admin-grid {
        grid-template-columns: 1fr;
    }
}

.platform-admin .pa-user-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.platform-admin .pa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.platform-admin .pa-table th,
.platform-admin .pa-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.platform-admin .pa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-admin .pa-subtag {
    margin-top: 1.25rem;
}

.platform-admin .form-actions-row {
    margin-top: 1rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-admin-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pa-ops-hint {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.pa-summary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.pa-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pa-pill--loading {
    opacity: 0.85;
}

.pa-ops-toolbar {
    margin-bottom: 0.5rem;
}

.pa-muted {
    color: var(--muted);
    font-size: 0.88rem;
}

.pa-block {
    margin-bottom: 0.5rem;
}

.pa-officer-details {
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.12);
}

.pa-officer-details summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.35rem 0;
}

.pa-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    padding: 0.5rem 0 0.75rem;
}

.pa-vehicle-card {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pa-v-plate {
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.pa-wl-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
}

.pa-wl-date {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}

/* Platform hub — üst/alt bayi listesi */
.pa-hub-wrap {
    padding: 1rem 1.15rem 1.25rem;
}

.pa-hub-head {
    margin-bottom: 1rem;
}

.pa-hub-lead {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.pa-hub-tree {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pa-hub-node {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pa-hub-children {
    margin: 4px 0 6px 10px;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 255, 157, 0.18);
}

.pa-hub-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pa-hub-row:hover,
.pa-hub-row:focus-visible {
    color: var(--green, #00ff9d);
    border-color: rgba(0, 255, 157, 0.35);
    background: rgba(0, 255, 157, 0.06);
}

.pa-hub-row:hover .pa-hub-bar,
.pa-hub-row:focus-visible .pa-hub-bar {
    opacity: 1;
    background: var(--green, #00ff9d);
}

.pa-hub-row--child {
    font-size: 0.92rem;
}

.pa-hub-bar {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 2px;
    background: rgba(0, 255, 157, 0.35);
    opacity: 0.65;
}

.pa-hub-row i[data-lucide] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.85;
}

.pa-hub-name-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pa-hub-name {
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pa-hub-meta {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.3;
}

.pa-hub-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.pa-hub-pill {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

.pa-hub-pill--muted {
    opacity: 0.85;
}

.pa-hub-chev {
    opacity: 0.45;
    flex-shrink: 0;
}

.pa-hub-chev i {
    width: 16px;
    height: 16px;
}

.pa-platform-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1rem;
}

a.pa-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

a.pa-nav-pill:hover {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 255, 157, 0.35);
}

a.pa-nav-pill.is-active {
    color: rgba(0, 255, 157, 0.95);
    border-color: rgba(0, 255, 157, 0.5);
    background: rgba(0, 255, 157, 0.08);
}

.pa-support-table-wrap,
.pa-pending-table-wrap {
    overflow-x: auto;
}

.pa-msg-preview {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pa-back-row {
    margin: 0 0 0.25rem;
}

.pa-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(0, 255, 157, 0.9);
    text-decoration: none;
}

.pa-back-link:hover {
    text-decoration: underline;
}

.pa-sr-reply-cell {
    min-width: 200px;
    max-width: 280px;
    vertical-align: top;
}

.pa-sr-reply-preview {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.pa-sr-reply-cell .btn-royal.pa-sr-open-modal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
}

.pa-sr-reply-cell .btn-royal.pa-sr-open-modal i[data-lucide] {
    width: 16px;
    height: 16px;
}

/* Platform destek — cevap modalı */
.pa-support-reply-modal.modal-content {
    width: min(560px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem 2.25rem;
}

.pa-sr-modal-head h3 {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pa-sr-modal-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 1rem;
}

.pa-sr-reply-label {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.pa-sr-modal-textarea {
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 140px;
}

.pa-sr-modal-incoming {
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.95;
}

.pa-sr-modal-actions {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
}

.support-module .support-table-wrap {
    overflow-x: auto;
}

.support-module .support-msg-cell,
.support-module .support-answer-cell {
    max-width: 280px;
    font-size: 0.88rem;
    line-height: 1.45;
    vertical-align: top;
}

.support-module .support-answer-text {
    white-space: pre-wrap;
    word-break: break-word;
}

.support-module .support-status-pill {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.pa-inline-link {
    color: rgba(0, 255, 157, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pa-subscription-section .pa-sub-hint,
.pa-sub-hint2 {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.pa-module-toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0.5rem 0 1rem;
}

.pa-mod-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pa-mod-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--green, #00ff9d);
}

.pa-mod-code {
    font-size: 0.72rem;
    opacity: 0.65;
    margin-left: auto;
}

.pa-features-page {
    padding: 1rem 0;
}

.pa-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.pa-feature-card {
    padding: 1rem 1.1rem;
    border-radius: 16px;
}

.pa-feature-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pa-feature-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.pa-feature-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.pa-feature-switch input {
    width: 18px;
    height: 18px;
    accent-color: var(--green, #00ff9d);
}

.pa-feature-desc {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.pa-feature-perms {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* =========================================================================
   LuxeSelect Hover Badge Pop (Uzmanlık ve İş Yükü)
========================================================================= */
.luxe-select-badge-pop {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    visibility: hidden;
    background: rgba(15, 20, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    min-width: max-content;
}

.option-luxe:hover .luxe-select-badge-pop {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.luxe-select-badge-pop .badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.luxe-select-badge-pop .badge-row i {
    width: 14px;
    height: 14px;
    color: var(--neon-cyan);
}
