/* ==========================================================================
   VAM Bike — External Navigation & Mobile Bridge Modal Styles
   ========================================================================== */

.vam-nav-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

@media (min-width: 600px) {
  .vam-nav-modal-backdrop {
    align-items: center;
  }
}

.vam-nav-dialog {
  background: rgba(18, 24, 32, 0.98);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.2), 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .vam-nav-dialog {
    border-radius: 16px;
    padding: 24px;
  }
}

.vam-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vam-nav-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vam-nav-icon {
  font-size: 26px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--neon-cyan);
  border-radius: 10px;
  padding: 6px 10px;
}

.vam-nav-title h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
}

.vam-nav-dest {
  font-size: 12px;
  color: #8b949e;
  margin-top: 2px;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vam-nav-close {
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.vam-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Lista de Aplicaciones */
.vam-nav-apps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.vam-nav-app-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.18s ease;
  min-height: 58px;
}

.vam-nav-app-item:hover, .vam-nav-app-item:active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--neon-cyan);
  transform: translateY(-1px);
}

.app-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-info {
  flex: 1;
}

.app-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.app-desc {
  font-size: 11px;
  color: #8b949e;
  margin-top: 2px;
}

.app-arrow {
  color: var(--neon-cyan);
  font-size: 16px;
  opacity: 0.7;
}

/* Opciones y Footer */
.vam-nav-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vam-nav-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #8b949e;
  cursor: pointer;
}

.vam-nav-checkbox-label input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.vam-nav-copy-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #c9d1d9;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.vam-nav-copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon-cyan);
  color: #fff;
}
