/* =====================================================
   BLOG BOTTOM NAVIGATION - BRAND DESIGN
   Poppins Font, Teal #17D2C2, Dark Theme
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =====================================================
   BOTTOM NAVIGATION
   ===================================================== */
.bottom-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1c1c1e;
  border-top: 1px solid #2a2a2c;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.nav-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: none;
  border: none;
  color: #8e8e93;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 64px;
  position: relative;
}

.nav-item:hover {
  color: #17d2c2;
}

.nav-item.active {
  color: #17d2c2;
}

.nav-icon {
  position: relative;
  margin-bottom: 4px;
}

.nav-label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.active-indicator {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(135deg, #12b7ab 0%, #17d2c2 50%, #47e0d2 100%);
  border-radius: 2px;
}

/* =====================================================
   MENU OVERLAY
   ===================================================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1998;
  backdrop-filter: blur(4px);
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* =====================================================
   SLIDE-OUT MENU
   ===================================================== */
.slide-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: #1c1c1e;
  z-index: 1999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding-bottom: 80px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.slide-menu.open {
  right: 0;
}

/* Menu Header */
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid #2a2a2c;
}

.menu-logo {
  height: 32px;
}

.close-menu {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s ease;
}

.close-menu:hover {
  opacity: 0.7;
}

/* Menu User Info */
.menu-user-info {
  padding: 24px 20px;
  border-bottom: 1px solid #2a2a2c;
}

.menu-user-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #12b7ab 0%, #17d2c2 50%, #47e0d2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.menu-user-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.menu-user-role {
  font-size: 14px;
  color: #8e8e93;
  text-transform: capitalize;
}

/* Menu Items */
.menu-items {
  padding: 8px 0;
}

.menu-section-title {
  padding: 16px 20px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  font-size: 15px;
}

.menu-item:hover {
  background: #2a2a2c;
}

.menu-item.active {
  background: rgba(23, 210, 194, 0.1);
  color: #17d2c2;
}

.menu-item svg {
  flex-shrink: 0;
}

/* Menu Footer */
.menu-footer {
  padding: 20px;
  border-top: 1px solid #2a2a2c;
  text-align: center;
}

.menu-version {
  font-size: 12px;
  color: #8e8e93;
}

/* =====================================================
   RESPONSIVE - DESKTOP
   ===================================================== */
@media (min-width: 1024px) {
  .bottom-navigation {
    display: none;
  }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid #17d2c2;
  outline-offset: 2px;
}
