/* Estilos generales */
body {
  height: 100vh;
  background: rgb(65,111,35);
  background: linear-gradient(180deg, #5C9C31 0%, #5C9C31 100%);
}

.static-header {
  background-color: #689A46;
}

/* SECCIÓN TÍTULO */
.title-s h1 {
  font-family: "Work Sans", sans-serif;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 25px 0;
}

.bg-shadow {
  width: 80%;
  min-height: 115px;
  background-color: #3f6e2972;
  border-radius: 0 0 40px 40px;
  text-align: center;
}

/* SECCIÓN IMAGEN LOGO */
.principal-logo {
  min-width: 100px;
  max-width: 500px;
}

.logo-s {
  margin-top: 6%;
}

/* SECCIÓN BOTÓN */
.login-btn-s {
  margin-top: 6%;
}

.login-btn-s .btn-primary {
  background-color: #fff;
  color: #5C9C31;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #5C9C31;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #5C9C31;
  color: #fff;
}

.btn-primary:active {
  border-color: #fff !important;
  background: #858585 !important;
}

.login-btn-s i {
  font-weight: 600;
}

/* Ajustes del formulario */
.form-group {
  margin-bottom: 1rem;
}

#justificacion-group {
  margin-top: 1rem;
}

.two-fields {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.button-container {
  text-align: center;
  margin-top: 2rem;
}

textarea.form-control {
  width: 100%;
  resize: vertical;
}

/* Modal Styles */
.modal {
  display: none; /* Ocultamos el modal por defecto */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  z-index: 1050; /* Este es el valor por defecto para los modales de Bootstrap */
}

.modal.show {
  display: flex; /* Solo se muestra cuando tiene contenido */
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 8px;
  text-align: center;
  z-index: 1060; /* Asegura que el contenido esté por encima del fondo */
  position: relative;
}

.modal .btn-close {
  z-index: 1070; /* Asegúrate de que el botón de cierre esté por encima del contenido del modal */
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #ff5c5c;
}

#closeModal {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

#closeModal:hover {
  background-color: #45a049;
}
