/* Base Variables and Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* NAVY & GOLD THEME */
  --bg-color: #0A0F1E;
  --bg-surface: rgba(17, 24, 48, 0.7);
  --bg-surface-hover: rgba(25, 34, 66, 0.8);
  
  --primary-color: #DEB243; /* Vibrant Gold */
  --primary-hover: #F2C94C;
  --primary-glow: rgba(222, 178, 67, 0.25);
  
  --success-color: #34c759;
  --warning-color: #ff9f0a;
  --error-color: #ff453a;
  
  --text-primary: #FFFFFF;
  --text-secondary: #8B95A5;
  --text-tertiary: #515154;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(222, 178, 67, 0.3);
  
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-hover: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --select-bg: rgba(0, 0, 0, 0.8);
  --icon-filter: invert(1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 24px;
  
  --transition-fast: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-normal: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.light-mode {
  /* Light Mode (Navy & Gold kept, but inverted backgrounds) */
  --bg-color: #f5f5f7;
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-hover: rgba(255, 255, 255, 0.95);
  
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #a1a1a6;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(222, 178, 67, 0.4);
  
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-bg-hover: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(0, 0, 0, 0.15);
  --select-bg: rgba(255, 255, 255, 0.9);
  --icon-filter: none;
}

body.theme-girly {
  /* Girly Luxury Theme (Rose Gold & Cream) */
  --bg-color: #fdfbf7;
  --bg-surface: rgba(255, 240, 245, 0.75);
  --bg-surface-hover: rgba(255, 240, 245, 0.95);
  
  --primary-color: #d47a8a; /* Rose Gold / Pink */
  --primary-hover: #b85e6d;
  --primary-glow: rgba(212, 122, 138, 0.25);
  
  --success-color: #d47a8a; /* Pink for checkmarks */
  
  --text-primary: #4a3b3d;
  --text-secondary: #8a7a7c;
  --text-tertiary: #b0a0a2;
  
  --border-color: rgba(212, 122, 138, 0.15);
  --border-gold: rgba(212, 122, 138, 0.4);
  
  --glass-bg: rgba(212, 122, 138, 0.05);
  --glass-bg-hover: rgba(212, 122, 138, 0.1);
  --glass-border: rgba(212, 122, 138, 0.15);
  --select-bg: rgba(255, 240, 245, 0.9);
  --icon-filter: sepia(1) hue-rotate(300deg) saturate(3);
}

body.theme-transitioning, body.theme-transitioning * {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  letter-spacing: -0.01em;
  transition: background-color 0.5s ease;
  overflow-x: hidden;
  position: relative;
}

/* App Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: 280px;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--border-color);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 50;
  overflow-y: auto;
}

.brand {
  padding: 0 1.5rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-item {
  margin-bottom: 0.2rem;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 450;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border-right: 3px solid transparent;
}
.nav-link i {
  width: 22px;
  font-size: 1.15rem;
  margin-right: 0.95rem;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.75;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.nav-link:hover i {
  opacity: 1;
  color: var(--text-primary);
}
.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
  background: rgba(222, 178, 67, 0.05); /* Soft, low-opacity luminous blend with dark navy background */
  border-right: 3px solid var(--primary-color);
}
.nav-link.active i {
  color: var(--primary-color);
  opacity: 1;
}


/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2rem 3rem;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Ambient Liquid Background */
.ambient-background {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(134, 134, 139, 0.05) 0%, transparent 50%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.blob-1 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0) 70%);
  top: -10%; left: -10%;
}

.blob-2 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(134,134,139,0.15) 0%, rgba(134,134,139,0) 70%);
  bottom: -20%; right: -10%;
}

body.light-mode .blob-1 {
  background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0) 70%);
}
body.light-mode .blob-2 {
  background: radial-gradient(circle, rgba(100,150,255,0.1) 0%, rgba(100,150,255,0) 70%);
}

body.theme-girly .blob-1 {
  background: radial-gradient(circle, rgba(212,122,138,0.3) 0%, rgba(212,122,138,0) 70%);
}
body.theme-girly .blob-2 {
  background: radial-gradient(circle, rgba(255,182,193,0.2) 0%, rgba(255,182,193,0) 70%);
}

/* Liquid Glass Panels */
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%), var(--bg-surface);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.light-mode .glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 100%), var(--bg-surface);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

body.theme-girly .glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%), var(--bg-surface);
  box-shadow: 
    0 12px 40px rgba(212, 122, 138, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px rgba(212, 122, 138, 0.05);
}

/* Page Load Animations */
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

