/* ==========================================================
   CLIENTE — Estilos del portal de clientes
   ========================================================== */

/* ===== Auth container (login/register centered) ===== */
.auth-container{
  max-width:480px;
  margin:60px auto;
}
.auth-container .card__title{
  font-size:20px;
  text-align:center;
}
.auth-container .card__subtitle{
  text-align:center;
}

/* ===== Auth links ===== */
.auth-links{
  text-align:center;
  margin-top:16px;
  font-size:13px;
  color:var(--muted);
}
.auth-links a{
  color:var(--primary);
  text-decoration:none;
  font-weight:500;
}
.auth-links a:hover{
  text-decoration:underline;
}

/* ===== Auth tabs ===== */
.auth-tabs{
  display:flex;
  border-bottom:2px solid var(--line);
  margin-bottom:18px;
}
.auth-tab{
  flex:1;
  padding:10px 8px;
  text-align:center;
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  background:none;
  border:none;
  border-bottom:2px solid transparent;
  margin-bottom:-2px;
  cursor:pointer;
  transition:color .15s, border-color .15s;
}
.auth-tab:hover{
  color:var(--text);
}
.auth-tab.active{
  color:var(--primary);
  border-bottom-color:var(--primary);
}

.auth-panel{
  display:none;
}
.auth-panel.active{
  display:block;
}

/* ===== OTP input ===== */
.otp-input{
  text-align:center;
  font-size:24px;
  font-weight:700;
  letter-spacing:8px;
  padding:12px;
}

/* ===== Divider ===== */
.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
  color:var(--muted);
  font-size:12px;
  font-weight:500;
}
.auth-divider::before,
.auth-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--line);
}

/* ===== Google button ===== */
.btn-google{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:#fff;
  cursor:pointer;
  font-size:14px;
  font-weight:500;
  color:var(--text);
  transition:background .15s, box-shadow .15s;
}
.btn-google:hover{
  background:#f8fafc;
  box-shadow:var(--shadow-sm);
}
.btn-google svg{
  width:20px;
  height:20px;
  flex-shrink:0;
}

/* ===== Booking cards ===== */
.bookings-list{
  display:grid;
  gap:14px;
}

.booking-card{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.booking-card__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.booking-card__datetime{
  font-weight:700;
  font-size:15px;
}
.booking-card__body{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px 14px;
  font-size:13px;
}
.booking-card__body .muted{
  grid-column:1/-1;
}
.booking-card__actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:8px;
  border-top:1px solid var(--line);
}

/* ===== Section headers ===== */
.section-title{
  font-size:14px;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:10px;
  padding-bottom:6px;
  border-bottom:2px solid var(--line);
}

/* ===== User menu in topbar ===== */
.user-menu{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}
.user-menu__name{
  font-weight:600;
  color:var(--text);
}

/* ===== Empty state ===== */
.empty-state{
  text-align:center;
  padding:40px 20px;
  color:var(--muted);
}
.empty-state__title{
  font-size:16px;
  font-weight:600;
  margin-bottom:6px;
  color:var(--text);
}

/* ===== Responsive ===== */
@media (max-width:860px){
  .auth-container{
    margin:30px auto;
  }
  .booking-card__body{
    grid-template-columns:1fr;
  }
}
