/* estilos.css */

/* Estilos base para asegurar que la imagen de fondo cubra todo */
html, body {
    height: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transition: background-image 0.5s ease-in-out;
}

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* La imagen se establece vía JS, pero ponemos un color base */
    background-color: #f2f2f2;
}

.card {
  background-color: rgba(255, 255, 255, 0.431) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

button {
  background-color: rgb(4, 100, 196) !important;
  color: white !important;
  border: none;
}

button:hover {
  background-color: rgb(0, 128, 255) !important;
}

button:active {
  background-color: rgb(0, 54, 109) !important;
}

/* Modo Oscuro */
@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #282828 !important;
  }
  
  .card {
    background-color: rgba(57, 57, 57, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
  }
  
  h5 {
    color: azure !important;
  }
}