/* ==========================================================================
   PARKEXPERT STYLE SYSTEM
   Author: Antigravity AI
   ========================================================================== */

/* Google Fonts Import loaded via HTML link tags for better performance */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap'); */

/* CSS Variables */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette */
  --color-primary-dark: #0a1424;       /* Deep navy/royal dark (matches logo dark) */
  --color-primary-light: #112347;      /* Navy medium blue */
  --color-primary-border: #1d325f;     /* Navy blue border */
  --color-primary: #0f3ba2;            /* Royal Blue Accent */
  
  --color-accent-orange: #ffd000;      /* Accent Golden Yellow (matches logo EXPERT) */
  --color-accent-gold: #ffd000;        /* Golden Yellow Accent */
  --color-accent-red: #0f3ba2;         /* Accent Royal Blue (matches logo PARK) */
  --color-gradient-accent: linear-gradient(135deg, #ffd000 0%, #ff9f00 100%);
  --color-gradient-primary: linear-gradient(135deg, #0a1424 0%, #1e3a8a 100%);
  --color-gradient-card: linear-gradient(180deg, rgba(17, 35, 71, 0.7) 0%, rgba(10, 20, 36, 0.8) 100%);
  
  --color-bg-light: #f8fafc;           /* Light body bg */
  --color-bg-card-light: #ffffff;      /* Light card bg */
  --color-border-light: #e2e8f0;       /* Light border */
  --color-text-dark: #0f172a;          /* Primary dark text */
  --color-text-muted: #64748b;         /* Secondary muted text */
  --color-text-light: #ffffff;         /* Pure white text */
  --color-text-muted-dark-bg: #94a3b8; /* Muted text for dark backgrounds (contrast AA) */
  
  
  /* Status Colors */
  --color-status-new-bg: #eff6ff;
  --color-status-new-text: #2563eb;
  --color-status-new-border: #bfdbfe;
  
  --color-status-review-bg: #fef3c7;
  --color-status-review-text: #d97706;
  --color-status-review-border: #fde68a;
  
  --color-status-approved-bg: #ecfdf5;
  --color-status-approved-text: #059669;
  --color-status-approved-border: #a7f3d0;
  
  --color-status-rejected-bg: #fef2f2;
  --color-status-rejected-text: #dc2626;
  --color-status-rejected-border: #fecaca;

  /* Global tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 15px rgba(255, 208, 0, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Accessibility Helpers */
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* Header & Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.025em;
}

.logo-text span {
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-item a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--color-primary-dark);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient-accent);
  transition: width var(--transition-normal);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-gradient-accent);
  color: var(--color-text-light) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main Layout */
main {
  flex: 1;
}

/* Hero Section */
.hero {
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 208, 0, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(15, 59, 162, 0.12) 0%, transparent 45%),
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--color-text-dark);
  padding: 4.5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
  transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 59, 162, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 59, 162, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 59, 162, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 59, 162, 0.06);
  border: 1px solid rgba(15, 59, 162, 0.12);
  color: var(--color-accent-red);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 48px;
}

.btn-primary {
  background: var(--color-gradient-accent);
  color: var(--color-text-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(15, 59, 162, 0.06);
  border: 1px solid rgba(15, 59, 162, 0.18);
  color: var(--color-accent-red);
}

.btn-secondary:hover {
  background: rgba(15, 59, 162, 0.12);
  border-color: rgba(15, 59, 162, 0.3);
  color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.08);
}

.hero-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Premium Glassmorphic Badge */
.glass-badge {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 59, 162, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 40px rgba(10, 20, 36, 0.08), 0 1px 3px rgba(10, 20, 36, 0.02);
  text-align: center;
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.glass-badge-icon {
  width: 70px;
  height: 70px;
  background: rgba(15, 59, 162, 0.06);
  border: 1.5px solid rgba(15, 59, 162, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-red);
  margin: 0 auto 1.5rem auto;
  font-size: 1.75rem;
  box-shadow: var(--shadow-glow);
}

.glass-badge-title {
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.glass-badge-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.glass-badge-list {
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.glass-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.glass-badge-item svg {
  color: var(--color-accent-red);
  flex-shrink: 0;
}

/* Live Plate Simulation Widget Styles */
#live-sim-plate {
  white-space: nowrap;
}

/* Advantages Section */
.advantages {
  padding: 6rem 0;
  background: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.advantage-card {
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(249, 115, 22, 0.2);
}

.advantage-icon {
  width: 54px;
  height: 54px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
  background: var(--color-gradient-accent);
  color: var(--color-text-light);
  box-shadow: var(--shadow-glow);
}

.advantage-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.advantage-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Call to Action Banner */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: var(--color-primary-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border-light);
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  z-index: 2;
  position: relative;
}

.cta-text h2 {
  font-size: 2.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Form Page - Wizard Container */
.wizard-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.wizard-card {
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

/* Progress Tracker */
.wizard-progress {
  background: #f1f5f9;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border-light);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border-light);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}

.step-indicator.clickable {
  cursor: pointer;
}

.step-indicator.clickable:hover .step-circle {
  border-color: var(--color-primary);
  background: rgba(15, 59, 162, 0.05);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.15);
}

.step-indicator.clickable:hover .step-label {
  color: var(--color-primary);
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

/* Active Step Progress Styles */
.step-indicator.active .step-circle {
  border-color: var(--color-accent-orange);
  background: var(--color-gradient-accent);
  color: var(--color-text-light);
  box-shadow: var(--shadow-glow);
}

.step-indicator.active .step-label {
  color: var(--color-accent-orange);
  font-weight: 700;
}

.step-indicator.completed .step-circle {
  border-color: #10b981;
  background: #10b981;
  color: var(--color-text-light);
}

.step-indicator.completed .step-label {
  color: #10b981;
}

/* Dynamic Active Progress Bar Width Control */
.progress-bar-fill {
  position: absolute;
  top: 18px;
  left: 0;
  height: 3px;
  background: var(--color-gradient-accent);
  z-index: 1;
  width: 0%;
  transition: width var(--transition-slow);
}

/* Form Step Layouts */
.wizard-form {
  padding: 3rem;
}

.form-step {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.form-step.active {
  display: block;
}

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

.step-header {
  margin-bottom: 2.25rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Form Group Grid System */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

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

.form-group.full-width {
  grid-column: span 2;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  user-select: none;
}

label .required-indicator {
  color: var(--color-accent-red);
}

/* Custom Interactive Radio/Checkbox Cards */
.selection-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.selection-card {
  position: relative;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.selection-card:hover {
  border-color: var(--color-accent-orange);
  background: rgba(249, 115, 22, 0.02);
}

.selection-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent-orange);
  margin-top: 0.2rem;
}

.selection-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.selection-card-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.selection-card.selected {
  border-color: var(--color-accent-orange);
  background: rgba(249, 115, 22, 0.05);
  box-shadow: 0 0 0 1px var(--color-accent-orange);
}

/* Inputs, Textareas, Selects Styling */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="password"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Premium Real-time Visual Uppercasing & Placeholders */
#company-name,
#full-name,
#car-model,
#driver-name,
#home-address,
#application-notes,
#billing-company,
#billing-tax-office,
#billing-address,
#edit-company-new-input {
  text-transform: uppercase;
}

#company-name::placeholder,
#full-name::placeholder,
#car-model::placeholder,
#driver-name::placeholder,
#home-address::placeholder,
#application-notes::placeholder,
#billing-company::placeholder,
#billing-tax-office::placeholder,
#billing-address::placeholder,
#edit-company-new-input::placeholder {
  text-transform: none;
}


/* Custom Select Dropdown Arrow styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

/* Forms Help/Error Text */
.form-hint {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.error-message {
  font-size: 0.775rem;
  color: var(--color-accent-red);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  display: none; /* Controlled via JS */
}

/* Premium Visual Validation Feedback & Animations */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--color-accent-red) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  background-color: #fef2f2 !important;
}

.upload-zone.is-invalid {
  border-color: var(--color-accent-red) !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.checklist-item-wrapper.is-invalid {
  border-color: var(--color-accent-red) !important;
  background: #fef2f2 !important;
}

@keyframes error-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.error-shake {
  animation: error-shake 0.3s ease-in-out;
}

.login-shake {
  animation: error-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}


/* Interactive Drag & Drop File Upload Areas */
.upload-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.upload-zone {
  border: 2px dashed var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: center;
  cursor: pointer;
  background-color: var(--color-bg-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--color-accent-orange);
  background-color: rgba(249, 115, 22, 0.02);
}

.upload-zone-icon {
  font-size: 2rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.upload-zone:hover .upload-zone-icon,
.upload-zone.dragover .upload-zone-icon {
  color: var(--color-accent-orange);
}

.upload-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.upload-text span {
  color: var(--color-accent-orange);
  text-decoration: underline;
}

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

/* Uploaded File List Display */
.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.file-item {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  animation: slideIn var(--transition-fast);
}

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

.file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.file-icon {
  color: var(--color-accent-orange);
  flex-shrink: 0;
}

.file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.file-remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.file-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-accent-red);
}

/* Corporate Upload Toggle */
#corporate-upload-fields {
  display: none; /* Controlled dynamically via JS */
}

/* Agreement Checklist & Custom Toggles */
.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent-orange);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border-light);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-text {
  font-size: 0.925rem;
  color: var(--color-primary-dark);
  user-select: none;
  line-height: 1.45;
}

.checklist-text a {
  color: var(--color-accent-orange);
  font-weight: 600;
  text-decoration: underline;
}

/* Wizard Action Footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding: 1.75rem 3rem;
  background-color: var(--color-bg-light);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* Success Step Screen Styles */
.success-screen {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 2.25rem;
  margin: 0 auto 2rem auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.success-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.success-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem auto;
}

.application-badge {
  background: var(--color-gradient-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  max-width: 420px;
  margin: 0 auto 2.5rem auto;
  border: 1px solid var(--color-primary-border);
  box-shadow: var(--shadow-lg);
}

.application-badge-label {
  color: rgba(243, 244, 246, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.application-badge-number {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.success-notifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 480px;
  margin: 0 auto 3rem auto;
}

.notification-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: left;
}

.notification-pill-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification-pill-icon.whatsapp { color: #25d366; }
.notification-pill-icon.email { color: var(--color-accent-orange); }

.notification-pill-details h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.notification-pill-details p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Modal Popup Window */
.modal-overlay {
  display: none; /* Controlled via JS */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn var(--transition-normal);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text-dark);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

.modal-body h4 {
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 1.25rem 0 0.5rem 0;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: flex-end;
  background-color: var(--color-bg-light);
}

/* ==========================================================================
   ADMIN SaaS DASHBOARD LAYOUT STYLES
   ========================================================================== */
.admin-layout {
  min-height: 100vh;
  display: flex;
  background-color: #f1f5f9;
}

/* Sidebar Styling */
.admin-sidebar {
  width: 260px;
  background-color: #ffffff;
  color: var(--color-primary-dark);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border-light);
  position: relative;
  z-index: 99;
}

.sidebar-category {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-category-header {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 0.75rem;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.sidebar-widget-status {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.sidebar-widget-status:hover {
  background: linear-gradient(135deg, rgba(15, 59, 162, 0.04), rgba(255, 255, 255, 0.08)) !important;
  border-color: rgba(15, 59, 162, 0.15) !important;
  box-shadow: 0 6px 14px rgba(15, 59, 162, 0.03);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  margin-top: -2rem;
  height: 72px;
  border-bottom: none;
  box-sizing: border-box;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.sidebar-item.active a,
.sidebar-item a:hover {
  color: var(--color-primary-dark);
  background-color: rgba(15, 59, 162, 0.05);
}

.sidebar-item.active a {
  border-left: 3px solid var(--color-accent-orange);
  background-color: rgba(15, 59, 162, 0.08);
}

/* Admin Main Content Wrapper */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.admin-header {
  background-color: #ffffff;
  height: 88px;
  padding: 0 3rem;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.admin-header-title h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.admin-header-title p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: var(--color-gradient-accent);
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.user-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

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

/* Dashboard Inner Workspace */
.admin-content {
  padding: 3rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal) !important;
  border-top: 4px solid var(--color-border-light);
}

#metric-card-total { border-top-color: var(--color-primary-dark); }
#metric-card-new { border-top-color: var(--color-status-new-text); }
#metric-card-review { border-top-color: var(--color-status-review-text); }
#metric-card-approved { border-top-color: var(--color-status-approved-text); }
#metric-card-rejected { border-top-color: var(--color-status-rejected-text); }

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 59, 162, 0.12);
}

#metric-card-total:hover { box-shadow: 0 12px 20px -8px rgba(10, 20, 36, 0.12); }
#metric-card-new:hover { box-shadow: 0 12px 20px -8px rgba(37, 99, 235, 0.12); }
#metric-card-review:hover { box-shadow: 0 12px 20px -8px rgba(217, 119, 6, 0.12); }
#metric-card-approved:hover { box-shadow: 0 12px 20px -8px rgba(5, 150, 105, 0.12); }
#metric-card-rejected:hover { box-shadow: 0 12px 20px -8px rgba(220, 38, 38, 0.12); }

.metric-card-details h4 {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.metric-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.metric-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.metric-card-icon.total { background: #f8fafc; color: var(--color-primary-dark); }
.metric-card-icon.new { background: var(--color-status-new-bg); color: var(--color-status-new-text); }
.metric-card-icon.review { background: var(--color-status-review-bg); color: var(--color-status-review-text); }
.metric-card-icon.approved { background: var(--color-status-approved-bg); color: var(--color-status-approved-text); }
.metric-card-icon.rejected { background: var(--color-status-rejected-bg); color: var(--color-status-rejected-text); }

/* SaaS Filters Panel */
.filters-panel {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.filters-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.filter-group label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input,
.filters-panel .search-input-wrapper input {
  padding-left: 2.6rem !important;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.filters-panel input,
.filters-panel select {
  min-height: 40px !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 0.875rem !important;
}

/* SaaS Admin Data Table Styling */
.table-container {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 2rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background-color: #f8fafc;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-border-light);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.admin-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-dark);
  vertical-align: middle;
  white-space: nowrap;
}

#panel-diagnostics .admin-table td div {
  white-space: normal;
  word-break: break-word;
}

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

.admin-table tr:hover td {
  background-color: #f8fafc;
}

/* Sticky Actions Column on modern browsers */
.admin-table th:last-child {
  position: sticky;
  right: 0;
  background-color: #f8fafc;
  z-index: 3;
  box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.1);
}

.admin-table td:last-child {
  position: sticky;
  right: 0;
  background-color: #ffffff;
  z-index: 2;
  box-shadow: -4px 0 8px -4px rgba(0, 0, 0, 0.1);
}

.admin-table tr:hover td:last-child {
  background-color: #f8fafc;
}

/* Custom Horizontal Scrollbar for Table Container
   (28.08.2026: Windows fare kullanicisi icin kalinlastirildi + koyulastirildi;
   Firefox icin scrollbar-color eklendi) */
.table-container,
#nq-table-container {
  scrollbar-width: auto;
  scrollbar-color: #94a3b8 #f1f5f9;
}
.table-container::-webkit-scrollbar,
#nq-table-container::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}
.table-container::-webkit-scrollbar-track,
#nq-table-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}
.table-container::-webkit-scrollbar-thumb,
#nq-table-container::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
  border: 2px solid #f1f5f9;
}
.table-container::-webkit-scrollbar-thumb:hover,
#nq-table-container::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Surukle-kaydir (drag-to-pan): genis tablolarda bos alana basili tutup
   cekerek yatay gezinme; .dragging sirasinda metin secimi kapali */
.drag-scroll {
  cursor: grab;
}
.drag-scroll.dragging {
  cursor: grabbing;
  user-select: none;
}

/* Kenar golgeleri: gorunmeyen kolon oldugunu isaret eder (JS toggles .on) */
.scroll-shell {
  position: relative;
}
.scroll-shade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 3;
}
.scroll-shade.left {
  left: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.scroll-shade.right {
  right: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.scroll-shade.on {
  opacity: 1;
}

/* Table Column Typography */
.col-customer {
  display: flex;
  flex-direction: column;
}

.customer-name {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.customer-details {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

.col-plate {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading), 'Inter', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark, #0a1424);
  letter-spacing: 0.05em;
  background: #ffffff;
  border: 2px solid #0a1424;
  border-radius: 6px;
  padding: 0.25rem 0.6rem 0.25rem 1.65rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.col-plate::before {
  content: "TR";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 1.25rem;
  background: #003399;
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 900;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  letter-spacing: 0;
}

/* Interactive TR License Plate Input Component */
.tr-plate-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #0a1424;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
  width: 100%;
}

.tr-plate-input-wrapper:focus-within {
  border-color: #003399;
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tr-plate-badge {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 2.2rem;
  align-self: stretch;
  background: #003399;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  user-select: none;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.tr-plate-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-family: var(--font-heading), 'Inter', monospace;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: var(--color-primary-dark, #0a1424) !important;
  text-transform: uppercase !important;
  padding: 0.5rem 0.85rem !important;
  box-shadow: none !important;
  width: 100%;
}

.tr-plate-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.col-otopark {
  font-weight: 500;
}
/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.775rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.status-badge.status-yeni {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}
.status-badge.status-yeni::before {
  background: #2563eb;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  animation: pulse-badge-dot-blue 2s infinite;
}

.status-badge.status-inceleniyor {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.25);
}
.status-badge.status-inceleniyor::before {
  background: #d97706;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: pulse-badge-dot-amber 2s infinite;
}

.status-badge.status-onaylandi {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.12) 100%);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.25);
}
.status-badge.status-onaylandi::before {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse-badge-dot-green 2s infinite;
}

.status-badge.status-reddedildi {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.12) 100%);
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.25);
}
.status-badge.status-reddedildi::before {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: pulse-badge-dot-red 2s infinite;
}

