/* =============================================================
   ReservaTuSala — estilos.etips.css
   ============================================================= */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --rts-orange:       #FF9900;
  --rts-orange-dark:  #e68900;
  --rts-orange-light: #FFF8EC;
  --rts-dark:         #1a1a2e;
  --rts-muted:        #6c757d;
  --rts-border:       #ebebeb;
  --rts-bg:           #f8f8f6;
}

/* ── Base ───────────────────────────────────────────────────── */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #333;
}

/* ── Navbar naranja ─────────────────────────────────────────── */
.navbar-rts {
  background: var(--rts-orange) !important;
  border-bottom: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-rts .navbar-toggler {
  border-color: rgba(255,255,255,.5);
}
.navbar-rts .navbar-toggler-icon {
  filter: invert(1);
}
.navbar-rts .navbar-collapse {
  justify-content: flex-end;
}
.nav-link-rts {
  color: rgba(255,255,255,.9) !important;
  font-weight: 500;
  font-size: .95rem;
}
.nav-link-rts:hover {
  color: #fff !important;
}
.btn-rts-primary {
  background: #fff;
  color: var(--rts-dark);
  border: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: .93rem;
  transition: background .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-rts-primary:hover {
  background: #f5f5f5;
  color: var(--rts-dark);
}
.btn-rts-orange {
  background: var(--rts-orange);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: .93rem;
  transition: background .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-rts-orange:hover {
  background: var(--rts-orange-dark);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */
.rts-hero {
  background: linear-gradient(160deg, #fff8ec 0%, #fff 55%);
  padding: 72px 0 60px;
  border-bottom: 1px solid #f0ede8;
}
.rts-hero h1 {
  font-size: 2.65rem;
  font-weight: 900;
  color: var(--rts-dark);
  line-height: 1.2;
}
.rts-hero p.lead {
  font-size: 1.1rem;
  color: var(--rts-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Search Box ─────────────────────────────────────────────── */
.rts-search-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(0,0,0,.10);
  padding: 8px;
  display: flex;
  gap: 0;
  max-width: 720px;
  align-items: center;
}
.rts-search-box select {
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: .97rem;
  color: #333;
  background: transparent;
  flex: 1;
  cursor: pointer;
  min-width: 0;
}
.rts-search-divider {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
  flex-shrink: 0;
  margin-left: 12px;
}
.btn-rts-buscar {
  background: var(--rts-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .15s;
  margin-left: 12px;
}
.btn-rts-buscar:hover {
  background: var(--rts-orange-dark);
}

/* ── Category chips ─────────────────────────────────────────── */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: all .15s;
}
.cat-chip:hover, .cat-chip.active {
  border-color: var(--rts-orange);
  color: var(--rts-orange);
  background: var(--rts-orange-light);
}

/* ── Sala Card (grid, home) ─────────────────────────────────── */
.sala-card {
  border: 1px solid var(--rts-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sala-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.sala-card-img {
  height: 176px;
  background: linear-gradient(135deg, #f5f0ea, #ede8e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.sala-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sala-card-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rts-dark);
  margin: 8px 0 5px;
}
.sala-meta {
  font-size: .85rem;
  color: var(--rts-muted);
}
.sala-precio {
  font-size: .97rem;
  font-weight: 700;
  color: var(--rts-dark);
}

/* ── Sala Card (list, listado) ──────────────────────────────── */
.sala-card-list {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--rts-border);
  display: flex;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}
.sala-card-list:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.sala-card-list-img {
  width: 160px;
  min-height: 140px;
  background: linear-gradient(135deg, #f5f0ea, #ede8e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2rem;
  flex-shrink: 0;
}
.sala-card-list-body {
  padding: 16px;
  flex: 1;
  min-width: 0;
}
.sala-card-list-body h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--rts-dark);
  margin: 7px 0 4px;
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge-tipo {
  background: var(--rts-orange-light);
  color: var(--rts-orange);
  font-size: .73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
}
.badge-dest {
  background: var(--rts-orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
}

/* ── Equip tags ─────────────────────────────────────────────── */
.equip-tag {
  background: #f4f4f4;
  color: #555;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Sidebar filtros ────────────────────────────────────────── */
.rts-sidebar {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--rts-border);
}
.rts-sidebar h6 {
  font-weight: 700;
  color: var(--rts-dark);
  font-size: .9rem;
}
.filter-label {
  font-size: .88rem;
  color: #444;
  cursor: pointer;
}
.filter-section {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ── Ficha sala ─────────────────────────────────────────────── */
.foto-placeholder {
  height: 320px;
  background: linear-gradient(135deg, #f0ebe3, #e8e2d8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #bbb;
}
.foto-placeholder i {
  font-size: 3rem;
}
.rts-info-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--rts-border);
  padding: 24px;
}
.rts-section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rts-muted);
  margin-bottom: 10px;
  display: block;
}
.rts-stat-box {
  text-align: center;
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #fff;
}
.rts-stat-box .num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--rts-dark);
}
.rts-stat-box .lbl {
  font-size: .78rem;
  color: var(--rts-muted);
  margin-top: 2px;
}
.mapa-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #e8f0e8, #deeade);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #888;
}

/* ── Contacto Card ──────────────────────────────────────────── */
.contact-card {
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--rts-border);
  padding: 24px;
}
.contact-card.sticky-top {
  top: 80px;
}
.contact-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rts-dark);
}
.btn-contactar {
  background: var(--rts-orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background .15s;
}
.btn-contactar:hover {
  background: var(--rts-orange-dark);
}
.contact-info {
  display: none;
  background: var(--rts-orange-light);
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
}
.contact-info.visible {
  display: block;
}
.contact-info .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: .92rem;
  color: var(--rts-dark);
}
.contact-info .item i {
  color: var(--rts-orange);
  width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── CTA sections ───────────────────────────────────────────── */
.rts-cta-box {
  background: linear-gradient(135deg, var(--rts-orange) 0%, #ff7700 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.rts-cta-box h2 {
  font-size: 2rem;
  font-weight: 900;
}
.btn-rts-white {
  background: #fff;
  color: var(--rts-orange);
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background .15s;
}
.btn-rts-white:hover {
  background: #fff3dc;
  color: var(--rts-orange-dark);
}

/* ── Pasos numerados ────────────────────────────────────────── */
.step-num {
  width: 38px;
  height: 38px;
  background: var(--rts-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--rts-orange);
}
.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rts-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-line {
  width: 2px;
  height: 36px;
  background: #f0ede8;
  margin: 4px 0 4px 23px;
}

/* ── Benefit cards ──────────────────────────────────────────── */
.benefit-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--rts-border);
  padding: 28px;
  text-align: center;
  height: 100%;
}
.benefit-icon {
  width: 64px;
  height: 64px;
  background: var(--rts-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--rts-orange);
}
.benefit-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rts-dark);
}

