body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.hidden {
  display: none !important;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo translúcido */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loadingOverlay .loading-content {
  background: white;
  padding: 1.5em 2em;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


#errorView {
  text-align: center;
  padding: 2em;
  color: red;
}

.error-text {
  font-size: 1.2em;
  font-weight: bold;
}


.container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

h2 {
  text-align: center;
  color: #1a237e;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.primary {
  background-color: #4caf50;
  color: white;
}

.secondary {
  background-color: #f44336;
  color: white;
}

.success-message {
  text-align: center;
  color: green;
  font-weight: bold;
  display: none;
  margin-top: 20px;
}

.pago-text {
  text-align: center;
  font-size: 1.2em;
}

.hidden {
  display: none;
}
