/* ==================== PERSONALIZACIÓN POSICIÓN BUSCADOR ==================== */
/* Archivo: platform-search-position.css */
/* Agregar DESPUÉS de platform-search-enhanced.css */

/* 
  POSICIÓN ACTUAL DEL BUSCADOR:
  - bottom: 80px
  - right: 20px
  
  Ajusta estos valores según necesites
*/

/* ==================== POSICIÓN PRINCIPAL ==================== */

.platform-search-floating {
  /* AJUSTA ESTOS VALORES: */
  bottom: 100px !important;  /* Distancia desde abajo */
  right: 40px !important;   /* Distancia desde la derecha */
  
  /* Otras opciones de posición (descomenta para usar): */
  /* bottom: 20px; right: 20px; */        /* Esquina inferior derecha pegada */
  /* bottom: 100px; right: 30px; */       /* Un poco más arriba y separada */
  /* bottom: 50vh; right: 20px; */        /* Centro vertical derecha */
  /* top: 100px; right: 20px; */          /* Parte superior derecha */
  /* bottom: 20px; left: 20px; */         /* Esquina inferior IZQUIERDA */
  /* bottom: 20px; left: 50%; */          /* Centro inferior */
  /* transform: translateX(-50%); */      /* Usar con left: 50% para centrar */
}

/* ==================== AJUSTES POR TAMAÑO DE PANTALLA ==================== */

/* Desktop grande (>1400px) */
@media (min-width: 1400px) {
  .platform-search-floating {
    bottom: 100px !important;  /* Más espacio en pantallas grandes */
    right: 40px !important;
  }
}

/* Laptop (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .platform-search-floating {
    bottom: 80px !important;
    right: 20px !important;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .platform-search-floating {
    bottom: 70px !important;
    right: 15px !important;
  }
  
  /* Reducir tamaño del botón en tablets */
  .platform-search-floating-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .platform-search-floating {
    bottom: 70px !important;  /* Más arriba para no tapar controles */
    right: 10px !important;    /* Más pegado al borde */
  }
  
  /* Botón más pequeño en móvil */
  .platform-search-floating-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
  }
  
  /* Input más corto cuando se expande */
  .platform-search-floating.expanded .platform-search-floating-input {
    width: 200px !important;
  }
}

/* ==================== POSICIONES ALTERNATIVAS ==================== */
/* Descomenta la que quieras usar */

/* OPCIÓN A: Más arriba y centrada */
/*
.platform-search-floating {
  bottom: auto !important;
  top: 20px !important;
  right: 50% !important;
  transform: translateX(50%) !important;
}
*/

/* OPCIÓN B: Esquina superior derecha */
/*
.platform-search-floating {
  bottom: auto !important;
  top: 80px !important;
  right: 20px !important;
}
*/

/* OPCIÓN C: Lado izquierdo */
/*
.platform-search-floating {
  bottom: 80px !important;
  right: auto !important;
  left: 20px !important;
}
*/

/* OPCIÓN D: Centro vertical derecha */
/*
.platform-search-floating {
  bottom: auto !important;
  top: 50% !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
}
*/

/* OPCIÓN E: Pegado al header (debajo) */
/*
.platform-search-floating {
  bottom: auto !important;
  top: 70px !important;
  right: 20px !important;
}
*/

/* ==================== AJUSTES ADICIONALES ==================== */

/* Si quieres que el buscador sea más grande */
/*
.platform-search-floating-btn {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.8rem !important;
}
*/

/* Si quieres más sombra/glow */
/*
.platform-search-floating-btn {
  box-shadow: 0 8px 30px rgba(255, 0, 110, 0.6) !important;
}
*/

/* Si quieres cambiar el color del botón */
/*
.platform-search-floating-btn {
  background: linear-gradient(135deg, #00f5ff, #8b5cf6) !important;
}
*/

/* Si quieres que el input sea más ancho al expandir */
/*
.platform-search-floating.expanded .platform-search-floating-input {
  width: 400px !important;
}
*/

/* Si quieres que no sea tan transparente */
/*
.platform-search-floating-input {
  background: rgba(26, 26, 46, 0.98) !important;
}
*/

/* ==================== Z-INDEX (si se superpone con otros elementos) ==================== */

/* Si el buscador queda detrás de otros elementos, aumenta el z-index */
/*
.platform-search-floating {
  z-index: 999 !important;
}
*/

/* ==================== ANIMACIONES PERSONALIZADAS ==================== */

/* Animación de entrada desde abajo */
/*
@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.platform-search-floating.visible {
  animation: slideUp 0.4s ease-out;
}
*/

/* Animación de entrada desde la derecha */
/*
@keyframes slideLeft {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.platform-search-floating.visible {
  animation: slideLeft 0.4s ease-out;
}
*/

/* ==================== NOTAS ==================== */
/*

VALORES COMUNES ÚTILES:

Posición vertical (bottom/top):
  - 20px   = Muy pegado al borde
  - 50px   = Cerca del borde
  - 80px   = Posición estándar (actual)
  - 100px  = Más separado
  - 50vh   = Centro vertical (usa vh = viewport height)

Posición horizontal (right/left):
  - 10px   = Muy pegado al borde (móvil)
  - 20px   = Posición estándar (actual)
  - 40px   = Más separado
  - 50%    = Centro (necesita transform: translateX(-50%))

Tamaño del botón:
  - 48px   = Pequeño (móvil)
  - 56px   = Estándar (actual)
  - 64px   = Grande

Para centrar horizontalmente:
  left: 50%;
  transform: translateX(-50%);

Para centrar verticalmente:
  top: 50%;
  transform: translateY(-50%);

Para centrar en ambos:
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

*/