.status-badge.status-yenilendi {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
  color: #15803d;
  border-color: rgba(16, 185, 129, 0.2);
}
.status-badge.status-yenilendi::before {
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse-badge-dot-green 2s infinite;
}

/* Pasif abonelik (01.09.2026): notr gri, nabiz YOK — pasiflik bir uyari
   degil, dinlenen bir durum. Eski "Iptal Edildi" kayitlari da bu sinifi
   kullanir (once hicbir esleme yoktu, tabloda "Yeni" rengiyle goruluyordu). */
.status-badge.status-pasif {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.06) 0%, rgba(100, 116, 139, 0.1) 100%);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.25);
}
.status-badge.status-pasif::before {
  background: #64748b;
  box-shadow: none;
  animation: none;
}

@keyframes pulse-badge-dot-blue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes pulse-badge-dot-amber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulse-badge-dot-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-badge-dot-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Management Status Sub-Badges */
.management-status {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.225rem 0.55rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
}

.management-status:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
}

.management-status.mgmt-pending {
  color: #b45309;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.management-status.mgmt-approved {
  color: #15803d;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.management-status.mgmt-rejected {
  color: #b91c1c;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.12));
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.management-status.mgmt-bypass {
  color: #4f46e5;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.22);
}

/* Table Action Buttons */
.btn-table-action {
  background: none;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-table-action:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  border-color: var(--color-primary-dark);
}

/* Dashboard Action Buttons Bar */
.admin-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-actions-bar h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.btn-export {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-export:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-text-muted);
}

.btn-parkexpert-export {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white !important;
}

.btn-parkexpert-export:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white !important;
}

.btn-parkexpert-export svg {
  stroke: white;
}

/* Sliding Detailed Drawer (Slide-Over Panel) */
.drawer-overlay {
  display: none; /* Controlled via JS */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1100;
  justify-content: flex-end;
}

.drawer-overlay.active {
  display: flex;
}

.drawer-panel {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  animation: drawerIn var(--transition-normal);
}

@keyframes drawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.drawer-close:hover {
  color: var(--color-text-dark);
}

.drawer-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Detail Blocks inside Drawer */
.detail-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.875rem;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.detail-value {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Document Item with Mock-Viewer support */
.doc-viewer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.doc-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  background-color: var(--color-bg-light);
  transition: all var(--transition-fast);
}

.doc-card:hover {
  border-color: var(--color-accent-orange);
  background-color: #ffffff;
}

.doc-icon {
  font-size: 1.5rem;
  color: var(--color-accent-orange);
  margin-bottom: 0.5rem;
}

.doc-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-preview-link {
  font-size: 0.75rem;
  color: var(--color-accent-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

.doc-preview-link:hover {
  text-decoration: underline;
}

/* Admin Drawer Status Management Controls */
.drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-border-light);
  background-color: var(--color-bg-light);
}

.status-actions-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-actions-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.status-btn-group {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.5rem;
}

.status-change-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-set-review {
  background: var(--color-status-review-bg);
  color: var(--color-status-review-text);
  border-color: var(--color-status-review-border);
}
.btn-set-review:hover {
  background: #fde68a;
}

.btn-set-approve {
  background: var(--color-status-approved-bg);
  color: var(--color-status-approved-text);
  border-color: var(--color-status-approved-border);
}
.btn-set-approve:hover {
  background: #a7f3d0;
}

.btn-set-reject {
  background: var(--color-status-rejected-bg);
  color: var(--color-status-rejected-text);
  border-color: var(--color-status-rejected-border);
}
.btn-set-reject:hover {
  background: #fecaca;
}

/* Footer Section */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--color-primary-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-description {
  color: var(--color-text-muted-dark-bg);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted-dark-bg);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-text-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-primary-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted-dark-bg);
}

.mobile-bottom-nav {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet (Under 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .filters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Mobile & Small Screen (Under 768px) */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .nav-container nav {
    display: contents;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none; /* Mobile collapse logic handled by class toggle in script */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-primary-border);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .glass-badge {
    padding: 1.75rem 1.25rem;
  }

  .live-camera-frame {
    padding: 0.75rem 0.5rem !important;
  }

  #live-sim-plate {
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
  }

  #live-sim-status {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.35rem !important;
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-cta {
    display: inline-block;
    width: 100%;
  }

  .container {
    padding: 0 1.5rem;
  }
  
  .hero {
    padding: 4.5rem 0 4rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .advantages {
    padding: 4rem 0;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-card {
    border-radius: 0;
    border: none;
  }
  
  .wizard-progress {
    padding: 1rem;
  }
  
  .step-label {
    display: none; /* Hide labels on mobile to prevent overlapping */
  }
  
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .progress-steps::before,
  .progress-bar-fill {
    top: 15px;
  }
  
  .wizard-form {
    padding: 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  
  .form-grid > * {
    grid-column: span 1 !important;
  }
  
  .form-group.full-width {
    grid-column: span 1 !important;
  }
  
  input[type="date"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  
  .selection-card-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-footer {
    padding: 1rem 1.5rem;
  }
  
  .success-notifications {
    grid-template-columns: 1fr;
  }
  
  /* Admin responsive */
  .admin-layout {
    flex-direction: column;
  }
  
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Hide offscreen */
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    color: var(--color-primary-dark);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }
  
  .admin-sidebar.open {
    transform: translateX(280px); /* Slide in drawer */
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-logo {
    width: 100% !important;
    margin: 0 0 1rem 0 !important;
    height: auto !important;
    border-bottom: 1px solid var(--color-border-light) !important;
    padding-bottom: 1rem !important;
  }
  
  .sidebar-menu {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .sidebar-item a {
    white-space: normal;
    padding: 0.65rem 0.75rem;
  }
  
  .sidebar-item.active a {
    border-left: 3px solid var(--color-accent-orange);
    border-bottom: none;
  }
  
  .admin-header {
    height: auto;
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .admin-main {
    padding-bottom: 70px; /* Space for mobile bottom nav bar */
  }
  
  .admin-content {
    padding: 1rem;
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    padding: 0 0.5rem;
  }
  
  .bottom-nav-item {
    background: none;
    border: none;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
    padding: 0.35rem 0;
  }
  
  .bottom-nav-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2.2px;
  }
  
  .bottom-nav-item.active {
    color: var(--color-primary);
  }

  /* Table-to-Card transformations for Applications and Expirations list */
  .admin-table thead {
    display: none !important;
  }
  
  .admin-table, 
  .admin-table tbody, 
  .admin-table tr, 
  .admin-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .admin-table tr {
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  
  .admin-table td {
    padding: 0.25rem 0 !important;
    border: none !important;
    background: none !important;
    text-align: left !important;
  }
  
  /* Apply Wizard table specific cards layout */
  #admin-table tr {
    padding-top: 3.25rem;
  }
  
  #admin-table td:nth-child(1) { /* Checkbox */
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: auto !important;
    padding: 0 !important;
    z-index: 5;
  }
  
  #admin-table td:nth-child(2) { /* ID and type badge */
    position: absolute;
    top: 0.9rem;
    left: 2.5rem;
    width: auto !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  
  #admin-table td:nth-child(10) { /* View action button */
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: auto !important;
    padding: 0 !important;
  }
  
  #admin-table td:nth-child(5) { /* Plate */
    order: 1;
    margin: 0.35rem 0;
  }
  
  #admin-table .col-plate {
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: 0.05em;
    background: #ffffff;
    border: 2px solid #0a1424;
    border-radius: 6px;
    padding: 0.3rem 0.65rem 0.3rem 1.65rem;
    position: relative;
    box-shadow: var(--shadow-sm);
  }
  
  #admin-table .col-plate::before {
    content: "TR";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1.25rem;
    background: #003399;
    color: #ffffff;
    font-size: 0.5rem;
    font-weight: 900;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
  }
  
  #admin-table td:nth-child(3) { /* Customer Info */
    order: 2;
  }
  
  #admin-table td:nth-child(4) { /* Free/Paid */
    order: 3;
    display: inline-block;
    width: auto !important;
  }
  
  #admin-table td:nth-child(6) { /* Location */
    order: 4;
    font-size: 0.8rem;
    color: var(--color-text-muted);
  }
  #admin-table td:nth-child(6)::before {
    content: "Konum: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #admin-table td:nth-child(7) { /* Application date */
    order: 5;
    font-size: 0.775rem;
    color: var(--color-text-muted);
  }
  #admin-table td:nth-child(7)::before {
    content: "Başvuru: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #admin-table td:nth-child(8) { /* Expiry date */
    order: 6;
    font-size: 0.775rem;
    color: var(--color-text-muted);
  }
  #admin-table td:nth-child(8)::before {
    content: "Bitiş: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #admin-table td:nth-child(9) { /* Status & Approval */
    order: 7;
    margin-top: 0.5rem;
    padding-top: 0.5rem !important;
    border-top: 1px solid var(--color-border-light) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Expirations table specific cards layout */
  #expirations-table tr {
    padding-top: 3.25rem;
  }
  
  #expirations-table td:nth-child(1) { /* ID */
    position: absolute;
    top: 0.9rem;
    left: 1rem;
    width: auto !important;
  }
  
  #expirations-table td:nth-child(9) { /* Action Button */
    position: absolute;
    top: 0.65rem;
    right: 1rem;
    width: auto !important;
    padding: 0 !important;
  }
  
  #expirations-table td:nth-child(4) { /* Plate */
    order: 1;
    margin: 0.35rem 0;
  }
  
  #expirations-table .col-plate {
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: 0.05em;
    background: #ffffff;
    border: 2px solid #0a1424;
    border-radius: 6px;
    padding: 0.3rem 0.65rem 0.3rem 1.65rem;
    position: relative;
    box-shadow: var(--shadow-sm);
  }
  
  #expirations-table .col-plate::before {
    content: "TR";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1.25rem;
    background: #003399;
    color: #ffffff;
    font-size: 0.5rem;
    font-weight: 900;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
  }
  
  #expirations-table td:nth-child(2) { /* Customer */
    order: 2;
  }
  
  #expirations-table td:nth-child(3) { /* Free/Paid */
    order: 3;
    display: inline-block;
    width: auto !important;
  }
  
  #expirations-table td:nth-child(5) { /* Location */
    order: 4;
    font-size: 0.8rem;
    color: var(--color-text-muted);
  }
  #expirations-table td:nth-child(5)::before {
    content: "Konum: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #expirations-table td:nth-child(6) { /* Company */
    order: 5;
    font-size: 0.8rem;
    color: var(--color-text-muted);
  }
  #expirations-table td:nth-child(6)::before {
    content: "Firma: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #expirations-table td:nth-child(8) { /* Expiry date */
    order: 6;
    font-size: 0.775rem;
    color: var(--color-text-muted);
  }
  #expirations-table td:nth-child(8)::before {
    content: "Bitiş Tarihi: ";
    font-weight: 700;
    color: var(--color-text-dark);
  }
  
  #expirations-table td:nth-child(7) { /* Remaining Days */
    order: 7;
    margin-top: 0.5rem;
    padding-top: 0.5rem !important;
    border-top: 1px solid var(--color-border-light) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #expirations-table td:nth-child(7)::before {
    content: "Kalan Süre:";
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 0.825rem;
  }
  
  .filters-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-actions-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .btn-export {
    width: 100%;
    justify-content: center;
  }
  
  .drawer-panel {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Custom Floating Toast Notification */
.toast-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 59, 162, 0.15);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  padding: 1rem 1.25rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.toast-notification.active {
  transform: translateX(0);
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 59, 162, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.toast-content h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.15rem;
}

