/* ============================================================
   SOCIOAPP — FRESHA + LOVELY + DARK MODE AUTOMÁTICO (PREMIUM)
   Diseño profesional, moderno, elegante
============================================================ */

/* ============================
   PALETA PRINCIPAL
============================ */
:root {
  --rosa: #ff2d75;
  --rosa-suave: #ff5c94;
  --negro: #111;
  --gris-fondo: #f7f7f9;
  --gris-borde: #e6e6e8;
  --texto: #222;
  --blanco: #fff;
  --sombra: 0 6px 18px rgba(0,0,0,0.06);
  --radius: 14px;
  --radius-small: 10px;
  --trans: 0.25s ease;
}

/* ============================
   DARK MODE AUTOMÁTICO (PREMIUM)
============================ */
@media (prefers-color-scheme: dark) {

  :root {
    --gris-fondo: #0f0f0f;
    --blanco: #1b1b1b;
    --texto: #f5f5f5;
    --gris-borde: #2a2a2a;
    --sombra: 0 8px 28px rgba(0,0,0,0.55);
  }

  body {
    background: var(--gris-fondo);
    color: var(--texto);
  }

  .card,
  .inicio-card {
    background: #1b1b1b;
    border: 1px solid #2a2a2a;
    backdrop-filter: blur(14px);
  }

  header {
    background: #1b1b1b;
    border-bottom: 1px solid #2a2a2a;
    backdrop-filter: blur(14px);
  }

  input, select, textarea {
    background: #262626;
    border: 1px solid #3a3a3a;
    color: var(--texto);
  }

  input::placeholder,
  textarea::placeholder {
    color: #b8b8b8;
  }

  .btn-negro {
    background: #000;
    color: #fff;
  }

  .btn-secondary {
    background: transparent;
    border: 1px solid var(--rosa);
    color: var(--rosa);
  }

  .dia-chip {
    background: #262626;
    border: 1px solid #3a3a3a;
    color: var(--texto);
  }

  .dia-chip.activo {
    background: var(--rosa);
    border-color: var(--rosa);
    color: #fff;
  }

  .horario-btn {
    background: #262626;
    border: 1px solid #3a3a3a;
    color: var(--texto);
  }

  .horario-btn.activo {
    background: var(--rosa);
    border-color: var(--rosa);
    color: #fff;
  }
}

/* ============================
   RESET PREMIUM
============================ */
body {
  margin: 0;
  padding: 0;
  background: var(--gris-fondo);
  font-family: "Inter", sans-serif;
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

/* ============================
   CONTENEDOR CENTRAL
============================ */
.contenedor-centrado {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
}

/* ============================
   TARJETAS PREMIUM
============================ */
.card {
  background: var(--blanco);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: 22px;
  transition: var(--trans);
  border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-3px);
}

/* ============================
   TITULOS
============================ */
.titulo-seccion {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--negro);
  letter-spacing: -0.3px;
}

/* ============================
   INPUTS PREMIUM
============================ */
input, select, textarea {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-small);
  border: 1px solid var(--gris-borde);
  background: var(--blanco);
  font-size: 15px;
  transition: var(--trans);
  margin-bottom: 14px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--rosa);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,45,117,0.25);
}

/* ============================
   BOTONES PREMIUM
============================ */
button {
  padding: 14px 20px;
  border-radius: var(--radius-small);
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: var(--trans);
  width: 100%;
  margin-top: 10px;
  font-weight: 600;
}

/* Principal */
.btn-primary {
  background: var(--rosa);
  color: var(--blanco);
}
.btn-primary:hover {
  background: var(--rosa-suave);
  transform: translateY(-2px);
}

/* Secundario */
.btn-secondary {
  background: var(--blanco);
  border: 1px solid var(--rosa);
  color: var(--rosa);
}
.btn-secondary:hover {
  background: var(--rosa);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* Negro */
.btn-negro {
  background: var(--negro);
  color: var(--blanco);
}
.btn-negro:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Advertencia */
.btn-warning {
  background: #ffe8ef;
  border: 1px solid var(--rosa);
  color: var(--rosa);
}
.btn-warning:hover {
  background: var(--rosa);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* ============================
   BOTÓN GOOGLE
============================ */
.btn-google {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  color: var(--negro);
  padding: 12px 16px;
  border-radius: var(--radius-small);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: var(--sombra);
  width: 100%;
}

.btn-google:hover {
  border-color: var(--rosa);
  box-shadow: 0 4px 12px rgba(255,45,117,0.25);
  transform: translateY(-2px);
}

.google-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ============================
   HORARIOS (chips premium)
============================ */
.horario-btn {
  padding: 12px 18px;
  margin: 6px;
  border-radius: 50px;
  border: 1px solid var(--gris-borde);
  background: var(--blanco);
  cursor: pointer;
  transition: var(--trans);
  font-weight: 500;
  box-shadow: var(--sombra);
  display: inline-block;
}

.horario-btn:hover {
  border-color: var(--rosa);
  transform: translateY(-2px);
}

.horario-btn.activo {
  background: var(--rosa);
  color: var(--blanco);
  border-color: var(--rosa);
  box-shadow: 0 4px 12px rgba(255,45,117,0.35);
}

.horario-btn.ocupado {
  background: #eee;
  color: #888;
  border-color: #ddd;
  cursor: not-allowed;
  box-shadow: none;
}

/* ============================
   DÍAS (chips)
============================ */
.dia-chip {
  display: inline-block;
  padding: 10px 14px;
  margin: 4px;
  border-radius: var(--radius-small);
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  cursor: pointer;
  transition: var(--trans);
}

.dia-chip:hover {
  border-color: var(--rosa);
}

.dia-chip.activo {
  background: var(--rosa);
  color: var(--blanco);
  border-color: var(--rosa);
}

/* ============================
   LISTAS PREMIUM
============================ */
.lista-item, .turno-item, .servicio-item {
  background: var(--blanco);
  padding: 16px;
  border-radius: var(--radius-small);
  box-shadow: var(--sombra);
  margin-bottom: 12px;
  transition: var(--trans);
}

.lista-item:hover,
.turno-item:hover,
.servicio-item:hover {
  transform: translateY(-2px);
}

/* ============================
   HEADER PREMIUM
============================ */
header {
  background: var(--blanco);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--sombra);
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 0 0 14px 14px;
}

.logo-circle {
  background: var(--rosa);
  padding: 10px 16px;
  border-radius: 50px;
  color: var(--blanco);
  font-weight: 700;
  font-size: 16px;
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--negro);
  font-size: 16px;
  cursor: pointer;
}

/* ============================
   PANTALLA INICIAL PREMIUM
============================ */
.inicio-container {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.inicio-card {
  width: 100%;
  max-width: 420px;
  background: var(--blanco);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.inicio-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--rosa);
  margin-bottom: 10px;
}

.inicio-eslogan {
  font-size: 15px;
  color: var(--texto);
  margin-bottom: 24px;
}

.inicio-texto-secundario {
  margin-top: 18px;
  font-size: 14px;
  color: var(--texto);
}

.inicio-legal {
  margin-top: 20px;
  font-size: 12px;
  color: var(--texto);
}

.inicio-legal a {
  color: var(--rosa);
  text-decoration: none;
}

/* ============================
   ANIMACIONES PREMIUM
============================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}