/* Personal Life Manager - Android Material 3 Web Styles */

/* Android Elevation & Shadows */
.elevation-1 {
  box-shadow: 0 1px 3px 0 rgba(15, 109, 84, 0.08), 0 1px 2px -1px rgba(15, 109, 84, 0.04);
}

.elevation-2 {
  box-shadow: 0 4px 6px -1px rgba(15, 109, 84, 0.1), 0 2px 4px -2px rgba(15, 109, 84, 0.05);
}

.elevation-3 {
  box-shadow: 0 10px 15px -3px rgba(15, 109, 84, 0.12), 0 4px 6px -4px rgba(15, 109, 84, 0.08);
}

/* Material 3 Bottom Navigation active pill */
.m3-nav-pill {
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.m3-nav-pill.active {
  background-color: #A6F2D6;
  color: #002117;
  width: 56px;
  height: 32px;
  border-radius: 16px;
}

.dark .m3-nav-pill.active {
  background-color: #00513E;
  color: #A6F2D6;
}

/* Material Ripple & Click Feedback */
button, .clickable-card {
  transition: transform 0.12s ease, opacity 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

button:active, .clickable-card:active {
  transform: scale(0.97);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(15, 109, 84, 0.2);
  border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(138, 213, 187, 0.2);
}

/* Device Mockup Shell on desktop */
.phone-frame {
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 900px;
  border-radius: 40px;
  box-shadow: 0 25px 60px -15px rgba(15, 109, 84, 0.25), 0 0 0 10px #1E2923, 0 0 0 12px #3B4B42;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .phone-frame {
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

