/* Event Takip - Premium Light Theme Design System with Mobile Responsive Fixes */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-sidebar: #ffffff;
  --border-color: #e2e8f0;
  --border-highlight: rgba(79, 70, 229, 0.25);
  
  --primary-indigo: #4f46e5;
  --primary-indigo-hover: #4338ca;
  --primary-indigo-light: #eef2ff;
  
  --primary-gold: #d97706;
  --primary-gold-light: #fffbeb;
  
  --accent-emerald: #10b981;
  --accent-emerald-light: #ecfdf5;
  
  --accent-rose: #ef4444;
  --accent-rose-light: #fef2f2;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dark: #334155;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --sidebar-width: 260px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --shadow-main: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 10px 25px -3px rgba(15, 23, 42, 0.1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* App Layout */
#app {
  display: flex;
  width: 100vw;
  min-height: 100vh;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #e0e7ff, transparent 50%),
              radial-gradient(circle at bottom left, #fef3c7, transparent 50%),
              #f8fafc;
  padding: 16px;
}

.auth-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-main);
  animation: fadeIn 0.4s ease-out;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-img {
  max-width: 220px;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 13px;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  transition: transform 0.3s ease;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.02);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 35;
}

.sidebar-header {
  padding: 16px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  box-sizing: border-box;
}

.sidebar-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  max-height: 68px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.app-logo-img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.sidebar-brand-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.brand-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
  line-height: 1.35;
  word-break: break-word;
  white-space: normal;
  width: 100%;
  max-width: 100%;
}

.brand-subtext-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.brand-subtext {
  font-size: 10px;
  color: var(--primary-indigo);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-sector-pill {
  font-size: 9.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

.brand-badge {
  font-size: 10px;
  background: var(--primary-indigo-light);
  color: var(--primary-indigo);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

.sector-selector-box {
  padding: 12px 16px;
  background: var(--primary-indigo-light);
  border-bottom: 1px solid var(--border-color);
}

.sector-selector-box select {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-indigo);
  background: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.3);
  padding: 6px 10px;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary-indigo-light);
  color: var(--primary-indigo);
  font-weight: 700;
}

.sidebar-user {
  padding: 14px 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-indigo);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  overflow: hidden;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 11px;
  color: var(--text-muted);
}

.logout-btn {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: #fecaca;
  color: #b91c1c;
}

.mobile-quick-logout-btn {
  display: none;
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-width));
}

.top-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
  margin-right: 8px;
}

.header-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.header-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-body {
  padding: 20px;
  flex: 1;
  padding-bottom: 90px;
}

