/* agenda.css */

/* Fuentes premium */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:ital,wght@0,400;0,700&display=swap');

/* Paleta Magenta */
:root {
  --bg-gradient: linear-gradient(180deg, #F3E3EC 0%, #FFFFFF 100%);
  --text-dark: #000000;
  --text-muted: #555555;
  --card-bg: #FFFFFF;
  --accent: #E03B8B;
  --accent-dark: #c62e74;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fondo global */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  overflow-y: auto;
}

/* Contenedor principal */
.rv-container {
  min-height: 100vh;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card principal */
.rv-main-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 6px 15px var(--shadow);
  padding: 30px 25px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Banner */
.rv-banner-container {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.rv-banner {
  width: 100%;
  height: 220px;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
}

/* Títulos */
.rv-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin: 20px auto 10px;
  color: var(--text-dark);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .rv-section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .rv-section-title {
    font-size: 1.3rem;
  }
}

.rv-section-subtitle {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* Contenedor de profesionales */
.rv-stylists-container {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  justify-items: center;
}

/* Card profesional */
.rv-stylist-card {
  width: 180px;
  max-width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 14px;
  padding: 12px;
  transition: all 0.3s ease;
  background-color: var(--card-bg);
  border: 1px solid var(--accent);
}

.rv-stylist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
  border-color: var(--text-dark);
}

/* Foto profesional */
.rv-stylist-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  margin-bottom: 10px;
  border: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.rv-stylist-card:hover .rv-stylist-photo {
  border-color: var(--text-dark);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* Nombre profesional */
.rv-stylist-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Mensaje por defecto */
.rv-default-message {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 40px 20px;
}

/* Selección activa */
.selected {
  box-shadow: 0 0 12px 3px var(--accent);
  border-radius: 14px;
  background-color: #FFF9F9;
}

/* Responsive */
@media (max-width: 768px) {
  .rv-banner {
    height: 180px;
  }

  .rv-stylist-photo {
    width: 80px;
    height: 80px;
  }

  .rv-stylist-name {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rv-stylists-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .rv-stylist-card {
    width: 100px;
  }

  .rv-stylist-photo {
    width: 60px;
    height: 60px;
  }

  .rv-stylist-name {
    font-size: 0.9rem;
  }
}

/* Animaciones */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes highlight {
  0% {
    box-shadow: 0 0 0px var(--accent);
  }

  50% {
    box-shadow: 0 0 20px var(--accent);
  }

  100% {
    box-shadow: 0 0 8px var(--accent);
  }
}

.highlight {
  animation: highlight 0.8s ease;
}

.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}