.toast-content p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Legacy Google Forms Section */
.legacy-forms-section {
  padding: 4rem 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.legacy-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.legacy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transition: transform var(--transition-normal);
}

.legacy-card.piazza-theme::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-orange));
}

.legacy-card.park-theme::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-gold));
}

.legacy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(15, 59, 162, 0.15);
}

.legacy-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 59, 162, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.legacy-card:hover .legacy-card-icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.legacy-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.legacy-card-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.legacy-btn {
  width: 100%;
  min-height: 46px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.legacy-card.piazza-theme .legacy-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.2);
}

.legacy-card.park-theme .legacy-btn:hover {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(255, 208, 0, 0.3);
}

/* ==========================================================================
   PREMIUM KVKK SCROLL CHECK & DOC BADGES STYLES
   ========================================================================== */
.doc-badge {
  transition: all var(--transition-normal) !important;
}

.doc-badge.unread {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.02) !important;
}

.doc-badge.unread:hover {
  background: rgba(239, 68, 68, 0.05) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.doc-badge.read {
  border-color: #22c55e !important;
  background: rgba(34, 197, 94, 0.02) !important;
}

.doc-badge.read:hover {
  background: rgba(34, 197, 94, 0.05) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.btn-approve-disabled {
  opacity: 0.65;
  cursor: not-allowed !important;
  pointer-events: none;
  background: #cbd5e1 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}

.shake-badge {
  animation: shakeBadge 0.5s ease-in-out;
}

@keyframes shakeBadge {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.scroll-indicator-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: #ef4444;
  font-weight: 600;
  padding: 0.5rem 0;
  border-top: 1px dashed var(--color-border-light);
  margin-top: 1rem;
  transition: all var(--transition-fast);
}

.scroll-indicator-container.scroll-completed {
  color: #22c55e;
}

/* Premium Sidebar Danger Footer styles */
.btn-clear-data {
  transition: all var(--transition-fast) !important;
}

.btn-clear-data:hover {
  background-color: #dc2626 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
  transform: translateY(-1px) !important;
}

@keyframes pulse-glowing-blue {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Glowing animation for pending renewals */
@keyframes pulse-glow-bg {
  0% {
    background-color: rgba(2, 132, 199, 0.04);
    box-shadow: inset 3px 0 0 #0284c7;
  }
  50% {
    background-color: rgba(2, 132, 199, 0.09);
    box-shadow: inset 5px 0 0 #0284c7, 0 0 8px rgba(2, 132, 199, 0.1);
  }
  100% {
    background-color: rgba(2, 132, 199, 0.04);
    box-shadow: inset 3px 0 0 #0284c7;
  }
}

.pending-renewal-row {
  animation: pulse-glow-bg 2s infinite ease-in-out !important;
}

@keyframes pulse-glow-badge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(2, 132, 199, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

.pulse-glowing-badge {
  animation: pulse-glow-badge 1.8s infinite ease-in-out !important;
}

/* ==========================================================================
   PREMIUM ADMIN TAB SWITCHER & COMPANY CLUSTERING STYLES
   ========================================================================== */


.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.4rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border-light);
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(15, 59, 162, 0.05);
}

.admin-tab-btn::after {
  display: none;
}

.admin-tab-btn.active {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 4px 10px rgba(15, 59, 162, 0.2);
}

/* Premium SMS Filter Navigation Segmented Control */
.sms-filter-nav {
  display: flex;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
  gap: 0.25rem;
  width: max-content;
  max-width: 100%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sms-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sms-filter-btn:hover {
  color: var(--color-primary);
  background: rgba(15, 59, 162, 0.05);
}

.sms-filter-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sms-filter-btn .sms-count-badge {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary);
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.sms-filter-btn.active .sms-count-badge {
  background: var(--color-primary);
  color: #ffffff;
}

/* Specific active coloring for status-based visual grouping */
.sms-filter-btn[id$="delivered"].active {
  color: #03543f;
  background: #def7ec;
  box-shadow: 0 4px 12px rgba(3, 84, 63, 0.1);
}
.sms-filter-btn[id$="delivered"].active .sms-count-badge {
  background: #03543f;
  color: #ffffff;
}

.sms-filter-btn[id$="pending"].active {
  color: #713f12;
  background: #fef08a;
  box-shadow: 0 4px 12px rgba(113, 63, 18, 0.1);
}
.sms-filter-btn[id$="pending"].active .sms-count-badge {
  background: #713f12;
  color: #ffffff;
}

.sms-filter-btn[id$="failed"].active {
  color: #9b1c1c;
  background: #fde8e8;
  box-shadow: 0 4px 12px rgba(155, 28, 28, 0.1);
}
.sms-filter-btn[id$="failed"].active .sms-count-badge {
  background: #9b1c1c;
  color: #ffffff;
}

@media (max-width: 768px) {
  .sms-filter-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .sms-filter-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
}

/* Modern SMS Toolbar & Search */
.sms-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap; /* Force single line on desktop */
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.sms-search-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 1; /* Allow shrinking to prevent wrapping */
  flex-grow: 0;
  justify-content: flex-end; /* Align right next to filters on single row */
  max-width: 480px;
  width: 100%;
}

.sms-search-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 220px; /* Limit input width to save space for single line */
  width: 100%;
}

.sms-search-wrapper i,
.sms-search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.sms-search-wrapper input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-radius: 8px;
  outline: none;
  font-size: 0.875rem;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  color: var(--color-text-dark);
}

.sms-search-wrapper input:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.1);
}

@media (max-width: 991px) {
  .sms-toolbar {
    flex-wrap: wrap; /* Allow wrapping on medium screens */
  }
  .sms-search-container {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
  }
  .sms-search-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .sms-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .sms-search-container {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.companies-grid {
  display: grid;
  /* minmax(0, 1fr): duz 1fr'de kolon, genis icerikli kartin minimumuna
     kadar genisleyebiliyordu (kolonlar esitsizlesiyordu - 28.08.2026) */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.company-card {
  min-width: 0; /* esit kolonda kalabilmesi icin (ic satirlar zaten ellipsis'li) */
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 59, 162, 0.15);
}

.company-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 1rem;
}

.company-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 70%;
}

.company-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(15, 59, 162, 0.05);
  border: 1px solid rgba(15, 59, 162, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.company-name-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.company-vehicle-count {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(15, 59, 162, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.company-plates-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-section-title {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-plates-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.company-plates-list::-webkit-scrollbar {
  width: 4px;
}
.company-plates-list::-webkit-scrollbar-track {
  background: transparent;
}
.company-plates-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.company-plates-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.company-plate-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  border-bottom: 1px dashed var(--color-border-light);
  padding-bottom: 0.625rem;
}

.company-plate-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-plate-grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem !important;
  background: #f8fafc;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.company-plate-grid-row:hover {
  background: #f1f5f9;
  border-color: rgba(15, 59, 162, 0.15);
}

@media (max-width: 640px) {
  .company-plate-grid-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem !important;
  }
  .company-plate-grid-row > div:first-child {
    width: 100%;
    justify-content: space-between;
  }
  .company-plate-grid-row > div:last-child {
    width: 100%;
    justify-content: space-between !important;
    border-top: 1px dashed var(--color-border-light);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
  }
}

.plate-owner-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
}


/* Replicating TR Plate Design */
.mini-tr-plate {
  font-family: 'Courier New', monospace;
  font-weight: 900;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  border: 1px solid #0f172a;
  border-radius: 3px;
  width: 120px;
  height: 28px;
  box-sizing: border-box;
  padding: 0 0.25rem 0 1.1rem;
  position: relative;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 2px #0f172a, 0 2px 4px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast) !important;
  white-space: nowrap;
}

.mini-tr-plate:hover {
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 2px #0f3ba2, 0 4px 10px rgba(15, 59, 162, 0.18);
  border-color: #0f3ba2;
}

.mini-tr-plate::before {
  content: 'TR';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.85rem;
  background: linear-gradient(180deg, #2563eb 0%, #0f3ba2 100%);
  color: #ffffff;
  font-size: 0.45rem;
  font-weight: 900;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.15rem;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.15);
}

.company-employees-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-employees-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.employee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #f8fafc;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-dark);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.employee-chip:hover {
  background-color: rgba(15, 59, 162, 0.04);
  border-color: rgba(15, 59, 162, 0.2);
}

/* Inline Edit Button in Drawer details */
.btn-edit-inline {
  opacity: 0.5;
  transition: all var(--transition-fast) !important;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.btn-edit-inline:hover {
  opacity: 1;
  background-color: rgba(15, 59, 162, 0.05);
  color: var(--color-primary-dark) !important;
}

/* Compact status badge for plate rows */
.status-badge-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.175rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.status-badge-compact::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge-compact.status-yeni {
  background: var(--color-status-new-bg);
  color: var(--color-status-new-text);
  border-color: var(--color-status-new-border);
}
.status-badge-compact.status-yeni::before {
  background: var(--color-status-new-text);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  animation: pulse-badge-dot-blue 2s infinite;
}

.status-badge-compact.status-onaylandi {
  background: var(--color-status-approved-bg);
  color: var(--color-status-approved-text);
  border-color: var(--color-status-approved-border);
}
.status-badge-compact.status-onaylandi::before {
  background: var(--color-status-approved-text);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-badge-dot-green 2s infinite;
}

.status-badge-compact.status-reddedildi {
  background: var(--color-status-rejected-bg);
  color: var(--color-status-rejected-text);
  border-color: var(--color-status-rejected-border);
}
.status-badge-compact.status-reddedildi::before {
  background: var(--color-status-rejected-text);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  animation: pulse-badge-dot-red 2s infinite;
}

.status-badge-compact.status-pasif {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.25);
}
.status-badge-compact.status-pasif::before {
  background: #64748b;
  box-shadow: none;
  animation: none;
}


/* Premium Payment Info Panel Step 3 */
.payment-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.payment-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent-orange) 100%);
}

.payment-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.75rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.payment-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.payment-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-detail-label {
  font-size: 0.85rem;
  color: var(--color-text-dark);
  font-weight: 600;
}

.payment-detail-value {
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.iban-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

.iban-text {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.btn-copy-iban {
  background: var(--color-primary);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-xs);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.btn-copy-iban:hover {
  background: #fcd34d;
  transform: scale(1.05);
}

.copy-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-copy-iban.copied .copy-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.payment-warning-text {
  font-size: 0.85rem;
  color: var(--color-accent-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   OTOPARK İŞLETMELERİ — PREMIUM CARD GRID LAYOUT
   ========================================================================== */

.otoparks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
  padding: 0.25rem 0;
}

.otopark-card {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(15, 59, 162, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(16px);
}

.otopark-card:hover {
  border-color: rgba(15, 59, 162, 0.2);
  box-shadow: 0 16px 36px rgba(15, 59, 162, 0.06), 0 4px 12px rgba(15, 59, 162, 0.03);
  transform: translateY(-4px);
}

/* Card Header — Otopark Name + Category */
.otopark-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem 0.95rem 1.25rem;
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.otopark-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  letter-spacing: -0.012em;
}

.otopark-card__category {
  display: inline-flex;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.225rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.otopark-card__category--sanayi {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.otopark-card__category--avm {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.otopark-card__category--acik {
  background: rgba(6, 182, 212, 0.08);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.otopark-card__body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
}

.otopark-card__collapsible {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease-out, margin-top 0.25s ease-out, padding 0.25s ease-out;
  margin-top: 0;
  padding: 0;
}

.otopark-card__collapsible.expanded {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.05);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.otopark-card__toggle-btn:hover {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
}

.otopark-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.otopark-card__field--full {
  grid-column: 1 / -1;
}

.otopark-card__label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.otopark-card__value {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  word-break: break-word;
}

.otopark-card__value--iban {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 59, 162, 0.03);
  border: 1px solid rgba(15, 59, 162, 0.06);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  box-sizing: border-box;
}

.otopark-card__value--price {
  font-weight: 800;
  font-size: 0.8rem;
}

.otopark-card__price-emp {
  color: #059669;
}

.otopark-card__price-ext {
  color: var(--color-accent-orange);
}

/* Pre-Approval Premium Capsule Banner */
.otopark-card__pre-approve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.otopark-card__pre-approve--active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #d97706;
}

.otopark-card__pre-approve--passive {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}

.otopark-card__pre-approve:hover {
  cursor: pointer;
  transform: translateY(-1px);
}
.otopark-card__pre-approve--active:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.12));
  border-color: rgba(245, 158, 11, 0.4);
}
.otopark-card__pre-approve--passive:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.12));
  border-color: rgba(99, 102, 241, 0.4);
}