/* Dashboard Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-main);
}

.stat-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-gold { background: var(--primary-gold-light); color: var(--primary-gold); border: 1px solid rgba(217, 119, 6, 0.2); }
.stat-emerald { background: var(--accent-emerald-light); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.2); }
.stat-blue { background: var(--primary-indigo-light); color: var(--primary-indigo); border: 1px solid rgba(79, 70, 229, 0.2); }
.stat-rose { background: var(--accent-rose-light); color: var(--accent-rose); border: 1px solid rgba(239, 68, 68, 0.2); }

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

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

/* Section Box */
.section-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-main);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sector Badges */
.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.sec-dugun { background: #fef3c7; color: #b45309; }
.sec-foto { background: #e0f2fe; color: #0369a1; }
.sec-event { background: #f3e8ff; color: #7e22ce; }
.sec-org { background: #dcfce7; color: #15803d; }

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 680px; /* Ensures table stays readable on mobile with scroll */
}

.custom-table th {
  background: #f8fafc;
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.custom-table tr:hover {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* Package Types Light Mode */
.pkg-pastali, .pkg-discekim, .pkg-lansman, .pkg-kina { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.pkg-sade, .pkg-hikaye, .pkg-konser, .pkg-nisan { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.pkg-kokteyl, .pkg-klip, .pkg-fuar, .pkg-sunnet { background: #fce7f3; color: #be185d; border: 1px solid #fbcfe8; }
.pkg-yemekli, .pkg-nisanfot, .pkg-bayi, .pkg-dogumgunu { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.pkg-dondurmali, .pkg-sunnetfot, .pkg-gala, .pkg-teklif { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }
.pkg-vip { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }

/* Payment Badges */
.pay-kapora { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.pay-bekliyor { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.pay-tamam { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }

/* Forms & Buttons */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px var(--primary-indigo-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-indigo);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background: var(--primary-indigo-hover);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #f8fafc;
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
}

/* Modals Mobile Optimized */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 12px;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-body {
  padding: 20px;
  flex: 1;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.calendar-day-header {
  text-align: center;
  padding: 6px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
}

.day-short {
  display: none;
}
.day-full {
  display: inline;
}
.calendar-mobile-count {
  display: none;
}
.calendar-day-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2px;
}

.calendar-day-cell {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  min-height: 85px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.calendar-day-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.calendar-day-cell.today {
  border-color: var(--primary-indigo);
  background: var(--primary-indigo-light);
}

.calendar-event-badge {
  font-size: 10px;
  padding: 3px 5px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-weight: 600;
}

/* Bottom Navigation (Android / Mobile) */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 50;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  width: 25%;
  padding: 4px 0;
  cursor: pointer;
}

.bottom-nav-item.active {
  color: var(--primary-indigo);
}

/* Responsive Fixes for Mobile Screens */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 285px;
    z-index: 1050 !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25) !important;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    z-index: 1040 !important;
  }
  .sidebar-overlay.open {
    display: block;
  }
  .sidebar-user {
    padding: 14px 16px !important;
    padding-bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
    background: #ffffff !important;
    border-top: 2px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    margin-top: auto !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05) !important;
  }
  .mobile-quick-logout-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
  .bottom-nav-item {
    width: 20% !important;
    font-size: 9.5px !important;
    padding: 2px 0 !important;
  }
  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .bottom-nav {
    display: flex;
  }
  .content-body {
    padding: 12px;
    padding-bottom: 80px;
  }
  .top-header {
    padding: 0 14px;
  }
  .header-title {
    font-size: 15px;
  }
  .header-actions {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    max-width: 70% !important;
  }
  #license-countdown-badge {
    font-size: 11px !important;
    padding: 2px 8px !important;
    gap: 4px !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #header-quick-add-btn {
    font-size: 11px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }
  .dash-grid {
    grid-template-columns: 1fr !important;
  }
  .events-filter-bar {
    grid-template-columns: 1fr !important;
  }

  /* Equal, perfectly aligned calendar days on mobile */
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }
  .calendar-day-header {
    font-size: 10.5px !important;
    padding: 4px 1px !important;
    text-align: center;
  }
  .day-full { display: none !important; }
  .day-short { display: inline !important; }
  .calendar-day-cell {
    min-height: 54px !important;
    max-height: 54px !important;
    height: 54px !important;
    padding: 3px 4px !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .calendar-events-container {
    display: none !important;
  }
  .calendar-mobile-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: var(--primary-indigo) !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
  .calendar-day-cell.has-events {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
  }
}

/* Finance Views (Desktop vs Mobile) */
.finance-desktop-view {
  display: block;
}
.finance-mobile-cards {
  display: none;
}

@media (max-width: 768px) {
  .finance-desktop-view {
    display: none !important;
  }
  .finance-mobile-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .fin-card-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
}

/* ==========================================================================
   ULTRA-MODERN AI CANLI ASİSTAN FLOATING WIDGET
   ========================================================================== */
/* ==========================================================================
   SADE, MODERN VE KURUMSAL AI ASİSTAN BUTONU
   ========================================================================== */
#ai-assistant-root {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 999999 !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
}

.ai-asistan-btn,
.ai-modern-trigger-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 10px 18px !important;
  border-radius: 24px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.22) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.ai-asistan-btn:hover,
.ai-modern-trigger-btn:hover {
  background: #1e293b !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.32), 0 0 12px rgba(99, 102, 241, 0.2) !important;
}

.ai-asistan-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #818cf8 !important;
}

.ai-asistan-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}

.ai-asistan-status-dot {
  width: 7px !important;
  height: 7px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.ai-sparkle-avatar {
  width: 38px !important;
  height: 38px !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(14, 165, 233, 0.25) 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
}

.ai-sparkle-avatar.small {
  width: 32px !important;
  height: 32px !important;
}

.ai-icon-symbol {
  font-size: 18px !important;
  animation: aiSparklePulse 2s ease-in-out infinite alternate !important;
}

@keyframes aiSparklePulse {
  0% { transform: scale(0.9) rotate(-5deg); opacity: 0.85; }
  100% { transform: scale(1.1) rotate(5deg); opacity: 1; }
}

.ai-btn-text-content {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.ai-btn-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ai-btn-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  color: #ffffff !important;
}

.ai-chip-badge {
  font-size: 9px !important;
  font-weight: 800 !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  letter-spacing: 0.5px !important;
}

.ai-btn-subtitle {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ai-pulse-dot-live {
  width: 7px !important;
  height: 7px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
  animation: aiRadarPing 1.8s infinite !important;
}

@keyframes aiRadarPing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ULTRA MODERN POPUP CHAT WINDOW */
.ai-modern-chat-window {
  position: absolute !important;
  bottom: 65px !important;
  right: 0 !important;
  width: 375px !important;
  max-width: calc(100vw - 32px) !important;
  height: 500px !important;
  max-height: calc(100vh - 100px) !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #cbd5e1 !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-modern-chat-window.active-open,
.ai-mini-popup-window.active-open {
  display: flex !important;
  animation: popupSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-modern-popup-header {
  background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 60%, #312e81 100%) !important;
  padding: 12px 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ai-popup-profile {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ai-popup-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.ai-popup-status {
  font-size: 10px !important;
  color: #a7f3d0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.ai-header-controls {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ai-wa-direct-btn {
  font-size: 11px !important;
  padding: 5px 12px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #25D366 !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  transition: transform 0.2s !important;
}

.ai-wa-direct-btn:hover {
  transform: scale(1.04) !important;
}

.ai-modern-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 20px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.ai-modern-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}

.ai-popup-messages {
  flex: 1 !important;
  padding: 12px !important;
  overflow-y: auto !important;
  background: #f8fafc !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.ai-msg-item {
  display: flex !important;
  width: 100% !important;
}

.ai-msg-item.bot { justify-content: flex-start !important; }
.ai-msg-item.user { justify-content: flex-end !important; }

.ai-msg-bubble {
  max-width: 85% !important;
  padding: 9px 13px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  position: relative !important;
  word-wrap: break-word !important;
}

.ai-msg-item.bot .ai-msg-bubble {
  background: #ffffff !important;
  color: #1e293b !important;
  border-bottom-left-radius: 2px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.ai-msg-item.user .ai-msg-bubble {
  background: var(--primary-indigo) !important;
  color: #ffffff !important;
  border-bottom-right-radius: 2px !important;
}

.ai-msg-time {
  font-size: 9px !important;
  opacity: 0.7 !important;
  text-align: right !important;
  margin-top: 4px !important;
}

.ai-popup-pills-bar {
  padding: 8px 10px !important;
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.ai-pill-action {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.ai-pill-action:hover {
  background: var(--primary-indigo-light) !important;
  color: var(--primary-indigo) !important;
  border-color: var(--primary-indigo) !important;
}

.ai-popup-footer {
  padding: 8px 12px !important;
  background: #ffffff !important;
  border-top: 1px solid var(--border-color) !important;
  display: flex !important;
  gap: 8px !important;
}

.ai-popup-footer input {
  flex: 1 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  outline: none !important;
}

.ai-popup-footer input:focus {
  border-color: var(--primary-indigo) !important;
}

.ai-send-btn {
  background: var(--primary-indigo) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

/* ==========================================================================
   LANDING PAGE & SHOWCASE STYLES
   ========================================================================== */
.landing-container {
  width: 100%;
  min-height: 100vh;
  background-color: #0b0f19;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* NAVBAR */
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
}
.landing-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
/* ==========================================================================
   CLEAN & ELEGANT BRAND LOGO STYLES (NO FAKE BOXES/BORDERS)
   ========================================================================== */
.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.landing-logo-img {
  height: 48px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: transform 0.2s ease;
}

.landing-logo-img:hover {
  transform: scale(1.02);
}

/* Sidebar Clean Logo Styles */
.sidebar-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  max-height: 68px;
  background: #ffffff;
  padding: 4px 8px;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  box-shadow: none;
}

.sidebar-logo-container .app-logo-img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 12px;
}

.auth-logo-badge .auth-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
}

.footer-logo-badge img {
  height: 32px;
  width: auto;
  display: block;
}

.landing-brand-text {
  display: flex;
  flex-direction: column;
}
.landing-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: #eab308;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.landing-nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.landing-nav-link:hover {
  color: #ffffff;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   MODERN & SLEEK BUTTONS: CANLI DEMO & İŞLETME GİRİŞİ
   ========================================================================== */

/* CANLI DEMO BUTTON */
.btn-landing-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.btn-landing-demo:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-demo-icon {
  font-size: 14px;
  color: #38bdf8;
}

/* İŞLETME GİRİŞİ BUTTON */
.btn-landing-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  transition: all 0.25s ease;
}

.btn-landing-login:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-arrow-icon {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.btn-landing-login:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* HERO SECTION */
.landing-hero {
  position: relative;
  padding: 90px 24px 60px 24px;
  text-align: center;
  overflow: hidden;
}
.landing-hero-backdrop {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, rgba(234, 179, 8, 0.08) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.landing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #facc15;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 10px #facc15;
  animation: pulse 1.8s infinite;
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #ffffff;
}
.gold-gradient-text {
  background: linear-gradient(135deg, #fde047 0%, #eab308 50%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 45%, #3b82f6 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 13px 32px;
  border-radius: 34px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(139, 92, 246, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(139, 92, 246, 0.7), 0 0 25px rgba(236, 72, 153, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary-beam {
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: buttonLightBeam 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.btn-hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  padding: 15px 30px;
  border-radius: 34px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(56, 189, 248, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.45), inset 0 0 16px rgba(56, 189, 248, 0.25);
}

/* HERO STATS BAR */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 26px;
  font-weight: 900;
  color: #facc15;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}
.hero-stat-separator {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* LANDING SECTIONS */
.landing-section {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.landing-section.bg-alt {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.landing-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}
.section-badge {
  font-size: 11px;
  font-weight: 800;
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(79, 70, 229, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 12px;
}
.section-headline {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-desc {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.5;
}

/* FEATURES GRID */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

/* SECTORS GRID */
.landing-sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sector-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
}
.sector-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-3px);
}
.sector-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.sector-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.sector-card-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

/* PRICING TRIAL BANNER */
.landing-pricing-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(234, 179, 8, 0.1) 100%);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-free-trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trial-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.trial-text p {
  font-size: 14px;
  color: #cbd5e1;
}
.btn-trial-start {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 14px 30px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s;
}
.btn-trial-start:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   INFINITE PARTNER MARQUEE BANNER
   ========================================================================== */
.landing-marquee-section {
  padding: 40px 0 60px 0;
  background: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.marquee-header-bar {
  max-width: 1240px;
  margin: 0 auto 24px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.marquee-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee-badge {
  font-size: 10px;
  font-weight: 800;
  color: #eab308;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.marquee-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.marquee-subtitle {
  font-size: 13px;
  color: #94a3b8;
}
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #070a12, transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #070a12, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

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

.marquee-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}
.marquee-item-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(234, 179, 8, 0.4);
  transform: translateY(-2px);
}
.partner-icon-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.partner-info {
  display: flex;
  flex-direction: column;
}
.partner-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}
.partner-cat {
  font-size: 11px;
  color: #94a3b8;
}
.partner-badge {
  font-size: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  margin-left: 8px;
}

/* FOOTER */
.landing-footer {
  padding: 30px 24px;
  background: #05070d;
}
.landing-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}
.footer-logo img {
  height: 24px;
  width: auto;
}
.footer-copy {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-wa-link {
  color: #25D366;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   AUTH MODAL OVERLAY STYLES
   ========================================================================== */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out forwards;
}

.auth-modal-wrapper {
  position: relative;
  max-width: 540px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 16px;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-modal-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  color: #64748b !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 30 !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
.auth-modal-close-btn:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
  transform: scale(1.08) !important;
}

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

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (< 768px and < 480px)
   ========================================================================== */
@media (max-width: 768px) {
  .landing-nav-links {
    display: none; /* Hide top links on mobile, actions stay */
  }
  .landing-hero {
    padding: 50px 16px 40px 16px;
  }
  .hero-title {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
  }
  .hero-stat-separator {
    display: none;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .landing-sectors-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pricing-free-trial-banner {
    flex-direction: column;
    text-align: center;
  }
  .btn-trial-start {
    width: 100%;
  }
  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 50px;
  }
  .marquee-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-right {
    flex-direction: column;
    width: 100%;
  }
  .footer-right button {
    width: 100%;
  }

  /* MODAL & TABLE RESPONSIVENESS */
  .auth-modal-wrapper {
    max-height: 96vh;
    padding: 0;
  }
  .auth-card {
    padding: 24px 16px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .modal-dialog {
    width: 95vw !important;
    max-width: 95vw !important;
    margin: 10px auto !important;
    max-height: 94vh !important;
  }
  .modal-content {
    padding: 16px !important;
  }
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .calendar-page, .dashboard-page {
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 27px;
  }
  .hero-cta-group button {
    width: 100%;
  }
  .landing-sectors-grid {
    grid-template-columns: 1fr;
  }
  .btn-landing-demo {
    display: none;
  }
  .landing-brand-name {
    font-size: 17px;
  }
  .btn-landing-login {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* High contrast background for all invoice, receipt & contract logos */
.contract-print-logo,
.receipt-logo-img {
  max-height: 52px;
  max-width: 180px;
  object-fit: contain;
  background: #0d1117 !important;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: inline-block;
}

/* ==========================================================================
   MESLEK KATEGORİSİNE ÖZEL FOTOĞRAF YÜKLEME & LIGHTBOX
   ========================================================================== */
.concept-dropzone {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.concept-dropzone:hover,
.concept-dropzone.dragover {
  border-color: var(--primary-indigo);
  background: var(--primary-indigo-light);
}
.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.concept-photo-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.concept-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.concept-photo-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}
.concept-photo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concept-photo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}
.concept-photo-caption-input {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border-color);
  padding: 6px 8px;
  font-size: 11px;
  outline: none;
  background: #ffffff;
}
.concept-photo-caption-input:focus {
  background: var(--primary-indigo-light);
}

/* Lightbox */
.et-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.et-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.et-lightbox-close:hover {
  background: rgba(239,68,68,0.8);
  transform: scale(1.08);
}
.et-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.et-lightbox-nav:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.08);
}
.et-lightbox-nav.prev { left: 20px; }
.et-lightbox-nav.next { right: 20px; }
.et-lightbox-figure {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.et-lightbox-figure img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.et-lightbox-figure figcaption {
  margin-top: 12px;
  color: #f8fafc;
  font-size: 13px;
  text-align: center;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Toast notifications */
#et-toast-host {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.et-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.25s ease;
}
.et-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.et-toast-success .et-toast-icon { color: #10b981; font-weight: 800; font-size: 15px; }
.et-toast-error .et-toast-icon { color: #ef4444; font-weight: 800; font-size: 15px; }

/* Spinner */
.et-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: etSpin 0.7s linear infinite;
}
@keyframes etSpin {
  to { transform: rotate(360deg); }
}

/* Dijital Kaşe Kartı */
.digital-stamp-box {
  border: 2px dashed #4338ca;
  background: #f5f3ff;
  border-radius: 10px;
  padding: 14px 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 200px;
  max-width: 260px;
  color: #1e1b4b;
  box-shadow: 0 2px 6px rgba(67, 56, 202, 0.08);
}
.digital-stamp-firm {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.digital-stamp-lines {
  font-size: 10px;
  line-height: 1.4;
  color: #3730a3;
  white-space: pre-line;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #ai-assistant-root {
    bottom: 74px !important;
    right: 14px !important;
  }
  .ai-asistan-btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
  }
}

/* ==========================================================
   CONTRACT STUDIO & LIVE A4 PREVIEW STYLES
   ========================================================== */

/* Input with Smart Clear Button */
.input-with-clear {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-clear input,
.input-with-clear textarea {
  width: 100%;
  padding-right: 32px !important;
}

.input-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #475569;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all 0.15s ease;
  z-index: 2;
  user-select: none;
}

.input-clear-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* On desktop: show clear button on wrapper hover if it has value */
.input-with-clear:hover .input-clear-btn.has-value {
  display: inline-flex;
}

/* On mobile / touch: directly show clear button whenever field has value */
@media (max-width: 768px) {
  .input-clear-btn.has-value {
    display: inline-flex !important;
  }
}

/* Contract Studio Navigation Tabs */
.contract-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.contract-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px 10px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.contract-nav-btn:hover {
  color: var(--primary-indigo);
  background: #f8fafc;
}

.contract-nav-btn.active {
  color: var(--primary-indigo);
  background: #ffffff;
  border-color: #e2e8f0;
  border-bottom: 2px solid #ffffff;
  margin-bottom: -6px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.03);
}

/* Contract Studio Main Split Layout */
.contract-studio-grid {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: 20px;
  align-items: start;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1080px) {
  .contract-studio-grid {
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .a4-preview-workspace {
    position: static !important;
    max-width: 100% !important;
  }
}

/* Form Accordion Cards */
.contract-accordion-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all 0.2s ease;
}

.contract-accordion-header {
  padding: 12px 16px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid transparent;
}

.contract-accordion-card.open .contract-accordion-header {
  border-bottom-color: var(--border-color);
  background: #ffffff;
}

.contract-accordion-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract-accordion-body {
  padding: 16px;
  display: none;
}

.contract-accordion-card.open .contract-accordion-body {
  display: block;
}

/* A4 Preview Workspace */
.a4-preview-workspace {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 16px;
  position: sticky;
  top: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}

.a4-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 14px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 8px;
}

.a4-zoom-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
}

.a4-zoom-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  border-radius: 6px;
  cursor: pointer;
}

.a4-zoom-btn:hover {
  background: #e2e8f0;
}

.a4-zoom-btn.active {
  background: #ffffff;
  color: var(--primary-indigo);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Live A4 Sheet (210mm x 297mm proportion) */
.a4-sheet-container {
  overflow-x: auto;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  scrollbar-width: thin;
}

.a4-sheet-preview {
  width: 794px;
  min-height: 1123px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 42px 48px;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  transform-origin: top center;
  transition: transform 0.2s ease;
  position: relative;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .a4-sheet-preview {
    transform: scale(0.72);
    margin-bottom: -320px;
  }
}

@media (max-width: 600px) {
  .a4-sheet-preview {
    transform: scale(0.48);
    margin-bottom: -580px;
  }
}

/* A4 Sheet Content Elements */
.a4-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 16px;
  margin-bottom: 20px;
  gap: 16px;
}

.a4-logo-box {
  max-width: 200px;
  max-height: 65px;
  display: flex;
  align-items: center;
}

.a4-firm-details {
  text-align: right;
  font-size: 11px;
  line-height: 1.45;
  color: #475569;
}

.a4-firm-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.a4-contract-title-bar {
  text-align: center;
  margin: 18px 0 14px 0;
  position: relative;
}

.a4-contract-title {
  font-size: 16px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.a4-contract-meta-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.a4-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 11px;
}

.a4-summary-table th,
.a4-summary-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 10px;
  text-align: left;
}

.a4-summary-table th {
  background: #f8fafc;
  font-weight: 800;
  color: #1e293b;
  width: 22%;
}

.a4-contract-body {
  font-size: 11.5px;
  line-height: 1.65;
  color: #1e293b;
  white-space: pre-wrap;
  margin-bottom: 22px;
  text-align: justify;
}

.a4-payment-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.a4-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}

.a4-signatures-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1.5px solid #cbd5e1;
  padding-top: 20px;
  margin-top: 30px;
  page-break-inside: avoid;
}

.a4-signature-col {
  text-align: center;
}

.a4-signature-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 12px;
}

.a4-stamp-area {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* WhatsApp Modal Styles */
.wa-modal-header {
  background: #075e54;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-preview-bg {
  background: #e5ddd5;
  background-image: radial-gradient(#d3c6b8 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.wa-speech-bubble {
  background: #ffffff;
  border-radius: 10px 10px 10px 2px;
  padding: 14px 16px;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  font-size: 13px;
  line-height: 1.55;
  color: #111b21;
  white-space: pre-wrap;
  position: relative;
}

.wa-meta-time {
  text-align: right;
  font-size: 10px;
  color: #667781;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* Template toolbar pills */
.template-var-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #ddd6fe;
  transition: all 0.15s ease;
  user-select: none;
}

.template-var-pill:hover {
  background: #ddd6fe;
  color: #4c1d95;
  transform: translateY(-1px);
}

@media (max-width: 440px) {
  .hide-on-very-small {
    display: none !important;
  }
}

