/* css/buttons.css — unified button system for PlaySpaceIQ
   Extends/complements the base .btn classes in styles.css.
   Include on every page: <link rel="stylesheet" href="/css/buttons.css"> */

/* ---- SECONDARY: outlined, subtle ---- */
.btn-secondary {
  background: transparent;
  color: var(--text, #f0fdf4);
  border: 1.5px solid rgba(255,255,255,0.14);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
  color: var(--text, #f0fdf4);
}

/* ---- DANGER: red accent ---- */
.btn-danger {
  background: transparent;
  color: #e74c3c;
  border: 1.5px solid rgba(231,76,60,0.4);
}
.btn-danger:hover {
  background: rgba(231,76,60,0.08);
  border-color: rgba(231,76,60,0.7);
  color: #e74c3c;
}
.btn-danger-fill {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: none;
}
.btn-danger-fill:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ---- ICON-ONLY: square/circle icon button ---- */
.btn-icon {
  padding: 10px;
  border-radius: 50%;
  aspect-ratio: 1;
  justify-content: center;
}
.btn-icon.btn-sm {
  padding: 7px;
}

/* ---- NAV CTA ("Book a Space") ---- */
/* Applied alongside .btn.btn-primary for the nav call-to-action. */
.nav-cta {
  border-radius: 10px !important;
  font-size: 14px !important;
  padding: 9px 16px !important;
  gap: 7px !important;
}

/* ---- Active-page highlight in shared nav ---- */
.nav-links a.nav-active {
  color: #2ecc71;
}
.nav-links a.nav-active::after {
  content: '';
  display: block;
  height: 2px;
  background: #2ecc71;
  border-radius: 1px;
  margin-top: 3px;
}

/* ---- Avatar SVG sizing in nav ---- */
.nav-avatar-btn svg    { width: 22px; height: 22px; display: block; }
.av-dd-avatar-circle svg { width: 28px; height: 28px; display: block; }

/* ---- Responsive: hide desktop nav links, show hamburger ---- */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
}
