/* Admin Pages - Using Landing Page Visual Style */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header/Navigation */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-shell-nav {
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(135deg, #4c67d6 0%, #6f57b8 48%, #24375f 100%);
  box-shadow: 0 10px 28px rgba(43, 55, 102, 0.22);
}

.admin-shell-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-shell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-shell-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  flex-shrink: 0;
}

.admin-shell-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-shell-brand-title {
  font-size: 1.05rem;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-shell-brand-meta {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
}

.admin-shell-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-shell-badge {
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-shell-toggler {
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.08);
}

.admin-shell-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.15);
}

.admin-shell-collapse {
  width: 100%;
}

.admin-shell-nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.admin-shell-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-shell-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px !important;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-shell-link i {
  font-size: 0.95rem;
}

.admin-shell-link:hover,
.admin-shell-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 18px rgba(28, 40, 82, 0.18);
}

.admin-shell-dropdown .dropdown-toggle::after {
  margin-left: 0.2rem;
}

.admin-shell-menu {
  border: none;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 28px rgba(24, 31, 56, 0.18);
}

.admin-shell-menu .dropdown-item {
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 500;
}

.admin-shell-menu .dropdown-item.active,
.admin-shell-menu .dropdown-item:active {
  background: rgba(102,126,234,0.12);
  color: #283a78;
}

.admin-shell-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-shell-utility-btn {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.admin-shell-utility-btn:hover,
.admin-shell-utility-btn.active {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
}

.admin-shell-logout {
  min-width: 98px;
}

.navbar-brand {
  color: white !important;
  font-weight: 700;
  font-size: 1.3rem;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}

.navbar .btn-outline-secondary {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: transparent;
}

.navbar .btn-outline-secondary:hover {
  color: #667eea;
  background: white;
  border-color: white;
}

/* Main Content */
main {
  padding: 40px 0 !important;
  flex: 1 0 auto;
}

/* Page Headers */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  color: #222;
  font-weight: 700;
}

h1, .h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

h4, .h4 {
  font-size: 1.8rem;
}

