/*
 * Mobile UI Improvements
 * Mobile-first responsive design system
 */

/* Breakpoints (media queries cannot use custom properties): mobile-l 425px, tablet 768px */

/* Mobile Swipe and Selection Styles */

.mobile-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  
  /* Swipe visual feedback */
}

.mobile-card.swiping-right {
    box-shadow: inset 4px 0 0 #48c774;
    background: linear-gradient(90deg, rgba(72, 199, 116, 0.1) 0%, transparent 100%);
  }

.mobile-card.swiping-right::after {
      content: "→ Complete";
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #48c774;
      font-weight: 600;
      font-size: 14px;
      pointer-events: none;
    }

.mobile-card.swiping-left {
    box-shadow: inset -4px 0 0 #3273dc;
    background: linear-gradient(-90deg, rgba(50, 115, 220, 0.1) 0%, transparent 100%);
  }

.mobile-card.swiping-left::after {
      content: "← Select";
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #3273dc;
      font-weight: 600;
      font-size: 14px;
      pointer-events: none;
    }

/* Selection Mode Styles */

.selection-mode .mobile-card.has-checkbox .selection-checkbox {
        display: block !important;
      }

.selection-mode .mobile-card.is-selected {
      background-color: #e8f4f8;
      border-left: 4px solid #3273dc;
      box-shadow: 0 2px 12px rgba(50, 115, 220, 0.15);
    }

/* Checkbox styles are now handled by Tailwind classes in the HTML */

/* Bulk Actions Bar */

.mobile-bulk-actions {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-bottom: 1px solid #dbdbdb;
}

.mobile-bulk-actions .box {
    border-radius: 0;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #dbdbdb;
  }

/* Mobile Gesture Instructions */

#swipe-instructions .content ul {
    list-style-type: none;
    padding-left: 0;
  }

#swipe-instructions .content ul li {
      padding: 4px 0;
    }

#swipe-instructions .content ul li::before {
        content: "👆 ";
        margin-right: 8px;
      }

/* Mobile Dashboard Stat Cards */

.mobile-dashboard-stats .stat-card-link {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }

.mobile-dashboard-stats .stat-card-link:active {
      transform: translateY(1px) scale(0.98);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

/* Mobile Analytics Dashboard */

.mobile-analytics-dashboard .mobile-metric-card {
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1rem;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

@media (max-width: 425px) {

.mobile-analytics-dashboard .mobile-metric-card {
      min-height: 80px;
  }
    }

.mobile-analytics-dashboard .mobile-metric-content {
    padding: 1.25rem;
    position: relative;
    z-index: 2;
  }

@media (max-width: 425px) {

.mobile-analytics-dashboard .mobile-metric-content {
      padding: 1rem;
  }
    }

.mobile-analytics-dashboard .mobile-metric-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
  }

@media (max-width: 425px) {

.mobile-analytics-dashboard .mobile-metric-number {
      font-size: 1.75rem;
  }
    }

.mobile-analytics-dashboard .mobile-metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0;
  }

@media (max-width: 425px) {

.mobile-analytics-dashboard .mobile-metric-label {
      font-size: 0.75rem;
  }
    }

.mobile-analytics-dashboard .mobile-metric-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
  }

@media (max-width: 425px) {

.mobile-analytics-dashboard .mobile-metric-icon {
      font-size: 1.5rem;
      top: 0.75rem;
      right: 0.75rem;
  }
    }

/* Mobile Chart Components */

.mobile-chart-container .mobile-chart-item {
    margin-bottom: 1rem;
  }

.mobile-chart-container .mobile-chart-item:last-child {
      margin-bottom: 0;
    }

.mobile-chart-container .mobile-chart-label {
    font-weight: 600;
    color: #363636;
  }

.mobile-chart-container .mobile-chart-value {
    font-size: 0.875rem;
    color: #4a4a4a;
    font-weight: 500;
  }

.mobile-chart-container .mobile-chart-bar {
    height: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
  }

.mobile-chart-container .mobile-chart-bar.priority-urgent .mobile-chart-progress {
      background-color: #ff3860;
    }

.mobile-chart-container .mobile-chart-bar.priority-high .mobile-chart-progress {
      background-color: #ffdd57;
    }

.mobile-chart-container .mobile-chart-bar.priority-normal .mobile-chart-progress {
      background-color: #48c774;
    }

.mobile-chart-container .mobile-chart-bar.priority-low .mobile-chart-progress {
      background-color: #3273dc;
    }

