
/* --- Configuración General y Tipografía --- */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333333; /* Color de texto base más suave */
}

h1, h3 {
  font-family: 'Montserrat', sans-serif;
}

.container {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

/* --- Header --- */
header {
  background: white; /* Fondo blanco para un look más limpio */
  color: #002B49;   /* Azul oscuro para el texto del header */
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 4px solid #1a73e8; /* Borde inferior con el color principal */
  margin-bottom: 20px;
}

/* --- Barra de Búsqueda --- */
.search-bar {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 2px solid #e9e9e9;
  margin-bottom: 30px;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.search-bar:focus {
  outline: none;
  border-color: #1a73e8; /* Resalta el borde al seleccionar */
}

/* --- Tarjetas (Cards) --- */
.card {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* Eleva la tarjeta al pasar el mouse */
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.card h3 {
  margin: 0 0 10px;
}

.card h3 a {
  text-decoration: none;
  color: #1a73e8;
}

.card p {
  color: #555;
  font-size: 0.95em;
  line-height: 1.5;
}

.rating {
  color: #FFC107; /* Tono dorado para las estrellas */
  font-size: 1.2em;
}

/* --- Botones --- */
.button {
  display: inline-block;
  background: #1a73e8;
  color: white !important; /* !important para asegurar la sobreescritura */
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  background: #155bb5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilo para los iconos dentro de los botones */
.button i {
  margin-right: 8px;
}

/* --- Formulario (página subir.html) --- */
form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

form input[type="text"],
form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
  font-family: 'Lato', sans-serif;
  font-size: 1em;
}

form input[type="file"] {
  margin-bottom: 25px;
  font-family: 'Lato', sans-serif;
}

form .button {
  width: 100%;
  font-size: 1.1em;
}