.otopark-card__pre-approve .pre-approve-title {
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.otopark-card__pre-approve .pre-approve-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Card Footer — Action Buttons */
.otopark-card__footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
}

.otopark-card__support {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.otopark-card__edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--color-text-dark);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.otopark-card__edit-btn.btn-templates-action {
  border-color: rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}
.otopark-card__edit-btn.btn-templates-action:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.otopark-card__edit-btn.btn-edit-action {
  border-color: rgba(37, 99, 235, 0.2);
  color: #2563eb;
}
.otopark-card__edit-btn.btn-edit-action:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}

.otopark-card__edit-btn.btn-delete-action {
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.otopark-card__edit-btn.btn-delete-action:hover {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.08);
}

.otopark-card .btn-copy-iban {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}
.otopark-card .btn-copy-iban:hover {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary-dark);
}

.otopark-card .btn-copy-iban i {
  width: 11px;
  height: 11px;
}

/* Otopark Status Interactive Badges & Card Inactive Visual State */
.otopark-card__status-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  user-select: none;
  letter-spacing: 0.04em;
}

.otopark-card__status-btn--active {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.otopark-card__status-btn--active:hover {
  background: rgba(16, 185, 129, 0.16);
  transform: translateY(-1px);
}

.otopark-card__status-btn--active .status-dot-inner {
  animation: pulse-status 2s infinite;
}

.otopark-card__status-btn--inactive {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
}

.otopark-card__status-btn--inactive:hover {
  background: rgba(239, 68, 68, 0.16);
  transform: translateY(-1px);
}

.otopark-card--inactive {
  border-color: rgba(239, 68, 68, 0.15) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(254, 242, 242, 0.25) 100%) !important;
  box-shadow: none !important;
}

.otopark-card--inactive .otopark-card__body,
.otopark-card--inactive .otopark-card__footer {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.otopark-card--inactive:hover .otopark-card__body,
.otopark-card--inactive:hover .otopark-card__footer {
  opacity: 0.85;
}

.authority-badge-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(15, 59, 162, 0.15) !important;
}

/* Responsive Grid styling */
@media (max-width: 768px) {
  .otoparks-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .otoparks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   PREMIUM CUSTOM SELECT COMPONENT
   ========================================================================== */

.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  background: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.custom-select-trigger:hover {
  border-color: rgba(15, 59, 162, 0.4);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.05);
}

.custom-select-trigger.is-invalid {
  border-color: var(--color-accent-red) !important;
  background-color: rgba(15, 59, 162, 0.02) !important;
  animation: shake 0.5s ease-in-out;
}

.custom-select-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-container.open .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--color-accent-red);
}

.custom-select-container.open .custom-select-trigger {
  border-color: var(--color-accent-red);
  box-shadow: 0 4px 20px -2px rgba(10, 20, 36, 0.08);
}

/* Floating Option Tray */
.custom-select-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(10, 20, 36, 0.15), 0 8px 16px -6px rgba(10, 20, 36, 0.1);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.custom-select-container.open .custom-select-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Panel Search Box */
.custom-select-search-container {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-bg-light);
}

.custom-select-search-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.custom-select-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-dark);
}

.custom-select-search-input::placeholder {
  color: var(--color-text-muted);
}

/* Options List Container */
.custom-select-options-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 0.35rem 0;
}

/* Custom Scrollbar for dropdown options list */
.custom-select-options-list::-webkit-scrollbar {
  width: 6px;
}
.custom-select-options-list::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-options-list::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: var(--radius-full);
}
.custom-select-options-list::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* Category header style */
.custom-select-group-header {
  font-family: var(--font-heading);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1rem 0.3rem;
  background: rgba(10, 20, 36, 0.02);
  border-bottom: 1px dashed rgba(226, 232, 240, 0.6);
  margin-top: 0.35rem;
}

.custom-select-group-header:first-of-type {
  margin-top: 0;
}

/* Option Item style */
.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-select-option:hover:not(.disabled) {
  background: rgba(15, 59, 162, 0.04);
  color: var(--color-accent-red);
}

.custom-select-option.selected {
  background: rgba(15, 59, 162, 0.06);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.custom-select-option.disabled {
  opacity: 0.65;
  background: linear-gradient(90deg, transparent 0%, rgba(254, 242, 242, 0.4) 100%);
  cursor: not-allowed;
  color: var(--color-text-muted) !important;
}

.custom-select-option.disabled:hover {
  background: linear-gradient(90deg, transparent 0%, rgba(254, 242, 242, 0.6) 100%);
}

.custom-select-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.custom-select-option-name {
  font-weight: 600;
}

/* Inactive specific text badge in options list */
.custom-select-option-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-top: 0.15rem;
  display: inline-block;
  width: fit-content;
}

.custom-select-option-badge--active {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.custom-select-option-badge--inactive {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
  text-transform: uppercase;
}

/* Premium WhatsApp Stacked Toast Style */
#whatsapp-toast {
  top: 7.5rem;
  border-left: 5px solid #25d366;
}

#whatsapp-toast .toast-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

/* ==========================================================================
   LIVE INTEGRATION WIDGET & HERO BLOB ANIMATIONS
   ========================================================================== */
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #25d366;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #25d366; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff9f00, transparent);
  animation: scan 2s linear infinite;
  z-index: 2;
  opacity: 0.7;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes pulseGlow {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.7; transform: scale(1); }
}

@keyframes floatGlow1 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.2); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.hero::before {
  animation: floatGlow1 12s ease-in-out infinite;
}

.hero::after {
  animation: floatGlow2 15s ease-in-out infinite;
}

/* ==========================================================================
   INFINITE PREMIUM MARQUEE TICKER (LOKASYONLARIMIZ)
   ========================================================================== */
.top-ticker-bar {
  background: var(--color-primary-dark);
  color: var(--color-accent-orange);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.45rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 208, 0, 0.15);
  letter-spacing: 0.06em;
  display: flex;
}

.ticker-content {
  display: inline-flex;
  animation: tickerScroll 45s linear infinite;
}

.ticker-content span {
  padding-right: 4rem; /* Gap between loops */
  display: inline-block;
  text-transform: uppercase;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   PREMIUM WELCOME BANNER (BİRLİK SANAYİ SİTESİ)
   ========================================================================== */
.welcome-banner-container {
  max-width: 1200px;
  margin: 1rem auto 1rem auto;
  padding: 0 1.5rem;
  animation: slideDownFade 0.6s ease-out forwards;
  max-height: 150px;
  min-height: 78px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease, padding 0.4s ease;
}

.welcome-banner-container.collapsed {
  max-height: 0;
  min-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.welcome-banner-container + .hero {
  padding-top: 0.5rem;
}

.welcome-banner-container.collapsed + .hero {
  padding-top: 4.5rem;
}

.welcome-banner {
  background: linear-gradient(135deg, rgba(15, 59, 162, 0.08) 0%, rgba(255, 208, 0, 0.08) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 208, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 59, 162, 0.04);
  position: relative;
  overflow: hidden;
}

/* Subtle glowing particle effect on the border */
.welcome-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.15) 0%, transparent 60%);
  animation: bannerGlow 8s linear infinite;
  pointer-events: none;
}

@keyframes bannerGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideDownFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.welcome-badge {
  background: linear-gradient(135deg, #ffd000 0%, #ff9f00 100%);
  color: #0c1a30;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(255, 208, 0, 0.2);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 1;
  margin: 0; /* Clear margin to align perfectly centered via flexbox */
  animation: badgeGlowPulse 1.8s infinite alternate ease-in-out;
}

@keyframes badgeGlowPulse {
  0% {
    box-shadow: 0 0 4px rgba(255, 208, 0, 0.3), 0 2px 4px rgba(255, 208, 0, 0.1);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 16px rgba(255, 208, 0, 0.85), 0 0 28px rgba(255, 208, 0, 0.4);
    transform: scale(1.06);
  }
}

.welcome-text {
  flex-grow: 1;
  color: var(--color-primary-dark);
  font-size: 0.925rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

.welcome-text strong {
  color: var(--color-primary-dark);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.welcome-text strong::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 208, 0, 0.3);
  z-index: -1;
  border-radius: 2px;
}

.welcome-subtext {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.welcome-cta {
  background: var(--color-primary);
  color: white;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.15);
  flex-shrink: 0;
  border: 1px solid var(--color-primary);
  z-index: 2;
}

.welcome-cta:hover {
  background: #0d2f83;
  border-color: #0d2f83;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 59, 162, 0.25);
}

.welcome-cta i {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.welcome-cta:hover i {
  transform: translateX(3px);
}

.welcome-slide {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-grow: 1;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: calc(100% - 40px); /* Leave room for close button */
}

.welcome-slide.active {
  display: flex;
  opacity: 1;
}

.welcome-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 3;
}

.welcome-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(15, 59, 162, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

.welcome-dot.active {
  background: var(--color-primary);
  width: 14px;
  border-radius: 3px;
}

.welcome-close-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 2;
}

.welcome-close-btn:hover {
  background: rgba(15, 59, 150, 0.05);
  color: var(--color-primary-dark);
}

.welcome-close-btn i {
  width: 16px;
  height: 16px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1.75rem 1.25rem;
    gap: 1rem;
  }
  
  .welcome-slide {
    width: 100%;
  }

  .welcome-slide.active {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  
  .welcome-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .welcome-cta {
    width: 100%;
    justify-content: center;
  }
  
  .welcome-banner-container {
    margin-top: 1rem;
    max-height: 320px;
    min-height: 135px;
  }
  
  .welcome-dots {
    bottom: 8px;
  }
}

@keyframes pulse-glowing-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
/* ==========================================================================
   ADMIN PREMIUM ANALYTICS & DASHBOARD STYLES (LIGHT THEME)
   ========================================================================== */
.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .analytics-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.analytics-metric-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease, border-color var(--transition-fast) ease;
  position: relative;
  border-left: 4px solid var(--color-primary);
}

.analytics-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  border-color: rgba(15, 59, 162, 0.2);
}

.analytics-metric-card.card-revenue {
  border-left-color: #10b981;
}

.analytics-metric-card.card-individual {
  border-left-color: #f59e0b;
}

.analytics-metric-card.card-corporate {
  border-left-color: #3b82f6;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin: 0.1rem 0;
}

.metric-value.value-revenue {
  color: #10b981;
}

.metric-value.value-individual {
  color: #f59e0b;
}

.metric-value.value-corporate {
  color: #3b82f6;
}

.metric-subtitle {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Beautiful Icon Backdrops */
.metric-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast) ease;
}

.analytics-metric-card:hover .metric-icon-wrapper {
  transform: scale(1.1);
}

.metric-icon-wrapper.wrapper-revenue {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.metric-icon-wrapper.wrapper-individual {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.metric-icon-wrapper.wrapper-corporate {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.metric-icon-wrapper i {
  width: 24px;
  height: 24px;
}

/* Chart Styles */
.analytics-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.chart-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease, border-color var(--transition-fast) ease;
}

.chart-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  border-color: rgba(15, 59, 162, 0.2);
}

.chart-card.chart-span-2 {
  grid-column: span 2;
}

.chart-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.75rem;
}

.chart-title-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.chart-canvas-container {
  position: relative;
  height: 320px;
  width: 100%;
}

.chart-canvas-container.doughnut-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
}

/* Responsive adjustment for charts grid */
@media (max-width: 992px) {
  .analytics-charts-grid {
    grid-template-columns: 1fr !important;
  }
  .chart-card {
    grid-column: span 1 !important;
  }
}

/* ==========================================================================
   ADMIN PANEL RUHSAT OCR STYLES
   ========================================================================== */

.ocr-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(15, 59, 162, 0.15);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin-ocr 0.8s infinite linear;
}

@keyframes spin-ocr {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ocr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: 30px;
  line-height: 1;
}

.ocr-badge-success {
  background-color: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ocr-badge-warning {
  background-color: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ocr-badge-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-ocr-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--color-accent-orange), #f97316);
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
}

.btn-ocr-apply:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(249, 115, 22, 0.3);
}

.btn-ocr-apply:active {
  transform: translateY(0);
}

.btn-ocr-rotate {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-light);
  font-size: 0.725rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ocr-rotate:hover {
  background-color: var(--color-border-light);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   PREMIUM ADMIN SELECTOR STYLES
   ========================================================================== */

/* Outer container */
.admin-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect */
.admin-user:hover {
  transform: translateY(-1px);
}

/* Super Admin State */
.admin-user.admin-user-superadmin {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 246, 227, 0.8));
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.06), 0 1px 3px rgba(245, 158, 11, 0.04);
}
.admin-user.admin-user-superadmin:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12), 0 2px 6px rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.45);
}

/* Representative State */
.admin-user.admin-user-representative {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(15, 59, 162, 0.02));
  border-color: rgba(15, 59, 162, 0.1);
  box-shadow: 0 6px 14px rgba(15, 59, 162, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
}
.admin-user.admin-user-representative:hover {
  box-shadow: 0 8px 20px rgba(15, 59, 162, 0.07);
  border-color: rgba(15, 59, 162, 0.22);
}