h5, .h5 {
  font-size: 1.3rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  background: white;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-body {
  padding: 24px;
}

.card-title {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.btn-success {
  background: #28a745;
  color: white;
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-2px);
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.9rem;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-sm {
  padding: 8px;
  font-size: 0.9rem;
}

textarea.form-control {
  min-height: 120px;
}

/* Tables */
.table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.table thead th {
  border: none;
  padding: 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 16px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

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

.table tbody tr:hover {
  background: #f8f9fa;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 8px;
  padding: 16px;
}

.alert-danger {
  background: #fee;
  color: #c33;
}

.alert-success {
  background: #efe;
  color: #3c3;
}

.alert-info {
  background: #e7f3ff;
  color: #0066cc;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
}

/* Badges */
.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Item Images */
.item-image-cell {
  width: 80px;
}

.item-image-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.item-preview-img {
  max-height: 120px;
}

/* KDS Table Columns */
.kds-time-col {
  width: 180px;
}

.kds-actor-col {
  width: 120px;
}

/* KDS Order Cards */
.order-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.order-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* QR Codes */
.qr-code-container {
  padding: 20px;
  background: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-header h1 {
  margin-bottom: 0;
}

.page-header h1 i {
  color: #667eea;
}

.page-header-meta {
  flex-shrink: 0;
  padding-top: 4px;
}

/* KDS PIN Card */
.kds-pin-card {
  border-left: 4px solid #667eea;
}

.kds-pin-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.kds-pin-form .pin-input-wrapper {
  min-width: 140px;
}

/* Stat Cards */
.stat-card .card-body {
  position: relative;
  padding: 20px;
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stat-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.stat-card-trend {
  font-size: 0.85rem;
  color: #adb5bd;
}

.stat-card--orders { border-left: 3px solid #667eea; }
.stat-card--revenue { border-left: 3px solid #28a745; }
.stat-card--avg { border-left: 3px solid #d4a017; }
.stat-card--days { border-left: 3px solid #764ba2; }
.stat-card--prep { border-left: 3px solid #0dcaf0; }

.stat-orders {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.stat-revenue {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.stat-avg {
  background: rgba(255, 193, 7, 0.12);
  color: #d4a017;
}

.stat-days {
  background: rgba(118, 75, 162, 0.1);
  color: #764ba2;
}

.stat-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  margin-bottom: 4px;
}

.stat-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.stat-card-sub {
  font-size: 0.8rem;
  color: #999;
  margin-top: 2px;
}

/* Detail Items (Reports) */
.detail-item {
  padding: 14px 16px;
  background: #f8f9fa;
  border-radius: 10px;
  height: 100%;
}

.detail-item-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.detail-item-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

/* Table Label Icon */
.table-label-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Card Header */
.card-header {
  background: transparent;
  border-bottom: 1px solid #eee;
}

/* Empty State */
.empty-state-card .empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.8rem;
  color: #667eea;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid #e0e0e0;
  margin-top: 80px;
}

footer .text-secondary {
  color: #666 !important;
}

/* Utilities */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.text-muted,
.text-secondary {
  color: #666 !important;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  h1, .h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  h2, .h2 {
    font-size: 1.5rem;
  }
  
  h4, .h4 {
    font-size: 1.4rem;
  }
  
  h5, .h5 {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 16px;
  }
  
  main {
    padding: 20px 0 !important;
  }
  
  .table {
    font-size: 0.85rem;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .table td {
    flex: 0 1 auto;
    padding: 0;
    border: none;
  }

  .table td:first-child {
    flex: 1 1 100%;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .table td:nth-child(2) {
    flex: 0 1 auto;
    font-size: 0.75rem;
  }

  .table td code {
    display: block;
    word-break: break-all;
  }

  .table .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  
  .btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .d-flex.gap-2 {
    flex-wrap: wrap;
    gap: 8px !important;
  }
  
  .form-control,
  .form-select {
    padding: 10px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-control-sm {
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 12px !important;
  }
  
  .col-12.col-md-6 {
    margin-bottom: 16px;
  }
  
  .item-image-cell {
    display: none;
  }
  
  footer {
    margin-top: 40px;
  }

  /* Page Header responsive */
  .page-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  /* Stat Cards responsive */
  .stat-card-value {
    font-size: 1.2rem;
  }

  .stat-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .stat-card-trend {
    display: none;
  }

  .report-chart-card .card-body {
    padding: 12px 14px 8px;
  }
}

/* PIN Reset Button */
.btn-reset-pin {
  height: fit-content;
  margin-top: 10px;
}

/* Items Page Styles */
.item-card .card-img-top,
.item-card .item-image-placeholder {
  height: 160px;
  object-fit: cover;
}

.item-card .item-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.item-card .item-image-placeholder i {
  font-size: 2.5rem;
}

.item-card .empty-state-icon {
  font-size: 3rem;
}

.item-card .item-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.border-dashed {
  border-style: dashed !important;
}

/* Item Form Styles */
.item-photo-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
}

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

.item-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  gap: 0.5rem;
}

.item-photo-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .admin-shell-nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .admin-shell-brand-title {
    max-width: 220px;
  }

  .admin-shell-collapse {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.16);
  }

  .admin-shell-nav-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shell-links {
    flex-direction: column;
    gap: 6px;
  }

  .admin-shell-link {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 12px 14px !important;
  }

  .admin-shell-utilities {
    margin-left: 0;
    padding-top: 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shell-utility-btn,
  .admin-shell-logout {
    width: 100%;
  }

  .admin-shell-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    margin-top: 6px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  main {
    padding: 20px 0 !important;
  }
  
  main.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  h1, .h1 {
    font-size: 1.5rem;
  }
  
  h4, .h4 {
    font-size: 1.25rem;
  }
  
  .card-body {
    padding: 16px;
  }
  
  /* Item form mobile layout */
  .item-photo-preview {
    max-width: 200px;
    margin: 0 auto;
  }
  
  /* Items grid on mobile */
  .item-card .card-img-top,
  .item-card .item-image-placeholder {
    height: 120px;
  }
  
  /* Buttons */
  .btn {
    padding: 8px 16px;
  }
  
  .btn-sm {
    padding: 6px 12px;
  }
  
  /* Tables responsive */
  .table-responsive {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  main {
    padding: 16px 0 !important;
  }
  
  .card-header {
    padding: 12px 16px;
  }
  
  /* Stack action buttons vertically */
  .d-flex.gap-2.mt-auto {
    flex-direction: column;
  }
  
  .d-flex.gap-2.mt-auto > * {
    width: 100%;
  }
  
  /* Category filter pills scroll horizontally */
  .category-filter {
    white-space: nowrap;
  }
  
  /* Form inputs larger touch targets */
  .form-control,
  .form-select {
    padding: 10px 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-check-input {
    width: 1.25em;
    height: 1.25em;
  }
}

/* App Footer */
.app-footer {
  margin-top: auto;
  padding: 32px 0 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.app-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.app-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 260px;
}

.app-footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
  letter-spacing: 0.2px;
}

.app-footer-tagline {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.4;
}

.app-footer-social {
  display: flex;
  gap: 12px;
}

.app-footer-social-link {
  color: #6c757d;
  font-size: 1.15rem;
  transition: color 0.2s;
}

.app-footer-social-link:hover {
  color: #667eea;
}

.app-footer-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.app-footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-footer-col-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.app-footer-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.app-footer-link:hover {
  color: #667eea;
}

.app-footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e6ea;
  color: #9aa0a6;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.app-footer-europe {
  font-size: 0.8rem;
}

.app-footer-europe .fi {
  display: inline-block;
  width: 1.333em;
  height: 1em;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .app-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-footer-columns {
    gap: 24px;
  }
  .app-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Advanced Reports: Prep Time stat ─── */
.stat-prep {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}

/* ─── Advanced Reports: Chart container ─── */
.chart-container {
  position: relative;
  width: 100%;
}

/* ─── Period quick-filter buttons ─── */
.period-btn {
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  transition: all 0.15s ease;
}

.period-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: #fff;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* ─── Report chart cards ─── */
.report-chart-card {
  overflow: hidden;
}

.report-chart-card .card-header {
  background: transparent;
  border-bottom: 1px solid #f0f0f0;
}

.report-chart-card .card-header h5 i {
  color: #667eea;
}

.report-chart-card .card-body {
  padding: 16px 20px 12px;
}

.bg-soft-primary {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
}

/* Chart empty states */
.chart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #adb5bd;
}

.chart-empty-state i {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.5;
}

.chart-empty-state p {
  margin: 0;
  font-size: 0.9rem;
}

/* ─── Advanced Reports: Locked Section (Starter plan) ─── */
.advanced-reports-locked {
  position: relative;
}

.locked-overlay-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.locked-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.locked-card {
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(102, 126, 234, 0.03) 8px,
    rgba(102, 126, 234, 0.03) 16px
  );
}

.locked-overlay-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  z-index: 2;
}

.locked-cta-content {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
  max-width: 400px;
}

.locked-cta-content i.bi-lock {
  font-size: 2rem;
  color: #667eea;
  display: block;
  margin-bottom: 12px;
}

.locked-cta-content h5 {
  margin-bottom: 8px;
  color: #222;
}

.locked-cta-content p {
  color: #6c757d;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
