/* modern.css - styles ported from src/App.tsx modernStyles */

/* Modern Menu Styling */
.modern-menu {
  --width: 300px;
}

.modern-menu ion-content {
  --background: #f5f5f5;
  color: #2c2c2c;
}

.modern-menu ion-content .modern-menu-item {
  color: inherit;
}

.modern-menu ion-content .modern-menu-item ion-label,
.modern-menu ion-content .modern-menu-item ion-icon {
  color: inherit;
}

.menu-header-section {
  background: #f5f5f5;
  backdrop-filter: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 2rem 1.5rem;
  margin-bottom: 1rem;
}

.menu-header-section h2 {
  color: #2c2c2c;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: none;
}

.menu-header-section .subtitle {
  color: #666666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 300;
}

.menu-list-modern {
  background: transparent;
  padding: 0 0.5rem;
}

.modern-menu-item {
  --background: #efefef;
  --background-hover: #e0e0e0;
  --background-activated: #e0e0e0;
  --color: #2c2c2c;
  --border-radius: 12px;
  --padding-start: 16px;
  --padding-end: 16px;
  --inner-padding-end: 16px;
  margin-bottom: 0.5rem;
  backdrop-filter: none;
  border: 1px solid #e0e0e0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-menu-item:hover {
  transform: translateX(4px) scale(1.02);
  --background: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.modern-menu-item ion-icon {
  color: #666666;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.modern-menu-item ion-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #2c2c2c;
}

/* Page header enhancements */
.modern-header {
  background: #ffffff;
  color: #2c2c2c;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modern-header ion-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2c2c2c;
}

.modern-menu-button {
  color: #2c2c2c;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modern-menu-button:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.modern-header-button {
  color: #2c2c2c;
  border-radius: 8px;
  margin-left: 0.25rem;
}

.modern-header-button:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

/* Content styling */
.modern-content {
  --background: #fafafa;
  color: inherit;
}

/* Floating Action Button */
.modern-fab {
  --background: #606060;
  --background-activated: #505050;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --border-radius: 16px;
  width: 64px;
  height: 64px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-fab:hover {
  transform: scale(1.1);
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Smooth transitions for everything */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove default Ionic styling that might interfere */
.ios .modern-menu-item, .md .modern-menu-item {
  --min-height: auto;
  --padding-top: 12px;
  --padding-bottom: 12px;
}