/* User Avatar base */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.user-avatar.user-avatar-superadmin::after {
  content: '📷';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.user-avatar.user-avatar-superadmin:hover::after {
  opacity: 1;
}

/* Super Admin Avatar - Gold gradient with shiny animation */
.user-avatar.user-avatar-superadmin {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.user-avatar.user-avatar-superadmin::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine-avatar 3s infinite linear;
}

@keyframes shine-avatar {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  100% { transform: translate(100%, 100%) rotate(30deg); }
}

/* Representative Avatar - Blue gradient */
.user-avatar.user-avatar-representative {
  background: linear-gradient(135deg, var(--color-primary), #2563eb);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(15, 59, 162, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* User Info Layout */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Active User select element */
#active-user-role {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: unset !important;
  height: auto !important;
  padding: 0.15rem 1.15rem 0.15rem 0 !important;
  width: auto !important;
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f3ba2' stroke-width='3.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: 10px !important;
}
#active-user-role:focus,
#active-user-role:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
#active-user-role:disabled {
  background-image: none !important;
  padding-right: 0 !important;
}
#active-user-role:hover {
  color: var(--color-primary);
}

/* Active user subtext */
#active-user-subtext {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  white-space: nowrap !important;
}

/* Super Admin Active user subtext gold highlight */
.admin-user-superadmin #active-user-subtext {
  color: #d97706;
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET STYLES
   ========================================================================== */

.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.whatsapp-label {
  background: #ffffff;
  color: #0c1a30;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border-light);
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-btn:hover .whatsapp-label {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateX(-4px);
  border-color: rgba(37, 211, 102, 0.25);
}

.whatsapp-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  animation: whatsapp-pulsing-outer 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes whatsapp-pulsing-outer {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), rgba(37, 211, 102, 0.6) 0 0 0 0;
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), rgba(37, 211, 102, 0) 0 0 0 20px;
  }
}

.whatsapp-float-btn:hover .whatsapp-icon-wrapper {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
  animation: none; /* Pause pulse animation on hover */
}

.whatsapp-float-btn:active .whatsapp-icon-wrapper {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  z-index: 2;
  transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-icon-wrapper svg {
  transform: scale(1.05);
}

/* Shimmer Reflection sweep */
.whatsapp-icon-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(30deg);
  opacity: 0;
  z-index: 3;
  animation: whatsapp-shimmer-anim 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes whatsapp-shimmer-anim {
  0% {
    left: -60%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  35% {
    left: 140%;
    opacity: 0;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

/* Pulsing effect for attention */
.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: 1;
  animation: whatsapp-pulse-anim 2s infinite;
}

@keyframes whatsapp-pulse-anim {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .whatsapp-label {
    display: none !important;
  }

  .whatsapp-float-btn {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon-wrapper svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   SWITCH SLIDER TOGGLES
   ========================================================================== */

.switch-toggle input:checked + .slider-round {
  background-color: #10b981 !important; /* Green when checked */
}

.switch-toggle input:focus + .slider-round {
  box-shadow: 0 0 1px #10b981;
}

.switch-toggle .slider-round::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.switch-toggle input:checked + .slider-round::before {
  transform: translateX(22px);
}

/* Custom scrollbar for message boxes in SMS reports */
.table-container tbody td div::-webkit-scrollbar {
  width: 5px;
}
.table-container tbody td div::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.table-container tbody td div::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.table-container tbody td div::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   SIDEBAR USER PROFILE OVERRIDES
   ========================================================================== */
.admin-sidebar .admin-user {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  gap: 0.85rem;
  border-radius: var(--radius-lg);
  width: 100%;
  margin-top: -0.5rem;
  box-sizing: border-box;
  border: 1px solid rgba(15, 59, 162, 0.08);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar .admin-user.admin-user-superadmin {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(254, 243, 199, 0.4));
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.05), 0 1px 3px rgba(245, 158, 11, 0.03);
}

.admin-sidebar .admin-user.admin-user-yonetim {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(209, 250, 229, 0.35));
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.05), 0 1px 3px rgba(16, 185, 129, 0.03);
}

.admin-sidebar .admin-user.admin-user-representative {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.45));
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.04), 0 1px 3px rgba(37, 99, 235, 0.02);
}

.admin-sidebar .admin-user:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04), 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* User status online dot */
.user-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* User Info Layout */
.admin-sidebar .admin-user .user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.35rem;
}

.admin-sidebar .admin-user .user-info select {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  border: none;
  background: transparent;
  outline: none;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
  width: 100%;
  transition: color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 0.5rem !important;
}

.admin-sidebar .admin-user .user-info select:hover {
  color: var(--color-primary);
}

/* Custom premium badge roles inside subtext */
.admin-sidebar .admin-user #active-user-subtext {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  width: 100%;
}

.admin-sidebar .admin-user .badge-role {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  line-height: 1.2;
}

.admin-sidebar .admin-user .badge-role-superadmin {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.admin-sidebar .admin-user .badge-role-yonetim-avm {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-sidebar .admin-user .badge-role-yonetim-site {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.admin-sidebar .admin-user .badge-role-yonetim-osb {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.admin-sidebar .admin-user .badge-role-yonetim-general {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.admin-sidebar .admin-user .badge-role-yonetim-custom {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.admin-sidebar .admin-user .badge-role-operator {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.admin-sidebar .admin-user .badge-username {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* User Avatars dynamic borders */
.admin-sidebar .admin-user .user-avatar {
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.admin-sidebar .admin-user.admin-user-superadmin .user-avatar {
  border-color: #ffd000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.admin-sidebar .admin-user.admin-user-yonetim .user-avatar {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.admin-sidebar .admin-user.admin-user-representative .user-avatar {
  border-color: #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

/* Session countdown timer capsule */
.admin-sidebar .admin-user #session-countdown-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 59, 162, 0.03);
  border: 1px solid rgba(15, 59, 162, 0.05);
  border-radius: var(--radius-lg);
  padding: 0.45rem 0.75rem;
  width: 100%;
  margin-top: 0.4rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.admin-sidebar .admin-user:hover #session-countdown-container {
  background: rgba(15, 59, 162, 0.05);
  border-color: rgba(15, 59, 162, 0.08);
}

.admin-sidebar .admin-user #session-countdown-container span:first-child {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.admin-sidebar .admin-user #session-countdown-container #session-countdown-timer {
  font-family: 'Outfit', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* Premium Location Pills Switcher inside Welcome Banner */
.location-pills-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.location-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.location-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.location-pill.active {
  background: #ffffff;
  color: #1e3a8a;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: none;
}

/* Pulsing Badge for Location Pills */
@keyframes pulse-badge {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.location-pill-badge {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.675rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  margin-left: 6px;
  animation: pulse-badge 2s infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

.location-pill.active .location-pill-badge {
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Premium Glassmorphic Admin Cards */
.admin-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible; /* Needed for tooltip popup */
}

.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 59, 162, 0.06);
  border-color: rgba(15, 59, 162, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

/* Online status pulsing indicator ring around avatar */
.avatar-container {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}

.avatar-ring.online {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: online-pulse 2s infinite;
}

@keyframes online-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Interactive Clickable Contact Item */
.admin-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(15, 59, 162, 0.03);
  border: 1px solid rgba(15, 59, 162, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.admin-contact-item:hover {
  background: rgba(15, 59, 162, 0.07);
  border-color: rgba(15, 59, 162, 0.15);
  color: var(--color-primary-dark);
}

.admin-contact-item i.copy-icon {
  opacity: 0;
  width: 12px;
  height: 12px;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}

.admin-contact-item:hover i.copy-icon {
  opacity: 1;
}

/* Dynamic Tooltip for Hidden Otoparks */
.otopark-more-badge {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  cursor: help;
  position: relative;
  transition: all 0.2s ease;
  margin: 0.15rem 0.25rem 0.15rem 0;
}

.otopark-more-badge:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.otopark-tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  max-width: 260px;
  background: rgba(15, 23, 42, 0.95); /* Deep slate-gray */
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: left;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.725rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip Arrow */
.otopark-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.otopark-more-badge:hover .otopark-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Premium footer button action bar */
.admin-card__footer {
  margin-top: auto;
  border-top: 1px solid rgba(15, 59, 162, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-card__action-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.admin-card__action-btn--edit {
  color: var(--color-primary);
  background: rgba(15, 59, 162, 0.04);
  border-color: rgba(15, 59, 162, 0.1);
}

.admin-card__action-btn--edit:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 59, 162, 0.15);
}

.admin-card__action-btn--delete {
  color: #94a3b8; /* Secondary neutral gray */
  background: transparent;
}

.admin-card__action-btn--delete:hover {
  color: #ffffff;
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Segmented Control for Admin Filtering */
.admin-segment-control {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 59, 162, 0.08);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.segment-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.segment-btn:hover {
  color: var(--color-primary);
  background: rgba(15, 59, 162, 0.04);
}

.segment-btn.active {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary);
}

.segment-btn-count {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary);
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.segment-btn.active .segment-btn-count {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   PARKEXPERT OPERATOR PREMIUM DASHBOARD
   ========================================================================== */
.operator-welcome-card {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #112347 50%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: visible; /* Dropdown overflow safety */
  box-shadow: 0 10px 30px rgba(10, 20, 36, 0.35);
  backdrop-filter: blur(10px);
}

.operator-welcome-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 5;
}

/* Left Profile & Status area */
.operator-profile-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 140px;
  position: relative;
}

.operator-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
}

.operator-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background: var(--color-primary-light);
  transition: border-color var(--transition-normal);
}

.operator-online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--color-primary-dark);
  background-color: #10b981; /* Default online green */
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  transition: all var(--transition-normal);
}

/* Status dropdown selector styles */
.operator-status-selector {
  position: relative;
}

.operator-status-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-normal);
}

.operator-status-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  transition: background-color var(--transition-normal);
}

/* Dynamic status variations */
.operator-status-selector.online .status-dot,
.status-item.active-online .status-dot {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.operator-status-selector.online .operator-status-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.operator-status-selector.break .status-dot,
.status-item.active-break .status-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}
.operator-status-selector.break .operator-status-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

.operator-status-selector.busy .status-dot,
.status-item.active-busy .status-dot {
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}
.operator-status-selector.busy .operator-status-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

/* Dropdown Menu */
.operator-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 0.35rem;
  z-index: 100;
  min-width: 120px;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}

.operator-dropdown-menu.show {
  display: flex;
}

.status-item {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.725rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.status-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Middle area */
.operator-greetings-area {
  flex-grow: 1;
  min-width: 0;
}

.operator-welcome-badge {
  background: rgba(255, 208, 0, 0.12);
  color: var(--color-accent-orange);
  font-size: 0.65rem;
  font-weight: 850;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
  display: inline-block;
  letter-spacing: 0.08em;
}

#operator-welcome-title {
  color: #ffffff;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.operator-goal-container {
  margin-top: 0.85rem;
  max-width: 450px;
}

.goal-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.goal-progress-bar {
  background: rgba(255, 255, 255, 0.06);
  height: 8px;
  border-radius: 9999px;
  overflow: hidden;
  margin: 0.4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.goal-progress-fill {
  background: linear-gradient(90deg, #ff9f00 0%, #ffd000 100%);
  height: 100%;
  border-radius: 9999px;
  width: 0%;
  box-shadow: 0 0 10px rgba(255, 208, 0, 0.4);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.goal-motivation-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Right Panel: Metrics & Quick CTA */
.operator-metrics-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
}

.operator-mini-metric {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  text-align: center;
  min-width: 105px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.operator-mini-metric .metric-val {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.operator-mini-metric .metric-lbl {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-operator-cta {
  background: var(--color-gradient-accent);
  border: none;
  outline: none;
  border-radius: var(--radius-lg);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(255, 208, 0, 0.2);
  white-space: nowrap;
}

.btn-operator-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 208, 0, 0.35);
  filter: brightness(1.05);
}

.btn-operator-cta:active {
  transform: translateY(0);
}

/* Pulsing indicators to direct operator attention */
.operator-online-indicator.online {
  background-color: #10b981;
  animation: pulse-green 2s infinite;
}
.operator-online-indicator.break {
  background-color: #f59e0b;
  animation: pulse-orange 2s infinite;
}
.operator-online-indicator.busy {
  background-color: #ef4444;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .operator-welcome-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .operator-profile-area {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    min-width: unset;
  }
  .operator-metrics-area {
    justify-content: flex-start;
  }
  .operator-goal-container {
    max-width: none;
  }
}

/* Premium Tooltip System for Authorized Otoparks */
.otopark-tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.otopark-tooltip-content {
  visibility: hidden;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0f172a;
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 999;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  line-height: 1.4;
  text-align: left;
}

.otopark-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.otopark-tooltip-container:hover .otopark-tooltip-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Sidebar Specific Tooltip Position (pops to right side) */
.sidebar-tooltip-content {
  left: 105% !important;
  bottom: 50% !important;
  top: auto !important;
  transform: translateY(50%) !important;
}

.sidebar-tooltip-content::after {
  top: 50% !important;
  right: 100% !important;
  left: auto !important;
  bottom: auto !important;
  margin-top: -5px !important;
  margin-left: 0 !important;
  border-color: transparent #0f172a transparent transparent !important;
}

.otopark-tooltip-container:hover .sidebar-tooltip-content {
  transform: translateY(50%) translateX(6px) !important;
}

/* Autocomplete suggestions box styles */
.autocomplete-container {
  position: relative;
  width: 100%;
}

.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  margin-top: 2px;
}

.autocomplete-suggestion-item {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition-fast) ease, color var(--transition-fast) ease;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.autocomplete-suggestion-item:last-child {
  border-bottom: none;
}

.autocomplete-suggestion-item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-primary);
}

.autocomplete-suggestion-item.no-results {
  color: var(--color-text-muted);
  font-style: italic;
  cursor: default;
  background: transparent !important;
}

/* ==========================================================================
   PREMIUM WELCOME TRANSITION ANIMATION (FLIP TRANSITION)
   ========================================================================== */

.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #112347 0%, #0a1424 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
  backdrop-filter: blur(10px);
}

.welcome-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 2;
}