.mobile-chart-container .mobile-chart-progress {
    height: 100%;
    background-color: #3273dc;
    transition: width 0.3s ease;
    border-radius: 4px;
  }

/* Recent Activity Items */

.mobile-recent-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-recent-item:last-child {
    border-bottom: none;
  }

/* Team Performance Items */

.mobile-team-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-team-item:last-child {
    border-bottom: none;
  }

.mobile-team-item .mobile-progress-bar {
    height: 4px;
    background-color: #f5f5f5;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
  }

.mobile-team-item .mobile-progress {
    height: 100%;
    background-color: #48c774;
    transition: width 0.3s ease;
    border-radius: 2px;
  }

/* Mobile Toast Notifications */

.mobile-toast {
  animation: slideInRight 0.3s ease;
  
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
}

/* Mobile-specific tab styling */

@media (max-width: 768px) {
    .tabs.is-boxed ul {
      justify-content: space-around;
    }
    
    .tabs.is-boxed li a {
      padding: 0.75rem 0.5rem;
    }
      
      .tabs.is-boxed li a .icon {
        margin-right: 0.25rem;
      }
      
      .tabs.is-boxed li a span:not(.icon) {
        font-size: 0.875rem;
      }
}

/* Loading states */

.mobile-analytics-dashboard .is-loading-data {
    position: relative;
  }

.mobile-analytics-dashboard .is-loading-data::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

.mobile-analytics-dashboard .is-loading-data::before {
      content: "⟳";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 2rem;
      animation: spin 1s linear infinite;
      z-index: 11;
    }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile-First Base Styles */

html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch-Friendly Button Sizing */

.button,
.btn,
button,
[type="button"],
[type="submit"],
a.button {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 16px;
}

@media (max-width: 425px) {

.button,
.btn,
button,
[type="button"],
[type="submit"],
a.button {
    min-height: 48px;
    min-width: 48px;
    padding: 14px 18px;
    font-size: 16px; /* Prevent zoom on iOS */
}
  }

/* Mobile-Optimized Form Controls */

@media (max-width: 425px) {

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 44px;
    padding: 12px 16px;
}
  }

/* Mobile Navigation Helpers */

@media (max-width: 768px) {

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

.mobile-only {
  display: none;
}

@media (max-width: 768px) {

.mobile-only {
    display: block;
}
  }

@media (max-width: 768px) {

.mobile-flex {
    display: flex !important;
}
  }

/* Mobile-First Grid System */

.mobile-container {
  padding: 0 16px;
  max-width: 100%;
}

@media (min-width: 768px) {

.mobile-container {
    padding: 0 24px;
}
  }

/* Touch-Friendly Spacing */

@media (max-width: 768px) {
    .mobile-spacing .section {
      padding: 2rem 1rem;
    }
    
    .mobile-spacing .box {
      margin-bottom: 1rem;
      padding: 1rem;
    }
    
    .mobile-spacing .field:not(:last-child) {
      margin-bottom: 1.5rem;
    }
  }

/* Mobile Card Layouts */

@media (max-width: 768px) {

.mobile-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-bottom: 12px;
    background: white;
}
    
    .mobile-card:active {
      transform: translateY(1px);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
  }

/* Bottom Navigation Styles */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  border-top: 1px solid #e8e8e8;
  display: flex;
  z-index: 1000;
}

.bottom-nav .nav-item {
    flex: 1;
    /* Flex items default to min-width: auto, which floors shrinking at the */
    /* content's own (unbroken) width. "Kustannusarviot" has no space to wrap */
    /* at, so without this the whole bar overflowed past the viewport and */
    /* pushed the last item (Lisää) off-screen instead of letting any label */
    /* shrink or wrap. */
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 2px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    min-height: 44px;
  }

.bottom-nav .nav-item:hover, .bottom-nav .nav-item.is-active {
      color: #3273dc;
      background-color: rgba(50, 115, 220, 0.05);
    }

.bottom-nav .nav-item .icon {
      font-size: 20px;
      margin-bottom: 3px;
      flex-shrink: 0;
    }

.bottom-nav .nav-item .label {
      width: 100%;
      text-align: center;
      white-space: normal;
      overflow-wrap: break-word;
      /* Plain break-word splits short words like "Desktop" or "Calendar" */
      /* wherever they stop fitting, with no hyphen shown — reads as a typo */
      /* rather than a wrap. Hyphenation finds a real syllable break first; */
      /* break-word above stays as the fallback for anything it can't hyphenate. */
      hyphens: auto;
      line-height: 1.15;
    }