/* ── FAQ items ──────────────────────────────────────────────── */
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--rts-border);
  padding: 20px;
}
.faq-item h6 {
  font-weight: 700;
  color: var(--rts-dark);
  margin-bottom: 6px;
}
.faq-item p {
  font-size: .9rem;
  color: var(--rts-muted);
  margin: 0;
}

/* ── Auth pages ─────────────────────────────────────────────── */
.rts-auth-side {
  background: linear-gradient(160deg, var(--rts-dark) 0%, #2c2c50 100%);
  padding: 48px;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.rts-auth-side h2 {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.25;
}
.rts-auth-side h2 span {
  color: var(--rts-orange);
}
.rts-auth-panel {
  background: #fff;
  padding: 40px 36px;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rts-auth-inner {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.rts-auth-tabs .nav-link {
  color: var(--rts-muted);
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.rts-auth-tabs .nav-link.active {
  color: var(--rts-dark);
  border-bottom-color: var(--rts-orange);
  background: none;
}
.rts-auth-tabs {
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 24px;
}
.rts-form-control {
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  padding: 11px 14px;
  font-size: .95rem;
}
.rts-form-control:focus {
  border-color: var(--rts-orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,.12);
  outline: none;
}
.btn-rts-submit {
  background: var(--rts-orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: background .15s;
}
.btn-rts-submit:hover {
  background: var(--rts-orange-dark);
}
.rts-auth-link {
  color: var(--rts-orange);
  text-decoration: none;
  font-weight: 600;
}
.rts-auth-link:hover {
  color: var(--rts-orange-dark);
}

/* ── Auth pages ──────────────────────────────────────────────── */
.page-auth nav.navbar { display:none; }
.auth-wrap { min-height:80vh; display:flex; align-items:center; justify-content:center; padding:48px 16px; background:var(--rts-bg); }
.auth-card { background:#fff; width:100%; max-width:420px; border-radius:16px; overflow:hidden; box-shadow:0 4px 24px rgba(0,0,0,.07); }
.auth-card-logo { background:var(--rts-orange); padding:28px 36px 24px; text-align:center; }
.auth-card-logo img { max-height:25px; width:auto; }
.auth-card-body { padding:32px 36px 36px; }
.auth-card .form-control { border-radius:8px; border:1px solid #e0e0e0; font-size:.95rem; padding:10px 14px; }
.auth-card .form-control:focus { border-color:var(--rts-orange); box-shadow:0 0 0 3px var(--rts-orange-light); }
.auth-card .input-group .form-control:focus { box-shadow:none; }
.auth-card .input-group:focus-within .form-control,
.auth-card .input-group:focus-within .btn-outline-secondary { border-color:var(--rts-orange); }
.auth-card .input-group:focus-within { border-radius:8px; box-shadow:0 0 0 3px var(--rts-orange-light); }
.auth-card .form-label { font-size:.85rem; color:var(--rts-dark); font-weight:600; margin-bottom:4px; }
.auth-card .btn-outline-secondary { border-radius:0 8px 8px 0; border-left:0; border-color:#e0e0e0; }
.auth-card .invalid-feedback { display:block; font-size:.8rem; }
.auth-error { border-radius:8px; border:1px solid #ffc107; padding:10px 14px; font-size:.875rem; color:#664d03; background:#fff3cd; }
.auth-link { color:var(--rts-muted); font-size:.875rem; text-decoration:none; }
.auth-link:hover { color:var(--rts-orange); }

/* ── Footer ─────────────────────────────────────────────────── */
.rts-footer {
  background: var(--rts-dark);
  color: #999;
  padding: 44px 0;
  font-size: .88rem;
}
.rts-footer .brand img {
  filter: brightness(0) invert(1);
}
.rts-footer a {
  color: #999;
  text-decoration: none;
}
.rts-footer a:hover {
  color: #fff;
}
.rts-footer hr {
  border-color: #2e2e45;
}

/* ── Búsqueda bar (listado) ─────────────────────────────────── */
.rts-search-bar {
  background: #fff;
  border-bottom: 1px solid var(--rts-border);
  padding: 12px 0;
}
.rts-search-bar select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .9rem;
  color: #333;
  background: #fff;
}

/* ── Paginación ─────────────────────────────────────────────── */
.pagination .page-link {
  color: var(--rts-orange);
  border-color: var(--rts-border);
}
.pagination .page-item.active .page-link {
  background: var(--rts-orange);
  border-color: var(--rts-orange);
  color: #fff;
}
.pagination .page-link:focus {
  box-shadow: 0 0 0 3px rgba(255,153,0,.15);
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-item a {
  color: var(--rts-orange);
  text-decoration: none;
}
.breadcrumb-item.active {
  color: var(--rts-muted);
}

/* ── Vacío / placeholder ────────────────────────────────────── */
.rts-empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--rts-muted);
}
.rts-empty-state i {
  font-size: 3rem;
  color: #ccc;
  display: block;
  margin-bottom: 16px;
}