/* Premium logo badge with glassmorphism & light metallic backing */
.welcome-logo-badge {
  background: rgba(255, 255, 255, 0.92);
  background-image: 
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.92) 100%),
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 8px 8px, 8px 8px;
  border: 1.5px solid rgba(234, 179, 8, 0.85);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 
              inset 0 0 10px rgba(37, 99, 235, 0.08),
              0 0 20px rgba(255, 255, 255, 0.2);
  padding: 1rem 3.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.welcome-logo-badge::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.welcome-logo-subtitle {
  font-size: 0.58rem;
  font-weight: 900;
  color: #0b1528;
  letter-spacing: 0.25em;
  margin-top: 0.4rem;
  text-transform: uppercase;
  opacity: 0.95;
  text-align: center;
  text-shadow: none;
  font-family: var(--font-heading);
  z-index: 2;
}

/* Hide badge container visual box during flight transition so only the logo flies */
.welcome-overlay.transitioning .welcome-logo-badge {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.welcome-overlay.transitioning .welcome-logo-badge::before,
.welcome-overlay.transitioning .welcome-logo-badge::after,
.welcome-overlay.transitioning .welcome-logo-subtitle {
  display: none !important;
}

/* Premium Shimmer Sweep Effect */
.welcome-logo-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: logoShimmerSweep 4.5s infinite ease-in-out;
  z-index: 1;
}

@keyframes logoShimmerSweep {
  0% { left: -150%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.welcome-logo-large {
  height: 35px;
  width: auto;
  margin-bottom: 0 !important;
  transform-origin: top left;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 2px 4px rgba(11, 21, 40, 0.08));
  z-index: 2;
}

.welcome-avatar-container {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: var(--color-primary-light);
  border: 4px solid var(--color-accent-orange);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(255, 208, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: top left;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.8s, box-shadow 0.8s, border-width 0.8s;
}

.welcome-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-avatar-initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
}

.welcome-text-group {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem; /* Add spacing so account status badge doesn't touch the security card below */
}

.welcome-overlay.transitioning .welcome-text-group {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.welcome-user-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
  display: inline-block;
  
  /* Shiny Shimmer Reflection effect kanka! */
  background: linear-gradient(
    120deg, 
    #ffffff 25%, 
    #fbbf24 38%, 
    #ffffff 45%, 
    #f59e0b 52%, 
    #ffffff 65%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both, textShineSweep 4.5s linear infinite;
}

@keyframes textShineSweep {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.welcome-user-role {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.1s;
}

.welcome-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.2s;
}

/* Verified gold check badge */
.welcome-verified-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #eab308;
  border: 2px solid #050b14;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 10;
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.15s;
}

/* Greeting text styles */
.welcome-greeting-container {
  text-align: center;
  margin-bottom: 2rem;
}
.welcome-greeting-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 0.6rem 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.welcome-greeting-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.1s;
}
.gold-text {
  color: #eab308;
  font-weight: 850;
}

/* Dynamic account role badge */
.welcome-account-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.2);
  color: #eab308;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.75rem;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.04);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.25s;
}

/* Security verification status card */
.welcome-security-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.75rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.3s;
}
.welcome-security-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.welcome-security-card-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 850;
  color: #10b981;
  margin: 0 0 0.15rem 0;
}
.welcome-security-card-desc {
  font-family: var(--font-body);
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.35;
}

/* Custom CTA Button replacing skip button */
.welcome-cta-btn {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  color: #050b14;
  padding: 0.9rem 3rem;
  font-size: 0.95rem;
  font-weight: 850;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
  animation: welcomeFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.35s;
}
.welcome-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.45);
  filter: brightness(1.08);
}
.welcome-cta-btn:active {
  transform: translateY(0);
}

/* Sidebar features container (Bottom-Left) */
.welcome-features-list {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5;
  animation: welcomeFadeInUp 1s ease both 0.2s;
}
.welcome-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0.8;
  transition: opacity 0.25s, transform 0.25s;
}
.welcome-feature-item:hover {
  opacity: 1;
  transform: translateX(4px);
}
.welcome-feature-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #eab308;
}
.welcome-feature-icon-box i {
  width: 14px;
  height: 14px;
}
.welcome-p-icon {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
}
.welcome-feature-text {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Footer text branding (Bottom-Right) */
.welcome-footer-text {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 5;
  animation: welcomeFadeInUp 1s ease both 0.2s;
}
.welcome-footer-p-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eab308;
  color: #050b14;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 4px;
}

/* Background elements styling */
.welcome-tech-vector-left {
  position: absolute;
  top: 50%;
  left: -12%;
  transform: translateY(-50%);
  width: 45%;
  height: 80%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.02) 0%, transparent 65%);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 70%);
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}
.welcome-bg-graphics-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('assets/login_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.13;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Transition state overrides to fade out background elements during flight */
.welcome-overlay.transitioning .welcome-features-list,
.welcome-overlay.transitioning .welcome-footer-text,
.welcome-overlay.transitioning .welcome-tech-vector-left,
.welcome-overlay.transitioning .welcome-bg-graphics-right,
.welcome-overlay.transitioning .welcome-greeting-container,
.welcome-overlay.transitioning .welcome-security-card,
.welcome-overlay.transitioning .welcome-cta-btn,
.welcome-overlay.transitioning .welcome-verified-badge {
  opacity: 0 !important;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* Glassmorphic cover overlay for premium blur blending */
.welcome-glass-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 11, 20, 0.65); /* Dark velvet tint overlay */
  backdrop-filter: blur(85px) saturate(180%);
  -webkit-backdrop-filter: blur(85px) saturate(180%);
  z-index: 1;
  pointer-events: none;
}

/* Background animated glow orbs */
.welcome-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.welcome-glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0) 70%);
  top: -15%;
  left: -10%;
  animation: orbFloat1 25s infinite alternate ease-in-out;
}

.welcome-glow-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.75) 0%, rgba(109, 40, 217, 0) 70%);
  bottom: -20%;
  right: -15%;
  animation: orbFloat2 30s infinite alternate ease-in-out;
  animation-delay: -5s;
}

.welcome-glow-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.6) 0%, rgba(4, 120, 87, 0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 22s infinite alternate ease-in-out;
  animation-delay: -10s;
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(100px, 80px) scale(1.15);
  }
  100% {
    transform: translate(-50px, 150px) scale(0.9);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1.05);
  }
  50% {
    transform: translate(-120px, -100px) scale(0.85);
  }
  100% {
    transform: translate(80px, -50px) scale(1.2);
  }
}

@keyframes orbFloat3 {
  0% {
    transform: translate(-50%, -50%) translate(-80px, 60px) scale(0.85);
  }
  50% {
    transform: translate(-50%, -50%) translate(120px, -140px) scale(1.15);
  }
  100% {
    transform: translate(-50%, -50%) translate(-30px, 100px) scale(0.9);
  }
}

/* ==========================================================================
   SUPER ADMIN WELCOME BANNER THEMES
   ========================================================================== */

/* 1. Sovereign Gold & Obsidian Theme */
.superadmin-banner-gold {
  background: linear-gradient(135deg, #090e1a 0%, #17243c 50%, #10192a 100%) !important;
  border-top: 3px solid var(--color-accent-orange) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.superadmin-banner-gold .operator-avatar-wrapper img {
  border-color: var(--color-accent-orange) !important;
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.25) !important;
}
.superadmin-banner-gold .operator-welcome-badge {
  background: rgba(255, 208, 0, 0.12) !important;
  border: 1px solid rgba(255, 208, 0, 0.3) !important;
  color: var(--color-accent-orange) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.superadmin-banner-gold .operator-mini-metric {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.superadmin-banner-gold .operator-mini-metric.pending {
  background: rgba(255, 208, 0, 0.05) !important;
  border-color: rgba(255, 208, 0, 0.15) !important;
}
.superadmin-banner-gold .operator-mini-metric.pending .metric-val {
  color: var(--color-accent-orange) !important;
}

/* 2. Cyberpunk Tech Theme */
.superadmin-banner-cyberpunk {
  background: linear-gradient(135deg, #020617 0%, #0f172a 70%, #1e1b4b 100%) !important;
  border-top: 3px solid #3b82f6 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.superadmin-banner-cyberpunk .operator-avatar-wrapper img {
  border-color: #10b981 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35) !important;
}
.superadmin-banner-cyberpunk .operator-online-indicator {
  background-color: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
}
.superadmin-banner-cyberpunk .operator-welcome-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #10b981 !important;
  font-family: monospace !important;
  letter-spacing: 2px !important;
}
.superadmin-banner-cyberpunk .operator-mini-metric {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
}
.superadmin-banner-cyberpunk .operator-mini-metric .metric-val {
  color: #3b82f6 !important;
}
.superadmin-banner-cyberpunk .operator-mini-metric.pending {
  border-color: rgba(16, 185, 129, 0.25) !important;
}
.superadmin-banner-cyberpunk .operator-mini-metric.pending .metric-val {
  color: #10b981 !important;
}

/* 3. Minimalist Glassmorphism Theme */
/* 3. Minimalist Glassmorphism Theme (Dark Frosted Glass for High Contrast) */
.superadmin-banner-glass {
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.superadmin-banner-glass .operator-avatar-wrapper img {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}
.superadmin-banner-glass .operator-welcome-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}
.superadmin-banner-glass .operator-mini-metric {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.superadmin-banner-glass .operator-mini-metric .metric-val {
  color: #ffffff !important;
}
.superadmin-banner-glass .operator-mini-metric.pending {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.superadmin-banner-glass .operator-mini-metric.pending .metric-val {
  color: #ffffff !important;
}
.superadmin-banner-glass button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transition: all var(--transition-fast) ease !important;
}
.superadmin-banner-glass button:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* Theme Switcher Button and Dropdown */
.banner-theme-switcher {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.btn-banner-theme {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  outline: none;
}

.btn-banner-theme:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: scale(1.05);
}

.banner-theme-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  padding: 0.4rem;
  min-width: 170px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-menu-item {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  transition: all var(--transition-fast) ease;
}

.theme-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.theme-dot.gold {
  background: var(--color-accent-orange);
  box-shadow: 0 0 5px var(--color-accent-orange);
}

.theme-dot.cyberpunk {
  background: #10b981;
  box-shadow: 0 0 5px #10b981;
}

.theme-dot.glass {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Premium Password Eye SVG & Transitions */
.password-toggle-btn {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.password-toggle-btn:hover {
  transform: translateY(-50%) scale(1.15) !important;
  color: var(--color-primary) !important;
}
.password-toggle-btn:active {
  transform: translateY(-50%) scale(0.9) !important;
}

.eye-svg {
  transition: color 0.3s ease;
}

.eye-pupil {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  transform-origin: center;
}

.eye-slash {
  transition: stroke-dashoffset 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-dasharray: 24;
  stroke-dashoffset: 0; /* Default: drawn (password hidden) */
}

/* Password visible: remove slash line, show pupil */
.password-toggle-btn.password-visible .eye-slash {
  stroke-dashoffset: 24;
}
.password-toggle-btn.password-visible .eye-pupil {
  transform: scale(1);
  opacity: 1;
}

/* Password hidden: draw slash line, hide pupil */
.password-toggle-btn.password-hidden .eye-slash {
  stroke-dashoffset: 0;
}
.password-toggle-btn.password-hidden .eye-pupil {
  transform: scale(0);
  opacity: 0;
}

/* Blur transition effect on password input */
.login-password-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, filter 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.input-blur-active {
  filter: blur(5px) !important;
  opacity: 0.45 !important;
}

/* ── Premium Admin Login Window & Neon Border ───────────────────────────────── */
#modal-login-overlay .modal-window {
  max-width: 400px;
  width: 90%;
  max-height: 95vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 10;
  position: relative;
  padding: 1px; /* The border width */
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Conic gradient rotating border */
#modal-login-overlay .modal-window::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 35%,
    var(--color-primary) 45%,
    var(--color-accent-orange) 55%,
    transparent 65%,
    transparent 100%
  );
  animation: rotateBorder 6s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* Card inner wrapper to cover middle part of background and hold styling */
#modal-login-overlay .modal-window-inner {
  background: rgba(255, 255, 255, 0.94);
  border-radius: calc(var(--radius-lg) - 1px);
  position: relative;
  z-index: 2;
  overflow-y: auto;
  max-height: calc(95vh - 2px);
  width: 100%;
  display: flex;
  flex-direction: column;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Glassmorphism Glare Light Reflection */
.login-card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── Premium Login Background Orbs ── */
.login-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, filter 0.8s ease;
}

.login-orb.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.6) 0%, rgba(147, 51, 234, 0) 70%); /* Purple */
  top: 10%;
  left: 10%;
}

.login-orb.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.55) 0%, rgba(6, 182, 212, 0) 70%); /* Cyan */
  bottom: 10%;
  right: 10%;
}

.login-orb.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, rgba(236, 72, 153, 0) 70%); /* Pink */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Input Focus Reactivity Transition states ── */
#modal-login-overlay.focus-username .login-orb.orb-1 {
  transform: scale(1.4) translate(30px, 30px);
  opacity: 0.65;
  filter: blur(60px);
}

#modal-login-overlay.focus-password .login-orb.orb-3 {
  transform: translate(-50%, -50%) scale(1.5) translate(-20px, -20px);
  opacity: 0.7;
  filter: blur(60px);
}

#modal-login-overlay.focus-otp .login-orb.orb-2 {
  transform: scale(1.4) translate(-30px, -30px);
  opacity: 0.65;
  filter: blur(60px);
}

/* Collapsible Renewal Child Rows & Chevrons */
.renewal-child-row {
  background-color: rgba(248, 250, 252, 0.8) !important;
  border-left: 3px solid #0284c7 !important;
  transition: background-color 0.2s ease;
}

.renewal-child-row:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
}

.btn-toggle-renewals {
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  border-radius: 4px;
}

