/* Enhanced Mobile-First Design for FanToPark CRM */

/* Base mobile styles */
@media (max-width: 768px) {
  /* ===== MOBILE FIRST BASE STYLES ===== */
  html, body {
    overflow-x: hidden !important;
    touch-action: pan-y !important;
    -webkit-text-size-adjust: 100%;
    font-size: 16px; /* Prevent zoom on input focus */
  }

  /* ===== FORM MODAL FIXES ===== */
  /* Ensure all form modals appear above header */
  .fixed.inset-0.z-50,
  .fixed.inset-0.z-40,
  [class*="z-50"],
  [class*="z-40"] {
    z-index: 9998 !important;
  }

  /* Fix close button positioning for all modals */
  .absolute.top-4.right-4,
  .absolute.top-3.right-3,
  .absolute.top-2.right-2,
  button[aria-label="Close"] {
    z-index: 10000 !important;
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    background: rgba(0,0,0,0.1) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Fix form modal content scrolling */
  .fixed.inset-0 > .bg-white,
  .fixed.inset-0 .bg-white.rounded-lg,
  .modal-content,
  .form-modal {
    max-height: 95vh !important;
    overflow-y: auto !important;
    margin-top: 2.5vh !important;
    margin-bottom: 2.5vh !important;
  }

  /* Ensure form content is scrollable */
  .space-y-4,
  .space-y-6,
  .form-container,
  .modal-form {
    max-height: calc(95vh - 120px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* ===== BOTTOM TAB NAVIGATION ===== */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: white !important;
    border-top: 1px solid #e5e7eb !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    padding-bottom: env(safe-area-inset-bottom) !important; /* iOS safe area */
  }

  .dark .mobile-bottom-nav {
    background: #1f2937 !important;
    border-top-color: #374151 !important;
  }

  .mobile-nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    position: relative !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-nav-item.active {
    color: #3b82f6 !important;
    background-color: #eff6ff !important;
    border-radius: 8px !important;
  }
  
  .dark .mobile-nav-item.active {
    background-color: #1e3a8a !important;
    color: #60a5fa !important;
  }

  .mobile-nav-item.active::before {
    content: '' !important;
    position: absolute !important;
    top: -1px !important;
    left: 20% !important;
    right: 20% !important;
    height: 3px !important;
    background: #3b82f6 !important;
    border-radius: 0 0 3px 3px !important;
  }

  .mobile-nav-icon {
    font-size: 24px !important;
    margin-bottom: 4px !important;
  }

  .mobile-nav-label {
    font-size: 11px !important;
    font-weight: 500 !important;
  }

  /* ===== MOBILE TOP HEADER - FIXED ===== */
  .mobile-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important;
    background: white !important;
    border-bottom: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    z-index: 999 !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .dark .mobile-header {
    background: #1f2937 !important;
    border-bottom-color: #374151 !important;
  }
  
  /* Fix the title specifically - UPDATED */
  .mobile-header-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    flex: 1 !important;
    text-align: center !important;
    /* Force vertical centering */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    color: #111827 !important;
    /* Ensure no vertical displacement */
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }
  
  /* Ensure the icon and text inside are also centered */
  .mobile-header-title > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
  }

  /* Ensure icon doesn't break alignment */
  .mobile-header-title svg {
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Reset any h1 defaults that might affect alignment */
  .mobile-header h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Ensure all header children are vertically centered */
  .mobile-header > * {
    display: flex !important;
    align-items: center !important;
  }

  /* Remove conflicting styles from dashboard */
  #dashboard-content > div:first-child,
  .mobile-main-content > div > div:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Ensure cards start at the right position */
  .grid.grid-cols-2.gap-3.mb-6 {
    margin-top: 0 !important;
  }

  .mobile-header-action {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: background 0.2s !important;
  }

  .mobile-header-action:active {
    background: #f3f4f6 !important;
  }

  /* ===== MAIN CONTENT AREA - FIXED ===== */
  .mobile-main-content {
    position: fixed !important;
    top: 56px !important; /* Must match header height exactly */
    left: 0 !important;
    right: 0 !important;
    bottom: 60px !important; /* Match bottom nav height */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    background: #f9fafb !important;
    padding-top: 0 !important; /* Remove any extra padding */
    z-index: 1 !important; /* Below header and nav */
  }

  .dark .mobile-main-content {
    background: #111827 !important;
  }

  /* Add padding to account for fixed elements */
  .mobile-content-wrapper {
    padding: 16px !important;
    padding-bottom: 20px !important;
    min-height: 100% !important;
    padding-top: 16px !important; /* Consistent top padding */
  }

  /* ===== ENHANCED CARD DESIGN ===== */
  .mobile-card {
    background: white !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    padding: 16px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.2s, background-color 0.2s !important;
    position: relative !important;
    overflow: hidden !important;
    touch-action: manipulation !important;
  }

  .dark .mobile-card {
    background: #1f2937 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  }

  .mobile-card:active {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    background: rgba(0,0,0,0.02) !important;
  }
  
  .dark .mobile-card:active {
    background: rgba(255,255,255,0.05) !important;
  }

  /* Swipe hint indicator */
  .mobile-card.swipeable::after {
    content: '⟨' !important;
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #d1d5db !important;
    font-size: 20px !important;
  }

  /* ===== MOBILE LIST STYLES ===== */
  .mobile-list-item {
    padding: 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .dark .mobile-list-item {
    border-bottom-color: #374151 !important;
  }

  .mobile-list-item:active {
    background: #f9fafb !important;
  }

  .dark .mobile-list-item:active {
    background: #374151 !important;
  }

  .mobile-list-item:last-child {
    border-bottom: none !important;
  }

  /* ===== MOBILE FORM ENHANCEMENTS ===== */
  .mobile-input {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important; /* Prevent zoom */
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #f9fafb !important;
    transition: all 0.2s !important;
    -webkit-appearance: none !important;
    margin-bottom: 16px !important;
  }

  .dark .mobile-input {
    background: #374151 !important;
    border-color: #4b5563 !important;
    color: white !important;
  }

  .mobile-input:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  }

  .dark .mobile-input:focus {
    background: #1f2937 !important;
  }

  /* Large touch targets for buttons */
  .mobile-button {
    min-height: 48px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none !important;
  }

  .mobile-button-primary {
    background: #3b82f6 !important;
    color: white !important;
  }

  .mobile-button-primary:active {
    background: #2563eb !important;
    transform: scale(0.98) !important;
  }

  .mobile-button-secondary {
    background: #f3f4f6 !important;
    color: #374151 !important;
  }

  .dark .mobile-button-secondary {
    background: #374151 !important;
    color: #f3f4f6 !important;
  }

  /* ===== MOBILE MODAL IMPROVEMENTS ===== */
  .mobile-modal,
  .modal,
  .fixed.inset-0.bg-black.bg-opacity-50 {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .mobile-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-modal-content,
  .bg-white.rounded-lg.shadow-xl,
  .modal-content {
    position: relative !important;
    background: white !important;
    width: 100% !important;
    max-height: 90vh !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: slideUp 0.3s ease-out !important;
    z-index: 9999 !important;
  }

  .dark .mobile-modal-content {
    background: #1f2937 !important;
  }

  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .mobile-modal-handle {
    width: 40px !important;
    height: 4px !important;
    background: #d1d5db !important;
    border-radius: 2px !important;
    margin: 12px auto 8px !important;
  }

  .mobile-modal-header {
    padding: 16px 20px !important;
    padding-top: 24px !important; /* Extra space for close button */
    border-bottom: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  
  /* Fix close button positioning */
  .mobile-modal-header .close-button,
  .mobile-modal-header button[aria-label="Close"],
  .mobile-modal-header button:last-child {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.05) !important;
    border-radius: 50% !important;
  }

  .dark .mobile-modal-header {
    border-bottom-color: #374151 !important;
  }

  .mobile-modal-body,
  .modal-body,
  .overflow-y-auto {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    max-height: calc(90vh - 120px) !important;
  }

  /* ===== FLOATING ACTION BUTTON ===== */
  .mobile-fab,
  button.mobile-fab,
  .mobile-only.mobile-fab {
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    background: #3b82f6 !important;
    color: white !important;
    border-radius: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
    z-index: 9999 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

  .mobile-fab:active,
  button.mobile-fab:active,
  .mobile-only.mobile-fab:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
  }

  .mobile-fab-icon {
    font-size: 24px !important;
  }

  /* ===== MOBILE DATA DISPLAY ===== */
  .mobile-data-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
  }

  .dark .mobile-data-row {
    border-bottom-color: #374151 !important;
  }

  .mobile-data-row:last-child {
    border-bottom: none !important;
  }

  .mobile-data-label {
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .mobile-data-value {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: right !important;
    max-width: 60% !important;
    word-break: break-word !important;
  }

  .dark .mobile-data-value {
    color: #f3f4f6 !important;
  }

  /* ===== MOBILE SEARCH BAR ===== */
  .mobile-search-bar {
    position: sticky !important;
    top: 0 !important;
    background: white !important;
    padding: 12px 16px !important;
    z-index: 100 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .dark .mobile-search-bar {
    background: #1f2937 !important;
    border-bottom-color: #374151 !important;
  }

  .mobile-search-input {
    width: 100% !important;
    padding: 10px 16px 10px 40px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    font-size: 16px !important;
    background: #f9fafb !important;
    transition: all 0.2s !important;
  }

  .dark .mobile-search-input {
    background: #374151 !important;
    border-color: #4b5563 !important;
    color: white !important;
  }

  .mobile-search-icon {
    position: absolute !important;
    left: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6b7280 !important;
    font-size: 20px !important;
  }

  /* ===== MOBILE STATUS BADGES ===== */
  .mobile-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  /* ===== PULL TO REFRESH ===== */
  .pull-to-refresh {
    position: absolute !important;
    top: -60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s !important;
  }

  .pull-to-refresh.active {
    transform: translateX(-50%) translateY(80px) !important;
  }

  .pull-to-refresh-spinner {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #e5e7eb !important;
    border-top-color: #3b82f6 !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
  }

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

  /* ===== MOBILE EMPTY STATES ===== */
  .mobile-empty-state {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }

  .mobile-empty-icon {
    font-size: 64px !important;
    color: #d1d5db !important;
    margin-bottom: 16px !important;
  }

  .mobile-empty-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
  }

  .dark .mobile-empty-title {
    color: #f3f4f6 !important;
  }

  .mobile-empty-text {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-bottom: 24px !important;
  }

  /* ===== MOBILE ACTION BUTTONS ===== */
  .action-button {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    min-height: 36px !important;
  }

  .action-button:active {
    transform: scale(0.95) !important;
  }

  /* ===== MOBILE PAGINATION ===== */
  .mobile-content-wrapper.pb-20 {
    padding-bottom: 80px !important; /* Space for pagination bar */
  }

  /* Adjust for pagination + bottom nav */
  .has-pagination {
    padding-bottom: 140px !important; /* 60px nav + 80px pagination */
  }

  /* ===== HIDE DESKTOP ELEMENTS ===== */
  .desktop-only,
  .w-64.bg-white, /* Desktop sidebar */
  .sidebar,
  .bg-gray-900.text-white.py-2, /* Tickers */
  .bg-red-600.text-white.py-1,
  [class*="ticker"] {
    display: none !important;
  }

  /* ===== RESPONSIVE TABLES ===== */
  .mobile-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 -16px !important;
    padding: 0 16px !important;
  }

  table {
    min-width: 600px !important;
  }

  /* ===== TOUCH FEEDBACK ===== */
  .touchable {
    position: relative !important;
    overflow: hidden !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .touchable::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.05) !important;
    opacity: 0 !important;
    transition: opacity 0.2s !important;
  }

  .touchable:active::after {
    opacity: 1 !important;
  }

  /* ===== MOBILE SPECIFIC UTILITIES ===== */
  .mobile-only {
    display: block !important;
  }

  .mobile-hidden {
    display: none !important;
  }

  /* Prevent text selection on interactive elements */
  .mobile-nav-item,
  .mobile-button,
  .mobile-list-item,
  .mobile-card {
    -webkit-user-select: none !important;
    user-select: none !important;
  }

  /* Smooth scrolling */
  .mobile-main-content {
    scroll-behavior: smooth !important;
  }

  /* Better scroll performance */
  .mobile-main-content > * {
    will-change: transform !important;
  }

  /* ===== PROPER Z-INDEX HIERARCHY ===== */
  .mobile-header {
    z-index: 1100 !important; /* Above content and bottom nav */
  }
  
  .mobile-bottom-nav {
    z-index: 1000 !important; /* Above content but below header */
  }
  
  .mobile-main-content {
    z-index: 1 !important; /* Base level */
  }

  /* ===== FIX DESKTOP CONTAINER CONFLICTS ===== */
  /* Override the desktop content container styles for mobile */
  .flex-1.overflow-auto {
    position: static !important;
    top: auto !important;
    height: auto !important;
    padding-top: 0 !important;
  }
  
  /* Ensure proper content spacing in mobile view */
  .mobile-main-content > div:first-child {
    padding-top: 0 !important;
  }
  
  /* Fix any content that's being pushed down */
  .mobile-content-wrapper {
    padding-top: 16px !important;
  }

  /* Force mobile elements to show */
  .mobile-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .mobile-bottom-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .mobile-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Desktop styles - keep existing functionality */
@media (min-width: 1024px) {
  .mobile-only,
  .mobile-bottom-nav,
  .mobile-header,
  .mobile-fab {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Show mobile layout for tablets */
  .mobile-only,
  .mobile-bottom-nav,
  .mobile-header,
  .mobile-fab {
    display: block !important;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .mobile-bottom-nav {
    height: 50px !important;
  }

  .mobile-main-content {
    bottom: 50px !important;
  }

  .mobile-modal-content {
    max-height: 80vh !important;
  }
}

/* Desktop content in mobile wrapper */
@media (max-width: 768px) {
  .mobile-content-wrapper > div {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  /* Fix tables in mobile */
  .mobile-content-wrapper table {
    font-size: 12px !important;
    min-width: 100% !important;
  }

  .mobile-content-wrapper th,
  .mobile-content-wrapper td {
    padding: 0.5rem !important;
    white-space: nowrap !important;
  }

  /* Make forms mobile-friendly */
  .mobile-content-wrapper form {
    max-width: 100% !important;
  }

  .mobile-content-wrapper input,
  .mobile-content-wrapper select,
  .mobile-content-wrapper textarea {
    width: 100% !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }

  /* Fix cards and containers */
  .mobile-content-wrapper .bg-white,
  .mobile-content-wrapper .rounded-lg {
    margin: 0.5rem 0 !important;
  }

  /* Adjust padding for desktop content */
  .mobile-content-wrapper .p-6 {
    padding: 1rem !important;
  }

  .mobile-content-wrapper .p-4 {
    padding: 0.75rem !important;
  }

  /* Make buttons touch-friendly */
  .mobile-content-wrapper button {
    min-height: 44px !important;
    min-width: 44px !important;
  }

  @media (max-width: 768px) {
  /* Push content down to account for fixed header */
  .mobile-main-content {
    position: fixed !important;
    top: 56px !important; /* Start below header */
    left: 0 !important;
    right: 0 !important;
    bottom: 60px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #f9fafb !important;
  }
  
  /* If mobile-main-content isn't wrapping your content, use this */
  body > div:first-child,
  #root > div:first-child,
  #app > div:first-child,
  .min-h-screen {
    padding-top: 56px !important;
  }
  
  /* Specifically target the dashboard container */
  .min-h-screen.bg-gray-50 {
    padding-top: 56px !important;
  }
}

/* Logo Loader Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.95);
  }
}
}
