body {
  min-height: 100vh;
  background-image: linear-gradient(#63918b, #4a3f6d);
  background-attachment: fixed;
  background-size: cover;
}
.container {
  width: 85%;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  text-align: center;
  margin: 25px;
  font-size: 30px;
  color: #333;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  font-size: 25px;
  width: 85%;
  margin: 0 auto;
  text-align: left;
}

input,
select,
textarea {
  width: 85%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin: auto;
  display: block;
  margin-bottom: 15px;
}

button {
  width: 85%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background-color: #79a0ca;
  color: black;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

#botonCalcular {
  margin-top: 25px;
  margin-bottom: 25px;
}

.botonera {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.botonera button {
  width: 48%;
}

#botonBorrarPrestamos {
  background-color: #9b2f38;
}

#resultado {
  display: block;
  visibility: visible;
  justify-content: center;
  margin-top: 20px;
}

.card {
  background-color: #416388;
  border: 1px solid #ced4da;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  padding: 20px;
  width: 80%;
  margin: 20px auto;
}

.tituloPrestamo {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.resultadoPrestamo p {
  font-size: 1.5rem;
  margin-left: 3rem;
}

#datoUsuarioIncorrecto,
#datoImporteIncorrecto {
  color: #9b2f38;
  font-size: 1.1rem;
  text-align: left;
  width: 85%;
  margin: -5px auto 5px;
  display: block;
}