@media (max-width: 380px) {
  .bottom-nav .nav-item {
    font-size: 11px;
    padding: 8px 1px;
  }

    .bottom-nav .nav-item .icon {
      font-size: 18px;
    }
}

/* Push content up when bottom nav is present */

.has-bottom-nav {
  padding-bottom: 60px;
}

/* Mobile Header Adjustments */

@media (max-width: 768px) {
    .navbar .navbar-brand {
      min-height: 56px;
      padding: 0 16px;
    }
    
    .navbar .navbar-burger {
      height: 56px;
      width: 56px;
      margin-right: 8px;
    }
    
    .navbar .navbar-menu {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      padding: 16px;
    }
    
    .navbar .navbar-item {
      padding: 12px 16px;
      border-radius: 8px;
      margin-bottom: 4px;
    }
      
      .navbar .navbar-item:hover {
        background-color: rgba(0, 0, 0, 0.05);
      }
  }

/* Mobile Table Responsiveness */

@media (max-width: 768px) {
    .table-container .table {
      font-size: 14px;
    }
      
      .table-container .table th, .table-container .table td {
        padding: 8px 12px;
      }
      
      /* Hide less important columns on mobile */
      .table-container .table .mobile-hide {
        display: none;
      }
  }

/* Mobile Modal Adjustments */