.btn-toggle-renewals:hover {
  background-color: rgba(15, 59, 162, 0.08);
  color: var(--color-primary-dark);
}

.renewal-child-row td {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  font-size: 0.825rem;
}

/* Media query overrides to prevent clipping and improve spacing on mobile */
@media (max-width: 768px) {
  .payment-info-card {
    padding: 1.25rem 1rem !important;
  }
}

@media (max-width: 576px) {
  .wizard-form {
    padding: 1rem 0.75rem !important;
  }
  .payment-info-card {
    padding: 1rem 0.75rem !important;
  }
  .payment-card-title {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.6rem !important;
  }
  .payment-detail-value {
    font-size: 0.85rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .iban-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .iban-text {
    font-size: 0.775rem !important;
    word-break: break-all !important;
    white-space: normal !important;
    width: 100% !important;
  }
  .btn-copy-iban {
    align-self: flex-end !important;
    width: 100% !important;
    padding: 0.5rem !important;
    margin-top: 0.25rem !important;
  }
  .tariff-radio-label {
    padding: 0.6rem 0.75rem !important;
  }
}

/* ==========================================================================
   INTERACTIVE 3D VIRTUAL CREDIT CARD STYLES (PREMIUM UI)
   ========================================================================== */
.virtual-card-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1.5rem auto;
}

.virtual-card {
  width: 100%;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.virtual-card.flipped {
  transform: rotateY(180deg);
}

.virtual-card-front,
.virtual-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(15, 23, 42, 0.15);
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311042 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.virtual-card-front::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

@keyframes cardShine {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  50% {
    transform: translateX(150%) skewX(-25deg);
  }
  100% {
    transform: translateX(150%) skewX(-25deg);
  }
}

.vcard-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.02) 20%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.02) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
  z-index: 3;
  animation: cardShine 4s ease-in-out infinite;
}

.virtual-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #090d16 0%, #11102b 50%, #1a0824 100%);
  padding: 0;
}

/* Card Chip and Logo Header */
.vcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.vcard-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #ffe082 0%, #ffb300 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.vcard-chip::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.vcard-logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 25px;
}

/* Card Number */
.vcard-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  word-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin: 1rem 0;
  z-index: 2;
  white-space: nowrap;
}

/* Card Footer Details */
.vcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.vcard-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}

.vcard-holder-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.vcard-expiry {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Back Side Details */
.vcard-black-stripe {
  width: 100%;
  height: 40px;
  background: #000000;
  margin-top: 1.5rem;
}

.vcard-signature-area {
  margin: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vcard-signature-stripe {
  height: 35px;
  background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 10px, #cbd5e1 10px, #cbd5e1 20px);
  border-radius: 4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 0.75rem;
}

.vcard-cvv-display {
  color: #0f172a;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.vcard-back-text {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  margin: 0 1.5rem 1.25rem 1.5rem;
  text-align: justify;
}

/* ==========================================================================
   PREMIUM WELCOME LOADER OVERLAY (CONCEPT 1)
   ========================================================================== */
.welcome-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 36, 0.65);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.welcome-loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-loader-card {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  width: calc(100% - 40px);
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: welcomeCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}

@keyframes welcomeCardEntrance {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.welcome-loader-logo-container {
  width: 220px;
  height: 60px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25), 0 4px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.welcome-loader-logo {
  width: 100%;
  height: 100%;
  animation: welcomeLogoPulse 2s infinite ease-in-out;
}

@keyframes welcomeLogoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6)) drop-shadow(0 0 8px rgba(249, 115, 22, 0.3));
  }
}

.welcome-loader-title {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin: 0 0 0.25rem 0;
}

.welcome-loader-title span {
  color: #ff9f00;
}

.welcome-loader-subtitle {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 2rem 0;
  text-transform: uppercase;
}

.welcome-loader-progress-container {
  width: 100%;
  margin-bottom: 1rem;
}

.welcome-loader-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.welcome-loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #ff9f00);
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
  transition: width 0.3s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.welcome-loader-status {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 600;
  min-height: 18px;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   GLOBAL NETWORK STATUS ALERT BANNER
   ========================================================================== */
.network-alert-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 100005;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  max-width: 90%;
  width: auto;
  min-width: 280px;
}

.network-alert-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.network-alert-banner.offline {
  background-color: rgba(220, 38, 38, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.network-alert-banner.online {
  background-color: rgba(16, 185, 129, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #ffffff;
}

.network-alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.network-alert-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.network-alert-banner.offline .network-alert-indicator {
  background-color: #ef4444;
}

.network-alert-banner.offline .network-alert-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ef4444;
  animation: alertPing 1.5s infinite ease-in-out;
}

.network-alert-banner.online .network-alert-indicator {
  background-color: #10b981;
}

.network-alert-banner.online .network-alert-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10b981;
  animation: alertPing 1.5s infinite ease-in-out;
}

@keyframes alertPing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ==========================================================================
   Selected Otopark Glowing Warning Banner
   ========================================================================== */
.selected-otopark-banner {
  position: sticky;
  top: 90px;
  z-index: 99;
  margin: 1.25rem 2rem 0.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96) 0%, rgba(254, 243, 199, 0.96) 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md, 12px);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: otopark-banner-pulse 2.8s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.selected-otopark-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.warning-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #d97706;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  animation: dot-pulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

.banner-warning-icon {
  width: 22px;
  height: 22px;
  color: #d97706;
  flex-shrink: 0;
}

.selected-otopark-banner .banner-text {
  color: #78350f;
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.5;
  font-family: var(--font-body);
}

.selected-otopark-banner .banner-text strong,
.selected-otopark-banner .selected-otopark-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #78350f;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(120, 53, 15, 0.25);
  text-decoration: none !important;
  margin: 0 0.25rem;
  vertical-align: middle;
}

@keyframes otopark-banner-pulse {
  0% {
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15), 0 0 0 0 rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 0 6px rgba(245, 158, 11, 0.12);
    border-color: #d97706;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.98) 0%, rgba(253, 230, 138, 0.98) 100%);
  }
  100% {
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15), 0 0 0 0 rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
  }
}

@keyframes dot-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(217, 119, 6, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

@media (max-width: 768px) {
  .selected-otopark-banner {
    top: 72px;
    margin: 0.75rem 1rem 0.5rem 1rem;
    padding: 0.75rem 1rem;
  }
  
  .selected-otopark-banner .banner-text {
    font-size: 0.85rem;
  }
}

/* Responsive fixes for wizard buttons and interactive credit card on mobile */
@media (max-width: 576px) {
  .wizard-footer {
    flex-direction: column-reverse;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }
  
  .wizard-footer .btn {
    width: 100% !important;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 375px) {
  .virtual-card-wrapper {
    transform: scale(0.9);
    transform-origin: center top;
    margin-bottom: -0.5rem;
  }
  
  #login-turnstile-container {
    transform: scale(0.88);
    transform-origin: center center;
    margin: -0.15rem 0 !important;
  }
}

@media (max-width: 340px) {
  .virtual-card-wrapper {
    transform: scale(0.82);
    transform-origin: center top;
    margin-bottom: -1.75rem;
  }
  
  #login-turnstile-container {
    transform: scale(0.8);
    transform-origin: center center;
    margin: -0.3rem 0 !important;
  }
}

/* Responsive overrides for the welcome transition overlay on mobile devices */
@media (max-width: 576px) {
  /* Hide absolute positioned background vectors and lists to prevent overlaps */
  .welcome-features-list,
  .welcome-footer-text,
  .welcome-tech-vector-left,
  .welcome-bg-graphics-right {
    display: none !important;
  }

  /* Make the main content block center neatly with compact padding */
  .welcome-overlay-content {
    padding: 1.25rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 100vh;
    box-sizing: border-box;
  }

  /* Scale down the greeting header */
  .welcome-greeting-container {
    margin-bottom: 0.5rem !important;
  }

  .welcome-greeting-text {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }

  .welcome-greeting-sub {
    font-size: 0.775rem !important;
    margin-top: 0.25rem !important;
  }

  /* Compact the user details section */
  .welcome-avatar-container {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 0.5rem !important;
  }

  .welcome-user-name {
    font-size: 1.4rem !important;
    margin-bottom: 0.2rem !important;
  }

  .welcome-user-role {
    font-size: 0.775rem !important;
    margin-bottom: 0.5rem !important;
  }

  .welcome-account-badge {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.65rem !important;
  }

  /* Make the security validation card much more compact */
  .welcome-security-card {
    padding: 0.65rem 0.85rem !important;
    margin-top: 0.25rem !important;
    gap: 0.5rem !important;
    max-width: 320px !important;
  }

  .welcome-security-card-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .welcome-security-card-icon i {
    width: 14px !important;
    height: 14px !important;
  }

  .welcome-security-card-title {
    font-size: 0.75rem !important;
    margin-bottom: 0.1rem !important;
  }

  .welcome-security-card-desc {
    font-size: 0.675rem !important;
  }

  /* Full-width call-to-action button for easier thumb tapping */
  .welcome-cta-btn {
    width: 100% !important;
    max-width: 320px !important;
    min-height: 46px !important;
    font-size: 0.85rem !important;
    margin-top: 0.75rem !important;
  }
}

/* OTP Verification Code Inputs */
.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.otp-input-digit {
  width: 46px;
  height: 52px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background-color: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-sm);
  text-align: center;
  outline: none;
  transition: all 0.2s ease-in-out;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.otp-input-digit:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.15);
  transform: translateY(-2px);
}

/* Shake animation on error */
@keyframes shake-anim {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.error-shake {
  animation: shake-anim 0.4s ease-in-out;
}

/* ==========================================================================
   UNIFIED CONTACT WIDGETS (DESKTOP SIDEBAR & MOBILE BOTTOM BAR)
   ========================================================================== */

/* Desktop Contact Sidebar */
.contact-sidebar {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(10, 20, 36, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(10, 20, 36, 0.15);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  animation: contact-fade-in 0.5s ease forwards;
}

@keyframes contact-fade-in {
  to {
    opacity: 1;
  }
}

.contact-sidebar-item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: #ffffff;
  color: var(--color-primary-dark, #0a1424);
  border: 1px solid var(--color-border-light, #e2e8f0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  outline: none; /* Hide default focus ring */
}

/* Custom focus ring */
.contact-sidebar-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.4), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.contact-sidebar-item i,
.contact-sidebar-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25px;
  transition: transform 0.3s ease;
  z-index: 2;
}

/* Hover States for Desktop Items */
.contact-sidebar-item:hover {
  transform: scale(1.1) translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-sidebar-item:hover i,
.contact-sidebar-item:hover svg {
  transform: scale(1.1);
}

/* Call Button Hover */
.contact-sidebar-item[href^="tel"]:hover {
  background: var(--color-primary, #0f3ba2);
  color: #ffffff;
  border-color: var(--color-primary, #0f3ba2);
}

/* WhatsApp Button Hover */
.contact-sidebar-item.contact-sidebar-whatsapp:hover {
  background: #15803d; /* WCAG compliant dark green */
  color: #ffffff;
  border-color: #15803d;
}

/* Mail Button Hover */
.contact-sidebar-item[href^="mailto"]:hover {
  background: var(--color-primary-dark, #0a1424);
  color: #ffffff;
  border-color: var(--color-primary-dark, #0a1424);
}

/* Tooltip Styles */
.contact-sidebar-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  visibility: hidden; /* Prevent focus ring drawing around invisible tooltip */
  pointer-events: none;
  background: var(--color-primary-dark, #0a1424);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(10, 20, 36, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.contact-sidebar-item:hover .contact-sidebar-tooltip,
.contact-sidebar-item:focus-visible .contact-sidebar-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(16px);
}

/* Desktop E-mail Options Sub-menu */
.contact-sidebar-mail-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-mail-menu {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(10, 20, 36, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(10, 20, 36, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  z-index: 1010;
}

/* Hover bridge gap to prevent menu closing when moving cursor */
.contact-mail-menu::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  height: 100%;
  background: transparent;
}

.contact-sidebar-mail-wrapper:hover .contact-mail-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(16px);
}

.contact-mail-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.contact-mail-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-gold, #ffd000);
}

.contact-mail-menu-item i,
.contact-mail-menu-item svg {
  flex-shrink: 0;
}

/* Mobile Contact Bottom Bar */
.contact-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: var(--color-accent-gold, #ffd000);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: contact-fade-in 0.4s ease forwards;
}

.contact-mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--color-primary-dark, #0a1424);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.contact-mobile-bar-item:active {
  background: rgba(0, 0, 0, 0.08);
}

.contact-mobile-bar-item i,
.contact-mobile-bar-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
}

/* Responsive display logic */
@media (min-width: 769px) {
  .contact-mobile-bar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .contact-sidebar {
    display: none !important;
  }
  
  body {
    padding-bottom: 60px !important; /* Avoid content overlap with bottom bar */
  }
  
/* Prevent overlap with the floating WhatsApp button */
  .whatsapp-float-btn {
    bottom: 76px !important; /* 60px bottom bar height + 16px safety gap */
    transition: bottom 0.3s ease !important;
  }
}

/* ==========================================================================
   Parkie - Ultra-Premium Interactive AI Mascot Assistant
   ========================================================================== */
.parkie-container {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.parkie-container.is-snapping {
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.parkie-container.align-right {
  align-items: flex-end;
}

.parkie-container.align-right .parkie-bubble {
  transform-origin: right bottom;
}

.parkie-container.is-dragging .parkie-avatar-wrapper {
  animation: none !important;
  transform: scale(1.15) rotate(6deg) !important;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.65), 0 0 32px rgba(96, 165, 250, 0.6) !important;
  cursor: grabbing !important;
  transition: none !important;
}

.parkie-container * {
  pointer-events: auto;
}

/* Mascot Avatar Wrapper */
.parkie-avatar-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  cursor: pointer;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(245, 158, 11, 0.75);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45), 0 0 20px rgba(245, 158, 11, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: parkie-float 3.5s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.parkie-avatar-wrapper:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.6), 0 0 28px rgba(245, 158, 11, 0.5);
}

.parkie-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.parkie-aura-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(37, 99, 235, 0) 70%);
  animation: parkie-pulse-glow 2.5s infinite ease-in-out;
  z-index: -1;
}

