
body {
    background: linear-gradient(180deg, #dce0ea 0%, #b0b9cc 100%);
    color: rgb(47, 11, 229);
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url("/static/img/hero-tech.png");
    background-size: cover;
    background-position: center;
}

.card-body {
    background-color: #ebeff7;  /* gris oscuro sobrio */
    padding: 15px;
}

.img-producto {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
background-color: #ffffff;
}

.mensaje-flash {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.alerta {
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: 500;
    animation: aparecer 0.3s ease-in-out;
}

.alerta.success {
    background-color: #1e4620;
    color: #4caf50;
}

.alerta.danger {
    background-color: #4a1c1c;
    color: #ff6b6b;
}

.alerta.info {
    background-color: #1c2f4a;
    color: #4da6ff;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-producto {
    display: block;
    width: 100%;
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-producto:hover {
    background-color: #0056b3 !important;
    color: white;
}


.precio {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0e25a5;

}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 24px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.telefono-contacto a {
  background: #2607a4;
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.telefono-contacto a:hover {
  background: #23b4d1;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .telefono-contacto {
    top: 10px;
    right: 15px;
    font-size: 14px;
  }
}

.admin-topbar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
   

}

.logout-link {
    font-size: 14px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
}

.logout-link:hover {
    color: #dc3545;
}