@media (max-width: 768px) {
    .modal .modal-card {
      margin: 16px;
      max-height: calc(100vh - 32px);
      width: calc(100vw - 32px);
    }
    
    .modal .modal-card-body {
      max-height: calc(100vh - 140px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

/* Mobile Search Bar */

@media (max-width: 768px) {
        .mobile-search .field.has-addons .control:not(:last-child) {
          flex: 1;
        }
        
        .mobile-search .field.has-addons .control .input {
          border-radius: 24px 0 0 24px;
          padding-left: 20px;
        }
      
      .mobile-search .field.has-addons .button {
        border-radius: 0 24px 24px 0;
        min-width: 52px;
      }
  }

/* Loading States for Mobile */

@media (max-width: 768px) {
    .mobile-loading .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #3273dc;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      animation: spin 1s linear infinite;
      margin: 20px auto;
    }
  }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Quick Action Buttons */

@media (max-width: 768px) {

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
    
    .quick-actions .quick-action {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 16px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
      
      .quick-actions .quick-action:hover {
        color: inherit;
        text-decoration: none;
      }
      
      .quick-actions .quick-action:active {
        transform: translateY(1px);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
      }
      
      .quick-actions .quick-action .icon {
        font-size: 32px;
        color: #3273dc;
        margin-bottom: 8px;
      }
      
      .quick-actions .quick-action .title {
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        margin: 0;
      }
  }

/* Mobile Status Cards */

@media (max-width: 768px) {

.status-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
    
    .status-cards .status-card {
      padding: 16px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      text-align: center;
    }
      
      .status-cards .status-card .number {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 4px;
      }
      
      .status-cards .status-card .label {
        font-size: 12px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }
      
      .status-cards .status-card.is-danger .number { color: #ff3860; }
      .status-cards .status-card.is-warning .number { color: #ffdd57; }
      .status-cards .status-card.is-success .number { color: #23d160; }
      .status-cards .status-card.is-info .number { color: #3273dc; }
  }

/* Utility Classes for Mobile Development */

@media (max-width: 768px) {

.text-mobile-center {
    text-align: center !important;
}
  }

@media (max-width: 768px) {

.margin-mobile-small {
    margin: 8px !important;
}
  }

@media (max-width: 768px) {

.padding-mobile-small {
    padding: 8px !important;
}
  }

@media (max-width: 768px) {

.full-width-mobile {
    width: 100% !important;
}
  }

/* Swipe Gesture Enhancements */

/* Swipe instruction overlay */

.swipe-instruction-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.swipe-instruction-overlay.visible {
    opacity: 1;
  }

@media (min-width: 768px) {

.swipe-instruction-overlay {
    display: none;
}
  }

.swipe-instruction-content {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUpFade 0.4s ease;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swipe-instruction-icon {
  font-size: 48px;
  color: #3273dc;
  margin-bottom: 16px;
  animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
}

.swipe-instruction-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.swipe-instruction-text {
  font-size: 15px;
  color: #5a6c7d;
  margin-bottom: 24px;
  line-height: 1.5;
}

.swipe-instruction-text strong {
    color: #3273dc;
    font-weight: 600;
  }

.swipe-instruction-button {
  background: #3273dc;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.swipe-instruction-button:hover {
    background: #2563c9;
  }

.swipe-instruction-button:active {
    transform: scale(0.98);
  }

/* Enhanced swipe feedback for cards */

.mobile-card {
  position: relative;
  overflow: hidden;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;

  /* Subtle gradient hint on the left edge */
}

.mobile-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to right, rgba(50, 115, 220, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

/* Show hint when not in selection mode */

.mobile-card:not(.has-checkbox)::before {
    opacity: 0.5;
  }

/* Enhanced visual feedback when swiping */

.mobile-card.swiping-left {
    background: linear-gradient(to left, rgba(50, 115, 220, 0.1), transparent 50%);
    box-shadow: -4px 0 12px rgba(50, 115, 220, 0.3);
  }

.mobile-card.swiping-left::before {
      opacity: 1;
      width: 8px;
      background: linear-gradient(to right, rgba(50, 115, 220, 0.6), transparent);
    }

/* Smooth transition when returning to position */

.mobile-card.returning {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

/* Selection mode visual enhancements */

.mobile-card.is-selected {
  background: rgba(50, 115, 220, 0.08);
  border-color: #3273dc;
  box-shadow: 0 2px 8px rgba(50, 115, 220, 0.2);
  transform: scale(0.99);
  transition: all 0.2s ease;
}

.mobile-card.has-checkbox {
  padding-left: 12px;
  transition: padding-left 0.3s ease;
}

/* Mobile Slide-up Menu */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

.mobile-menu-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 9999;
  max-height: 80vh;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-panel.open {
    transform: translateY(0);
  }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.mobile-menu-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
  }

.mobile-menu-close {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
    background: #f3f4f6;
  }

.mobile-menu-close:active {
    transform: scale(0.95);
  }

.mobile-menu-content {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 20px;
  -webkit-overflow-scrolling: touch;
  display: block;
  width: 100%;
}

.mobile-menu-item a, .mobile-menu-item .mobile-menu-logout {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
  }

.mobile-menu-item a i,
  .mobile-menu-item .mobile-menu-logout i {
    width: 24px;
    margin-right: 16px;
    color: #6b7280;
    font-size: 18px;
  }

.mobile-menu-item a span,
  .mobile-menu-item .mobile-menu-logout span {
    flex: 1;
    font-weight: 500;
  }

.mobile-menu-item a:hover,
  .mobile-menu-item .mobile-menu-logout:hover {
    background: #f9fafb;
  }

.mobile-menu-item a:active,
  .mobile-menu-item .mobile-menu-logout:active {
    background: #f3f4f6;
  }

.mobile-menu-item .mobile-menu-logout {
    color: #dc2626;
  }

.mobile-menu-item .mobile-menu-logout i {
      color: #dc2626;
    }

.mobile-menu-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

/* Accordion Section Styles */

.mobile-menu-section {
  margin: 4px 0;
}

.mobile-menu-section.expanded .mobile-menu-section-content {
      max-height: 500px;
      opacity: 1;
      padding: 8px 0;
    }

.mobile-menu-section-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-section-trigger:hover {
    background: #f9fafb;
  }

.mobile-menu-section-trigger:active {
    background: #f3f4f6;
  }

.mobile-menu-section-title {
  display: flex;
  align-items: center;
  color: #374151;
  font-weight: 500;
  font-size: 16px;
}

.mobile-menu-section-title i {
    width: 24px;
    margin-right: 16px;
    color: #6b7280;
    font-size: 18px;
  }

.mobile-menu-section-trigger .chevron {
  color: #9ca3af;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.mobile-menu-section-trigger .chevron.rotated {
    transform: rotate(180deg);
  }

.mobile-menu-section-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  background: #f9fafb;
}

.mobile-menu-section-content a {
    display: block;
    padding: 12px 20px 12px 60px;
    color: #6b7280;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
  }

.mobile-menu-section-content a:hover {
      background: #f3f4f6;
      color: #374151;
      padding-left: 64px;
    }

.mobile-menu-section-content a:active {
      background: #e5e7eb;
    }

.mobile-menu-section-content .mobile-menu-divider {
    margin: 4px 20px 4px 60px;
  }