/* Mobile-first: se define primero el layout de teléfono, luego se amplía. */

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  background: var(--color-navy);
  color: #fff;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar .brand { font-weight: 700; letter-spacing: .02em; color: #fff; text-decoration: none; }
.topbar .brand span { color: var(--color-primary); }

.topbar form { margin: 0; }
.topbar button.link-btn {
  background: none; border: none; color: #fff; opacity: .85; font-size: .9rem; cursor: pointer;
}

.main-content { flex: 1; padding: 1rem; max-width: 1100px; width: 100%; margin: 0 auto; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.list-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.list-item:last-child { border-bottom: none; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters select { padding: .45rem; border-radius: var(--radius); border: 1px solid var(--color-border); }

.stack { display: flex; flex-direction: column; gap: .75rem; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }

.guest-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(180deg, var(--color-navy), #171a35);
}

.guest-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .main-content { padding: 1.5rem; }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