main.container {
  animation: fadeSlideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Premium Icon Treatment */
i.fa-solid, i.fa-regular, i.fa-brands {
  opacity: 0.85;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: rgba(222, 178, 67, 0.05);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(222, 178, 67, 0.15);
  overflow: hidden;
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary-color);
  z-index: -1;
  opacity: 0.05;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #fff;
  border-color: #fff;
}
.btn-primary:hover::before {
  opacity: 0.15;
}

.btn-primary:disabled {
  border-color: var(--text-tertiary);
  color: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  letter-spacing: 0.02em;
}

.user-status {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--warning-color);
  box-shadow: 0 0 8px var(--warning-color);
}
.status-dot.active {
  background-color: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
}

/* Utilities */
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* DVIZ Animations */
@keyframes float-breathe {
  0% { transform: translateY(0px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
  50% { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
  100% { transform: translateY(0px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
}

.anti-gravity {
  animation: float-breathe 6s ease-in-out infinite;
}
.anti-gravity-delayed {
  animation: float-breathe 7s ease-in-out 1s infinite;
}

/* ========================================= */
/* MOBILE RESPONSIVE FIXES                   */
/* ========================================= */
@media (max-width: 768px) {
  html { font-size: 95%; }
  body { padding-bottom: 120px !important; }
  input, select, textarea { font-size: 16px !important; }

  .app-container { flex-direction: column; }

  .sidebar {
    position: fixed;
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    max-width: 400px;
    height: 70px;
    flex-direction: row;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 9999;
    background: rgba(11, 16, 30, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .sidebar::-webkit-scrollbar {
    display: none;
  }
  
  .sidebar.shrunk {
    width: 65px;
    height: 50px;
    bottom: 15px;
    padding: 0;
    overflow: hidden;
    opacity: 0.5;
  }
  .sidebar.shrunk:hover, .sidebar.shrunk:active {
    width: 90%;
    height: 70px;
    bottom: 25px;
    padding: 0 10px;
    opacity: 1;
    overflow-x: auto;
  }

  .sidebar .brand {
    display: none !important;
  }
  
  .nav-menu {
      display: flex;
      flex-direction: row;
      width: 100%;
      gap: 0.2rem;
      justify-content: space-between;
    padding: 0;
    margin: 0;
    align-items: center;
    height: 100%;
  }
  
  .nav-item {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-link span { display: none !important; }
    .nav-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  .nav-link i {
    font-size: 1.3rem !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.4) !important;
  }
  .nav-link.active {
    background: var(--primary-color) !important;
    border-right: none !important;
  }
  .nav-link.active i {
    color: #000 !important;
  }

  iframe.main-content { height: 100vh !important; min-height: 100% !important; padding: 0 !important; }
  main.main-content,
  .admin-container {
    height: auto !important;
    min-height: 100vh !important;
    padding: 5.5rem 1rem 140px 1rem !important;
  }

  /* iPhone / iOS Notch & Fixed Header Clearance (Generous clearance on iOS; preserves Android/other phones) */
  @supports (-webkit-touch-callout: none) {
    main.main-content,
    .admin-container {
      padding-top: max(7.5rem, calc(env(safe-area-inset-top, 44px) + 72px)) !important;
      padding-bottom: max(140px, calc(env(safe-area-inset-bottom, 20px) + 120px)) !important;
    }
  }

  html.is-ios main.main-content,
  html.is-ios .admin-container,
  html.is-ios-embedded main.main-content,
  html.is-ios-embedded .admin-container {
    padding-top: max(7.5rem, calc(env(safe-area-inset-top, 44px) + 72px)) !important;
    padding-bottom: max(140px, calc(env(safe-area-inset-bottom, 20px) + 120px)) !important;
  }

  /* 2. Reduce internal paddings */
  .hero-section {
    padding: 1.5rem !important;
  }
  
  .modal-content, .upload-modal-content {
    padding: 1.2rem !important;
    margin: 10px !important;
    width: calc(100% - 20px) !important;
  }

  /* 3. Dashboard header flex-wrap */
  .dashboard-header {
    flex-wrap: wrap !important;
    gap: 1rem !important;
  }

  /* 4. Upcoming Flight Boarding Pass Vertical Layout */
  /* Hide perforated edge and cutouts */
  .upcoming-flight > div[style*="position: absolute"] {
    display: none !important;
  }
  
  /* Target the content container */
  .upcoming-flight > div[style*="display: flex"] {
    flex-direction: column !important;
  }
  
  /* Target the two columns */
  .upcoming-flight > div[style*="display: flex"] > div {
    width: 100% !important;
    padding-left: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
    margin-bottom: 0.5rem;
  }
  
  .upcoming-flight a.btn-primary {
  background-color: rgba(222, 178, 67, 0.05);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(222, 178, 67, 0.15);
  overflow: hidden;
  position: relative;
}
}

/* Privacy Hidden Text for Sensitive Inputs across all themes */
:root {
  --privacy-mask-color: rgba(255, 255, 255, 0.7);
}
body.light-mode {
  --privacy-mask-color: rgba(29, 29, 31, 0.65);
}
body.theme-girly {
  --privacy-mask-color: rgba(74, 59, 61, 0.7);
}

.privacy-hidden {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px var(--privacy-mask-color) !important;
  user-select: none;
  letter-spacing: 2px;
  -webkit-text-security: disc;
}

body.light-mode .privacy-hidden {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px rgba(29, 29, 31, 0.65) !important;
  user-select: none;
  letter-spacing: 2px;
  -webkit-text-security: disc;
}

body.theme-girly .privacy-hidden {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px rgba(74, 59, 61, 0.7) !important;
  user-select: none;
  letter-spacing: 2px;
  -webkit-text-security: disc;
}

/* For date pickers & Shadow DOM */
.privacy-hidden::-webkit-datetime-edit,
.privacy-hidden::-webkit-datetime-edit-fields-wrapper,
.privacy-hidden::-webkit-datetime-edit-text,
.privacy-hidden::-webkit-datetime-edit-month-field,
.privacy-hidden::-webkit-datetime-edit-day-field,
.privacy-hidden::-webkit-datetime-edit-year-field {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px var(--privacy-mask-color) !important;
}

body.light-mode .privacy-hidden::-webkit-datetime-edit,
body.light-mode .privacy-hidden::-webkit-datetime-edit-fields-wrapper,
body.light-mode .privacy-hidden::-webkit-datetime-edit-text,
body.light-mode .privacy-hidden::-webkit-datetime-edit-month-field,
body.light-mode .privacy-hidden::-webkit-datetime-edit-day-field,
body.light-mode .privacy-hidden::-webkit-datetime-edit-year-field {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px rgba(29, 29, 31, 0.65) !important;
}

body.theme-girly .privacy-hidden::-webkit-datetime-edit,
body.theme-girly .privacy-hidden::-webkit-datetime-edit-fields-wrapper,
body.theme-girly .privacy-hidden::-webkit-datetime-edit-text,
body.theme-girly .privacy-hidden::-webkit-datetime-edit-month-field,
body.theme-girly .privacy-hidden::-webkit-datetime-edit-day-field,
body.theme-girly .privacy-hidden::-webkit-datetime-edit-year-field {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 8px rgba(74, 59, 61, 0.7) !important;
}

.privacy-hidden::placeholder {
  color: var(--text-secondary) !important;
  text-shadow: none !important;
  -webkit-text-security: none !important;
}

/* Form input color-scheme for native pickers and dropdowns */
.form-input {
  color-scheme: dark;
}
body.light-mode .form-input,
body.theme-girly .form-input {
  color-scheme: light;
}

select.form-input option {
  background: var(--bg-surface, #1e293b);
  color: var(--text-primary, #ffffff);
}
body.light-mode select.form-input option {
  background: #ffffff;
  color: #1d1d1f;
}
body.theme-girly select.form-input option {
  background: #ffffff;
  color: #4a3b3d;
}
.privacy-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.privacy-wrapper input, .privacy-wrapper select {
  padding-right: 75px !important;
}
.privacy-actions {
  position: absolute;
  right: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
}
.privacy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.privacy-btn:hover {
  color: var(--primary-color);
}

/* Hide all scrollbars globally */
::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
* {
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

/* GLOBAL LOADER */
.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.global-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader-earth {
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.15;
}
.loader-plane {
  position: absolute;
  font-size: 2rem;
  color: var(--primary-color);
  animation: flyAround 1.5s linear infinite;
  filter: drop-shadow(0 0 10px var(--primary-color));
}
@keyframes flyAround {
  0% { transform: rotate(0deg) translateY(-40px) rotate(90deg); }
  100% { transform: rotate(360deg) translateY(-40px) rotate(90deg); }
}

/* Responsive Quick Actions (100% width on all screens) */
.quick-actions {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
}
.quick-actions .action-btn {
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .quick-actions-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.75rem !important;
  }
  .quick-actions {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .quick-actions .action-btn {
    padding: 0.75rem 0.25rem !important;
    border-radius: 12px !important;
    gap: 0.35rem !important;
  }
  .action-icon {
    font-size: 1.2rem !important;
  }
  .action-text {
    font-size: 0.72rem !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }
}
@media (max-width: 400px) {
  .quick-actions {
    gap: 0.35rem !important;
  }
  .quick-actions .action-btn {
    padding: 0.6rem 0.15rem !important;
  }
  .action-icon {
    font-size: 1.05rem !important;
  }
  .action-text {
    font-size: 0.65rem !important;
  }
}
