/* ===== TOP BAR ===== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,173,173,0.3);
}

.app-title {
  font-weight: 700;
  font-size: 20px;
  color: #ffadad;
}

.menu-btn,
.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #ffadad;
  cursor: pointer;
}

/* ===== DRAWER IZQUIERDO ===== */
.drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: 10px 0 25px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 3500;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,173,173,0.3);
}

.drawer-nav {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.drawer-nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawer-nav a:hover {
  background: rgba(255,243,194,0.42);
  transform: translateX(2px);
}

.drawer-nav a.is-current {
  background: rgba(255,173,173,0.14);
  color: #ff8f8f;
  font-weight: 700;
}

.drawer-nav i {
  margin-right: 0;
  width: 18px;
  text-align: center;
  color: #ffadad;
  flex-shrink: 0;
}

.drawer-feedback {
  margin: auto 20px 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,173,173,0.25);
}

.drawer-feedback-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,243,194,0.78) 0%, rgba(255,255,255,0.96) 100%);
  border: 1px solid rgba(255,173,173,0.28);
  box-shadow: 0 8px 18px rgba(255,173,173,0.12);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.drawer-feedback-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255,173,173,0.16);
}

.drawer-feedback-link i {
  width: 18px;
  text-align: center;
  color: #ffadad;
}

.drawer-feedback-link.is-current {
  background: #ffadad;
  color: #fff;
  border-color: #ffadad;
  box-shadow: 0 10px 22px rgba(255,173,173,0.26);
}

.drawer-feedback-link.is-current i {
  color: #fff;
}

/* ===== OVERLAY ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 3000;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 480px) {
  .top-bar {
    height: 60px;
    padding: 0 15px;
  }

  .drawer {
    width: min(320px, 88vw);
  }

  .drawer-feedback {
    margin: auto 16px 16px;
  }

  .drawer-nav {
    padding: 16px;
  }
}