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

/* Google Fonts Import */
@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 */
  
  /* 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: 8rem 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-accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  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-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"],
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;
}


/* 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.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border-light);
}

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

.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;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.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;
}

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

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

/* 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 {
  font-family: var(--font-heading);
  font-weight: 700;
  background-color: #f8fafc;
  border: 1px solid var(--color-border-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  display: inline-block;
  color: var(--color-primary-dark);
}

.col-otopark {
  font-weight: 500;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}

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

.status-badge.status-yeni {
  background: var(--color-status-new-bg);
  color: var(--color-status-new-text);
  border-color: var(--color-status-new-border);
}
.status-badge.status-yeni::before { background: var(--color-status-new-text); }

.status-badge.status-inceleniyor {
  background: var(--color-status-review-bg);
  color: var(--color-status-review-text);
  border-color: var(--color-status-review-border);
}
.status-badge.status-inceleniyor::before { background: var(--color-status-review-text); }

.status-badge.status-onaylandi {
  background: var(--color-status-approved-bg);
  color: var(--color-status-approved-text);
  border-color: var(--color-status-approved-border);
}
.status-badge.status-onaylandi::before { background: var(--color-status-approved-text); }

.status-badge.status-reddedildi {
  background: var(--color-status-rejected-bg);
  color: var(--color-status-rejected-text);
  border-color: var(--color-status-rejected-border);
}
.status-badge.status-reddedildi::before { background: var(--color-status-rejected-text); }

/* 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);
}

/* 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);
  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);
  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);
}

/* ==========================================================================
   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: 6rem 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 {
    width: 100%;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }
  
  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .sidebar-item a {
    white-space: nowrap;
    padding: 0.5rem 1rem;
  }
  
  .sidebar-item.active a {
    border-left: none;
    border-bottom: 3px solid var(--color-accent-orange);
  }
  
  .admin-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .admin-content {
    padding: 1.5rem;
  }
  
  .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); }
}

/* ==========================================================================
   PREMIUM ADMIN TAB SWITCHER & COMPANY CLUSTERING STYLES
   ========================================================================== */
.admin-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.1rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-tab-btn:hover {
  color: var(--color-primary);
}

.admin-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.admin-tab-btn.active {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.admin-tab-btn.active::after {
  transform: scaleX(1);
}

/* Company Grid & Cards */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.company-card {
  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: 1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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.75rem;
}

.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;
}

.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); }

.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); }

.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); }


/* 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: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.otopark-card:hover {
  border-color: rgba(15, 59, 162, 0.25);
  box-shadow: 0 4px 20px -4px rgba(15, 59, 162, 0.1);
  transform: translateY(-2px);
}

/* Card Header — Otopark Name + Category */
.otopark-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(10, 20, 36, 0.03) 0%, rgba(15, 59, 162, 0.04) 100%);
  border-bottom: 1px solid var(--color-border-light);
}

.otopark-card__name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.otopark-card__category {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.otopark-card__category--sanayi {
  background: rgba(15, 59, 162, 0.08);
  color: var(--color-primary-dark);
  border: 1px solid rgba(15, 59, 162, 0.15);
}

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

.otopark-card__category--acik {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Card Body — Info Grid */
.otopark-card__body {
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  flex: 1;
}

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

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

.otopark-card__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.otopark-card__value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.35;
  word-break: break-word;
}

.otopark-card__value--iban {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.otopark-card__value--price {
  font-weight: 700;
  font-size: 0.82rem;
}

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

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

/* Card Footer — Edit Button */
.otopark-card__footer {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.otopark-card__support {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.otopark-card__edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(15, 59, 162, 0.05);
  border: 1px solid rgba(15, 59, 162, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.otopark-card__edit-btn:hover {
  background: rgba(15, 59, 162, 0.12);
  border-color: rgba(15, 59, 162, 0.25);
  box-shadow: 0 2px 8px -2px rgba(15, 59, 162, 0.15);
}

.otopark-card .btn-copy-iban {
  padding: 0.15rem;
}

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

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

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

/* Otopark Status Interactive Badges & Card Inactive Visual State */
.otopark-card__status-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  user-select: none;
}

.otopark-card__status-btn--active {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.25);
}

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

.otopark-card__status-btn--inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.25);
}

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

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

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

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


/* ==========================================================================
   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 0 auto;
  padding: 0 1.5rem;
  animation: slideDownFade 0.6s ease-out forwards;
}

.welcome-banner-container + .hero {
  padding-top: 1.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;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-badge {
  background: linear-gradient(135deg, #ffd000 0%, #ff9f00 100%);
  color: #0c1a30;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 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: flex;
  align-items: center;
  gap: 0.25rem;
  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-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;
    gap: 1rem;
  }
  
  .welcome-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .welcome-cta {
    width: 100%;
    justify-content: center;
  }
  
  .welcome-banner-container {
    margin-top: 1rem;
  }
}






