/* You can add global styles to this file, and also import other style files */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}


/* Clase general para el contenedor de carga */
.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  /* Fondo semitransparente */
  width: 100vw;
  height: 100vh;
}

/* Spinner de Angular Material */
.mat-spinner {
  width: 100px;
  height: 100px;
}

/* Texto que acompaña al spinner */
.loading-container p {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #555;
}

.submit-button {
  background-color: #399b00;
  color: white;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.ordinary-button {
  background-color: #fafafa;
  color: #3d3d3d;
  padding: 8px 18px;
  border: 1px solid #5f5f5f;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.action-button {
  background-color: #3f51b5;
  color: white;
  padding: 8px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease;
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.submit-button:hover:not(:disabled){
  background-color: #399b00dc;
}
.ordinary-button:hover:not(:disabled){
  background-color: #e6e6e6;
}
.action-button:hover:not(:disabled) {
  background-color: #485ac0d7;
}

.submit-button:disabled,
.ordinary-button:disabled,
.action-button:disabled {
  background-color: #ced0df;
  cursor: not-allowed;
}

.action-container {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  padding: 1.5em;
}
