/* ===== ESTILOS BASE - COMUNES PARA MÓVIL Y WEB ===== */

/* Contador del carrito */
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.navbar-item .button {
  position: relative;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  background-color: #001e1d;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

/* Estilo del botón amarillo */
.button.is-yellow {
  background-color: #ffd700 !important;
  color: #000 !important;
  font-weight: bold !important;
  border: none;
}

.button.is-yellow:hover {
  background-color: #ffed4a !important;
  color: #000 !important;
}

/* Overlay box */
.overlay-box {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 3rem;
  border-radius: 10px;
}

.overlay-box h1,
.overlay-box p {
  color: white !important;
}

/* Flash messages */
.flash-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 400px;
  pointer-events: none;
}

.flash-container .notification {
  pointer-events: auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Carousel */
.carousel-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  scroll-behavior: smooth;
  overflow-x: scroll;
}

.carousel-item {
  min-width: 220px;
  background-color: white;
  border-radius: 8px;
  flex-shrink: 0;
}

/* FullCalendar */
#calendar {
  background-color: #1a1a1a;
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #00000070;
}

.fc .fc-toolbar-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
}

.fc-daygrid-event {
  background-color: #ffd700 !important;
  color: black !important;
  font-size: 0.85rem;
  font-weight: bold;
  border: none;
  padding: 2px 4px;
  border-radius: 3px;
  cursor: pointer;
}

.fc .fc-button {
  background-color: #ffc107;
  border: none;
  color: black;
}

.fc .fc-button:hover {
  background-color: #ffca2c;
}

.fc-daygrid-day-number {
  color: #ffffffb3;
  font-weight: bold;
}

.fc-scrollgrid {
  border-color: #444;
}

.fc-tooltip {
  position: absolute;
  z-index: 9999;
  background-color: #1e1e1e;
  color: #f5f5f5;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: nowrap;
  display: none;
}

.fc-tooltip strong {
  color: #f5f5f5;
}

/* Eventos */
.evento-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  max-width: 80%;
}

.event-flyer {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Formularios */
.field-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.field-floating input,
.field-floating select {
  width: 100%;
  background-color: #070707;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 1.2rem 1rem 0.4rem 1rem;
  color: white;
}

.field-floating label {
  position: absolute;
  top: 0.2rem;
  left: 1rem;
  font-size: 0.8rem;
  color: #bbb;
  background-color: #070707;
  padding: 0 4px;
  z-index: 1;
}

.field-floating .icon-right {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
}

input.has-background-black {
  border: 1px solid #666;
}
