
body{
 overflow-x: hidden;
  background-color: #f9fafb;
  color: #333;
  font-family: 'Inter', sans-serif;
}

.navbar{
  background-color:#495057 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
} 



#logos-grid .logo-card {
  aspect-ratio: 1 / 1;  
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logos-grid .logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.logo-card img.logo-img {
  width: 90%;        
  height: 90%;        
  object-fit: contain; 
  display: block;    
}

.btn-primary {
  background-color: #31B585;
  border: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #278C65;
}

/* Logo votado */
.votado {
  outline: 4px solid #31B585;
  outline-offset: -4px;
}

/* Lista horizontal de votos */
#votos-realizados {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 15px 0;
}
.voto-item {
  background-color: white;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative;
}

.voto-item:hover {
  cursor: pointer;
}

.voto-item img { 
	width: 100px; 
	height: 100px; 
	object-fit: contain; 
	margin-bottom: 5px;
    border-radius: 4px;
}

#btn-enviar-votos{
	margin-bottom:15px;
}

#contenedor-votos {
  display: flex;  
  flex-wrap: wrap;     
  justify-content: space-between;
  align-items: flex-end; 
  gap: 10px;
 
}
.voto-item .borrar {
  position: absolute;
  top: 2px;
  right: 6px;
  cursor: pointer;
  color: #ef4444;
  font-size: 1.2rem;
  font-weight: bold;
}

/*.voto-item span.puntos{
	background-color: #e3e3e3;
	border-radius: 50%;
	padding: 1px 9px;
}*/


@media (max-width: 767px) {
  .contenedor-boton {
	width: 100%;
	justify-content: flex-end; /* o center si quieres centrado */
	margin-top: 8px;
  }
}

#franja-votos {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1030; 
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  padding: 0.8rem;
  background-color: #eef2ff;
}

#mensaje-toast{
	position: fixed;
	top: 20px;
	right: 20px;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	display: none;
	z-index: 1050;
}

.toast-error {
  background-color: #dc3545; 
}
.toast-success {
  background-color: #28a745;
}


.modal-content {
  border-radius: 12px;
  padding: 1rem;
}

.modal-body select {
  border-radius: 8px;
  padding: 0.5rem;
}


.logo-card.votado {
  animation: pop 0.3s ease-in-out;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


/* select */
select.form-select {
  appearance: none; 
  background-color: #ecfdf5;
  border: 1px solid #A9D9C5;
  color: #065f46;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  width: 75px !important;
}

select.form-select:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.25);
}



