/* Importa fuentes: Montserrat (base) + Great Vibes (marca elegante) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Great+Vibes&display=swap');

/* ===== Reset básico ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fuente base + fondo oscuro premium */
body {
  font-family: 'Montserrat', sans-serif;
  background: #0B0C0E;
  color: #EDEDED;
  min-height: 100vh;
  overflow-y: auto;
}

/* ===== Loader global ===== */
.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11,12,14,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-logo {
  width: 100px;
  height: 100px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* ===== Contenedor principal ===== */
.rv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Card principal ===== */
.rv-main-card {
  background-color: #141518;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  padding: 20px;
  border: 1px solid #272727;
  width: 100%;
}

/* ===== Banner ===== */
.rv-banner-container {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.rv-banner {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Títulos ===== */
.rv-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 24px 0 16px;
  color: #EDEDED;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.rv-section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: -8px 0 20px;
  color: #BFBFBF; /* gris suave */
  letter-spacing: 0.02em;
}

/* ===== Lista de profesionales ===== */
.rv-stylists-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

/* ===== Tarjeta profesional ===== */
.rv-stylist-card {
  flex: 0 0 auto;
  width: 140px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  padding: 14px;
  background-color: #141518;
  border: 2px solid #272727;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.rv-stylist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(201,164,91,0.25);
  background-color: #1E1F24;
  border-color: #C9A45B;
}

.rv-stylist-card.selected {
  background-color: #1E1F24;
  border-color: #C9A45B;
  box-shadow: 0 6px 18px rgba(201,164,91,0.35);
}

/* ===== Foto profesional ===== */
.rv-stylist-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  margin-bottom: 10px;
  border: 3px solid rgba(201,164,91,0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.rv-stylist-card:hover .rv-stylist-photo,
.rv-stylist-card.selected .rv-stylist-photo {
  box-shadow: 0 0 12px rgba(201,164,91,0.35);
  border-color: #C9A45B;
}

/* ===== Nombre profesional ===== */
.rv-stylist-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #EDEDED;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: 0.01em;
}

/* ===== Contenedor de servicios ===== */
.rv-services-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}

/* ===== Tarjeta de servicio ===== */
.rv-service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background-color: #141518;
  border: 1px solid #272727;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.rv-service-card:hover {
  background-color: #1E1F24;
  border-color: #C9A45B;
  box-shadow: 0 4px 12px rgba(201,164,91,0.25);
  transform: translateX(3px);
}

.rv-service-card.selected {
  background-color: #1E1F24;
  border-color: #C9A45B;
  box-shadow: 0 4px 14px rgba(201,164,91,0.35);
}

/* ===== Info del servicio ===== */
.rv-service-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rv-service-name {
  font-size: 1rem;
  font-weight: 600;
  color: #EDEDED;
  letter-spacing: 0.01em;
}

.rv-service-duration {
  font-size: 0.88rem;
  color: #BFBFBF;
  font-weight: 500;
}

/* ===== Precio del servicio ===== */
.rv-service-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #C9A45B;
  white-space: nowrap;
}

/* ===== Mensaje por defecto ===== */
.rv-default-message {
  text-align: center;
  color: #BFBFBF;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 20px;
  font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .rv-container { padding: 16px 12px 32px; }
  .rv-main-card { padding: 16px; }
  .rv-banner { height: 140px; }
  .rv-section-title { font-size: 1.8rem; margin: 20px 0 14px; }
  .rv-section-subtitle { font-size: 1rem; margin: -6px 0 16px; }
  .rv-stylists-list { gap: 12px; }
  .rv-stylist-card { width: 130px; padding: 12px; }
  .rv-stylist-photo { width: 80px; height: 80px; }
  .rv-stylist-name { font-size: 0.9rem; }
  .rv-service-card { padding: 12px 14px; }
  .rv-service-name { font-size: 0.95rem; }
  .rv-service-duration { font-size: 0.85rem; }
  .rv-service-price { font-size: 1rem; }
}

@media (max-width: 640px) {
  .rv-banner { height: 120px; }
  .rv-section-title { font-size: 1.6rem; margin: 18px 0 12px; }
  .rv-section-subtitle { font-size: 0.95rem; }
  .rv-stylists-list { gap: 10px; }
  .rv-stylist-card { width: 120px; padding: 10px; }
  .rv-stylist-photo { width: 75px; height: 75px; }
  .rv-stylist-name { font-size: 0.88rem; }
  .rv-service-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rv-service-price { align-self: flex-end; }
}

@media (max-width: 480px) {
  .rv-container { padding: 12px 10px 28px; }
  .rv-main-card { padding: 14px; border-radius: 12px; }
  .rv-banner { height: 100px; }
  .rv-section-title { font-size: 1.5rem; margin: 16px 0 10px; }
  .rv-section-subtitle { font-size: 0.9rem; }
  .rv-stylist-card { width: 110px; padding: 10px; }
  .rv-stylist-photo { width: 70px; height: 70px; }
  .rv-stylist-name { font-size: 0.85rem; }
  .rv-service-name { font-size: 0.92rem; }
  .rv-service-duration { font-size: 0.82rem; }
  .rv-service-price { font-size: 0.98rem; }
}

/* ===== Notificación de fines de semana ===== */
.rv-weekend-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a1b1f 0%, #2d2e32 100%);
  border: 1px solid #C9A45B;
  border-radius: 12px;
  padding: 16px;
  margin-top: 24px;
  box-shadow: 0 4px 12px rgba(201, 164, 91, 0.15);
}

.rv-notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rv-notice-content {
  flex: 1;
}

.rv-notice-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #C9A45B;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.rv-notice-text {
  font-size: 0.88rem;
  color: #BFBFBF;
  line-height: 1.4;
  margin: 0;
}

.rv-notice-text strong {
  color: #EDEDED;
  font-weight: 600;
}

/* Responsive para la notificación */
@media (max-width: 768px) {
  .rv-weekend-notice {
      padding: 14px;
      margin-top: 20px;
      gap: 10px;
  }
  
  .rv-notice-icon {
      font-size: 1.3rem;
  }
  
  .rv-notice-title {
      font-size: 0.9rem;
  }
  
  .rv-notice-text {
      font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .rv-weekend-notice {
      padding: 12px;
      margin-top: 16px;
      flex-direction: column;
      text-align: center;
      gap: 8px;
  }
  
  .rv-notice-icon {
      font-size: 1.2rem;
  }
}