.parkie-status-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* Speech Bubble */
.parkie-bubble {
  position: relative;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  border-radius: 16px;
  padding: 12px 16px;
  max-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-origin: left bottom;
  animation: parkie-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.parkie-bubble.dismissed {
  display: none !important;
}

.parkie-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}

.parkie-bubble-close:hover {
  color: #ffffff;
}

.parkie-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.parkie-text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #e2e8f0;
  font-weight: 500;
}

.parkie-text strong {
  color: #f59e0b;
  font-weight: 700;
}

/* Parkie Destek Gorunumu (balon ici SSS cipleri + WhatsApp CTA) */
.parkie-support-panel {
  flex-direction: column;
  gap: 7px;
  max-height: min(300px, 46vh);
  padding: 0 16px 15px;
  overflow-y: auto;
}

/* Cip sarmalayici (dinamik SSS yenilemesi icin); panelin dikey akisini korur */
.parkie-faq-chips {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.parkie-support-chip {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.parkie-support-chip:hover,
.parkie-support-chip:focus-visible {
  border-color: rgba(255, 208, 0, 0.4);
  outline: none;
  background: rgba(255, 208, 0, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.parkie-support-chip.is-active {
  border-color: rgba(255, 208, 0, 0.45);
  background: rgba(255, 208, 0, 0.14);
  color: #ffd000;
}

.parkie-wa-link {
  display: block;
  margin-top: 3px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: #ffffff !important;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.parkie-wa-link:hover,
.parkie-wa-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.42);
}

.parkie-support-back {
  align-self: center;
  padding: 5px 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.parkie-support-back:hover,
.parkie-support-back:focus-visible {
  color: #ffffff;
  outline: none;
}

/* Animations */
.parkie-typewriter-cursor {
  display: inline-block;
  color: #38bdf8;
  font-weight: 800;
  margin-left: 2px;
  animation: parkie-cursor-blink 0.7s infinite;
}

@keyframes parkie-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes parkie-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes parkie-pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

@keyframes parkie-pop-in {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.parkie-bounce {
  animation: parkie-bounce-anim 0.8s ease !important;
}

@keyframes parkie-bounce-anim {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-16px) scale(1.15); }
  60% { transform: translateY(-6px) scale(1.05); }
}

/* Responsive Mobile Layout: Hide Parkie Mascot on Mobile Screens */
@media (max-width: 768px) {
  .parkie-container {
    display: none !important;
  }
}

/* Parkie 3.0 Toolbar & Confetti Styles */
.parkie-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.parkie-bubble-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 18px; /* Gap for close button */
}

.parkie-action-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.parkie-action-btn:hover {
  background: rgba(59, 130, 246, 0.5);
  transform: scale(1.1);
}

@keyframes parkie-confetti-fly {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-160px) scale(0.4) rotate(360deg);
  }
}

@keyframes parkie-confetti-fullscreen {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(105vh) rotate(720deg) scale(0.3);
  }
}

.parkie-night-shift .parkie-avatar-wrapper {
  border-color: rgba(245, 158, 11, 0.8) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35), 0 0 16px rgba(245, 158, 11, 0.25) !important;
}

/* ==========================================================================
   Parkie Living Edition — Signature Character System
   ========================================================================== */
.parkie-living {
  gap: 14px;
}

.parkie-living .parkie-avatar-wrapper {
  width: 84px;
  height: 84px;
  padding: 3px;
  overflow: visible;
  isolation: isolate;
  border-radius: 26px;
  border: 1px solid rgba(255, 208, 0, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    rgba(10, 20, 36, 0.94);
  box-shadow:
    0 18px 38px rgba(10, 20, 36, 0.34),
    0 0 0 1px rgba(255, 208, 0, 0.12),
    0 0 26px rgba(15, 59, 162, 0.38);
}

.parkie-living .parkie-avatar-wrapper::before {
  content: '';
  position: absolute;
  inset: 3px;
  z-index: 3;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.parkie-living .parkie-avatar-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  clip-path: inset(0 round 22px);
  transform: scale(1.01);
  opacity: 1;
  filter: saturate(1.02) contrast(1.02);
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.35s ease;
}

.parkie-living .parkie-avatar-img.is-switching {
  opacity: 0.22;
  filter: blur(3px) saturate(0.9);
  transform: scale(0.97);
}

.parkie-living .parkie-aura-glow {
  inset: -16px;
  z-index: -2;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(15, 59, 162, 0.46) 0%, rgba(255, 208, 0, 0.12) 42%, transparent 72%);
  filter: blur(2px);
}

.parkie-signal-ring {
  position: absolute;
  inset: -8px;
  z-index: -1;
  display: block;
  border: 1px solid rgba(56, 189, 248, 0.58);
  border-radius: 32px;
  opacity: 0;
  pointer-events: none;
}

.parkie-living .parkie-status-pulse {
  top: 4px;
  right: 4px;
  z-index: 4;
  width: 11px;
  height: 11px;
  border: 2px solid #07101f;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.95);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.parkie-state-label {
  position: absolute;
  left: 50%;
  bottom: -23px;
  z-index: 5;
  min-width: 50px;
  padding: 4px 8px;
  border: 1px solid rgba(15, 59, 162, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0a1424;
  box-shadow: 0 6px 18px rgba(10, 20, 36, 0.14);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='listening'] {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 18px 38px rgba(10, 20, 36, 0.34), 0 0 30px rgba(56, 189, 248, 0.52);
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='listening'] .parkie-status-pulse {
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
  animation: parkie-status-breathe 1s ease-in-out infinite;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='listening'] .parkie-signal-ring {
  animation: parkie-signal-wave 1.8s ease-out infinite;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='listening'] .parkie-signal-ring-two {
  animation-delay: 0.65s;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='thinking'] {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 18px 38px rgba(10, 20, 36, 0.34), 0 0 28px rgba(59, 130, 246, 0.46);
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='thinking'] .parkie-avatar-img {
  animation: parkie-think-tilt 1.4s ease-in-out infinite;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='thinking'] .parkie-status-pulse {
  background: #3b82f6;
  box-shadow: 0 0 12px #3b82f6;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='success'] {
  border-color: rgba(255, 208, 0, 1);
  box-shadow: 0 18px 38px rgba(10, 20, 36, 0.34), 0 0 34px rgba(255, 208, 0, 0.55);
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='success'] .parkie-avatar-img {
  animation: parkie-success-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='success'] .parkie-status-pulse {
  background: #ffd000;
  box-shadow: 0 0 12px #ffd000;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='warning'] {
  border-color: rgba(245, 158, 11, 0.95);
  box-shadow: 0 18px 38px rgba(10, 20, 36, 0.34), 0 0 28px rgba(245, 158, 11, 0.42);
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='warning'] .parkie-status-pulse {
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
}

.parkie-living .parkie-avatar-wrapper[data-parkie-state='warning'] .parkie-state-label {
  border-color: rgba(245, 158, 11, 0.32);
  color: #92400e;
}

/* Premium conversation card */
.parkie-living .parkie-bubble {
  width: 338px;
  max-width: calc(100vw - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 0, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(15, 59, 162, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(10, 20, 36, 0.98), rgba(15, 30, 58, 0.96));
  box-shadow:
    0 24px 60px rgba(3, 8, 18, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 30px rgba(15, 59, 162, 0.14);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.parkie-living .parkie-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 34px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(255, 208, 0, 0.18);
  border-bottom: 1px solid rgba(255, 208, 0, 0.18);
  background: #0f1e3a;
  transform: rotate(45deg);
}

.parkie-living.align-right .parkie-bubble::after {
  right: 34px;
  left: auto;
}

.parkie-living .parkie-bubble-close {
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 17px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.parkie-living .parkie-bubble-close:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  transform: rotate(6deg);
}

.parkie-living .parkie-bubble-header {
  min-height: 62px;
  margin: 0;
  padding: 13px 48px 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.parkie-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.parkie-online-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: 2px solid rgba(34, 197, 94, 0.25);
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 9px rgba(34, 197, 94, 0.8);
}

.parkie-identity-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.parkie-identity-copy strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.parkie-identity-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.66rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parkie-living .parkie-bubble-toolbar {
  gap: 6px;
  margin: 0;
}

.parkie-living .parkie-action-btn {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
}

.parkie-living .parkie-action-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.parkie-living .parkie-action-btn:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(15, 59, 162, 0.38);
  color: #ffffff;
  transform: translateY(-1px);
}

.parkie-living .parkie-action-btn.parkie-action-primary {
  border-color: rgba(255, 208, 0, 0.28);
  background: rgba(255, 208, 0, 0.12);
  color: #ffd000;
}

.parkie-living .parkie-text {
  min-height: 58px;
  padding: 14px 16px 12px;
  color: #e7edf6;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.55;
}

.parkie-living .parkie-text strong {
  color: #ffd000;
}

/* Parkie Chat: balon icinde serbest metin soru girisi.
   Not: seciciler #parkie-mascot-root ile guclendirildi; aksi halde
   style.css basindaki genel input[type="text"] kurali (beyaz zemin,
   48px yukseklik) balon icindeki koyu temali inputu eziyor. */
#parkie-mascot-root .parkie-chat-form {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px 10px;
}

#parkie-mascot-root .parkie-chat-input {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #e7edf6;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#parkie-mascot-root .parkie-chat-input::placeholder {
  color: rgba(203, 213, 225, 0.55);
}

#parkie-mascot-root .parkie-chat-input:focus {
  border-color: rgba(255, 208, 0, 0.45);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

/* Chrome/Safari otomatik doldurma acik mavi/beyaz zemin basmasin */
#parkie-mascot-root .parkie-chat-input:-webkit-autofill,
#parkie-mascot-root .parkie-chat-input:-webkit-autofill:hover,
#parkie-mascot-root .parkie-chat-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #16233f inset;
  -webkit-text-fill-color: #e7edf6;
  caret-color: #e7edf6;
  transition: background-color 9999s ease-out;
}

#parkie-mascot-root .parkie-chat-input:disabled {
  opacity: 0.55;
  cursor: wait;
}

.parkie-chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 208, 0, 0.28);
  border-radius: 50%;
  background: rgba(255, 208, 0, 0.12);
  color: #ffd000;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.parkie-chat-send svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.parkie-chat-send:hover:not(:disabled),
.parkie-chat-send:focus-visible {
  border-color: rgba(255, 208, 0, 0.5);
  outline: none;
  background: rgba(255, 208, 0, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.parkie-chat-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.parkie-quick-actions {
  display: flex;
  gap: 7px;
  padding: 0 16px 15px;
}

/* Parkie taslak kurtarma butonlari (balon metni icinde) */
.parkie-draft-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.parkie-quick-action {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.parkie-quick-action:hover,
.parkie-quick-action:focus-visible {
  border-color: rgba(255, 208, 0, 0.4);
  outline: none;
  background: rgba(255, 208, 0, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

@keyframes parkie-signal-wave {
  0% { opacity: 0; transform: scale(0.94); }
  28% { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.28); }
}

@keyframes parkie-status-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.16); opacity: 1; }
}

@keyframes parkie-think-tilt {
  0%, 100% { transform: scale(1.01) rotate(0deg); }
  50% { transform: scale(1.025) rotate(-1.2deg); }
}

@keyframes parkie-success-pop {
  0% { transform: scale(0.94); }
  55% { transform: scale(1.055); }
  100% { transform: scale(1.01); }
}

/* Mobile mini-assistant: visible, compact and clear of the fixed contact bar. */
@media (max-width: 768px) {
  .parkie-container.parkie-living {
    display: flex !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    left: 14px !important;
    gap: 10px;
    align-items: flex-start !important;
  }

  .parkie-living .parkie-avatar-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 19px;
  }

  .parkie-living .parkie-avatar-wrapper::before,
  .parkie-living .parkie-avatar-img {
    border-radius: 15px;
  }

  .parkie-living .parkie-avatar-img {
    clip-path: inset(0 round 15px);
  }

  .parkie-living .parkie-bubble {
    width: min(340px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    border-radius: 19px;
  }

  .parkie-living .parkie-bubble-header {
    min-height: 56px;
    padding: 11px 44px 10px 14px;
  }

  .parkie-living .parkie-text {
    min-height: 50px;
    padding: 12px 14px 10px;
    font-size: 0.8rem;
  }

  .parkie-quick-actions {
    padding: 0 14px 13px;
  }

  .parkie-quick-action {
    min-height: 32px;
    flex: 1;
    padding-inline: 7px;
  }

  .parkie-state-label {
    bottom: -20px;
    min-width: 44px;
    padding: 3px 7px;
    font-size: 0.56rem;
  }

  .parkie-support-panel {
    max-height: min(260px, 38vh);
    padding: 0 14px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parkie-living .parkie-avatar-wrapper,
  .parkie-living .parkie-avatar-img,
  .parkie-living .parkie-aura-glow,
  .parkie-living .parkie-signal-ring,
  .parkie-living .parkie-status-pulse {
    animation: none !important;
  }
}

/* Tiklanabilir metrik kartlari: hover'da kalkma + sag ustte yon oku ipucu */
.card-clickable {
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.22);
}
.card-clickable::after {
  content: '↗';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.card-clickable:hover::after {
  opacity: 1;
}

/* Kart sayilari yuklenene kadar gri parlayan iskelet blogu */
.metric-card-value.skeleton {
  color: transparent !important;
  background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: pe-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
  min-width: 2.6rem;
  max-width: 4rem;
}
@keyframes pe-shimmer {
  to { background-position: -200% 0; }
}
