@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh; /* Para centrar verticalmente */
  flex-direction: column;
}
* {
  box-sizing: border-box;
}

/* Caja del formulario */
.login-box {
  background-color: #f8fafc;
  font-family: "Poppins", system-ui, sans-serif;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 12px 12px 0px rgba(146, 24, 57, 1);
  max-width: 430px; /* Ancho máximo para que no sea muy grande */
  width: 90%; /* Ancho adaptable */
  margin: 20px; /* Margen para dispositivos pequeños */
}

/* Títulos y subtítulos */
.text-title {
  color: #815c28;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.text-subtitle {
  color: #6d7075;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 30px;
  text-align: center; /* Centra el subtítulo */
}

/* Estilos para etiquetas */
.txt-from {
  font-weight: 500;
  color: #000000;
  font-family: "Poppins", system-ui, sans-serif;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 15px;
}

/* Estilos para los campos de entrada */
.form-control {
  font-family: "Poppins", system-ui, sans-serif;
  width: 100%;
  border: 1px solid #b3b3b3d0;
  border-radius: 8px;
  padding: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  color: #999da4;
  margin-bottom: 20px; /* Añade espacio entre campos */
  font-size: 13px;
}

/* Estilos para los campos de entrada al tener foco */
.form-control:focus {
  border-color: #006e63;
  box-shadow: 0 0 5px rgba(146, 101, 17, 0.1);
  outline: none;
}

/* Estilos para checkbox */
.checkbox {
  margin-bottom: 20px; /* Espacio entre checkbox y botón */
}

.checkbox label {
  font-size: 14px;
  color: #6d7075;
}

/* Estilos para el botón de sesión */
.btn-sesion {
  text-align: center;
  margin-top: 10px;
}

.btn-subtmit {
  font-family: "Poppins", system-ui, sans-serif;
  background-color: #006e63;
  color: white;
  border: none;
  padding: 8px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%; /* Botón de ancho completo */
}

.btn-subtmit:hover {
  background-color: #004d48;
}

/* Estilos para los enlaces */
.text-link {
  text-align: center;
  font-size: 14px;
  color: #6c7070;
}

.text-link a {
  color: #6c7070;
  text-decoration: none;
  font-size: 13px;
}

.text-link a:hover {
  text-decoration: underline;
}

/* Estilos para el botón de Office365 */
.btn-ofice {
  margin-top: 20px;
}

.btn-block {
  font-family: "Poppins", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #815c28;
  color: white;
  padding: 6px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-block:hover {
  background-color: #68491f;
}

.btn-block i {
  margin-right: 8px;
}

/* Estilos para el texto de la versión */
.text-version {
  margin-top: 20px;
  text-align: center;
  color: #999da4;
  font-size: 10px;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  .text-title {
    font-size: 28px; /* Reduce el tamaño de fuente en dispositivos más pequeños */
  }

  .text-subtitle {
    font-size: 12px; /* Reduce el tamaño del subtítulo */
  }

  .form-control {
    padding: 10px; /* Reduce el padding en los inputs */
    font-size: 0.9rem; /* Tamaño de fuente un poco más pequeño */
  }

  .btn-subtmit {
    padding: 10px; /* Reduce el padding en el botón */
    font-size: 15px; /* Tamaño de fuente un poco más pequeño */
  }

  .text-link {
    font-size: 12px; /* Tamaño de fuente un poco más pequeño para enlaces */
  }

  .btn-ofice {
    margin-top: 15px; /* Reduce el margen superior */
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 30px; /* Menor padding para pantallas más pequeñas */
  }

  .text-title {
    font-size: 24px; /* Tamaño de fuente más pequeño */
  }

  .text-subtitle {
    font-size: 10px; /* Tamaño de fuente más pequeño */
  }
}

/* Estilos para el header */
.header {
  background-color: #f8fafc;
  display: flex;
  justify-content: space-between; /* Alinea logo a la izquierda y título a la derecha */
  align-items: center;
  width: 100%;
  margin-bottom: 10px; /* Separación entre el header y el formulario */
  padding: 9px 18px; /* Margen lateral opcional */
  box-sizing: border-box;
}

/* Estilos para el logo */
.logo {
  width: 280px;
  height: auto;
}

/* Estilos para el nombre del proyecto */
.project-name {
  font-size: 24px;
  color: #921839;
  font-weight: 700;
  margin: 0;
  text-align: right;
}

/* Media Queries: Ajustes para pantallas más pequeñas */
@media (max-width: 1024px) {
  /* Ajustes para pantallas tipo tablet */
  .logo {
    width: 150px; /* Reducir el tamaño del logo */
  }

  .project-name {
    font-size: 22px; /* Reducir el tamaño del texto */
  }
}

@media (max-width: 768px) {
  /* Ajustes para pantallas medianas */
  .logo {
    width: 130px; /* Ajustar el logo */
  }

  .project-name {
    font-size: 20px; /* Ajustar el tamaño del texto */
  }

  /* Para centrar el logo y el nombre en pantallas medianas */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .project-name {
    text-align: center;
    margin-top: 10px; /* Separación entre el logo y el título */
  }
}

@media (max-width: 480px) {
  /* Ajustes para pantallas pequeñas (móviles) */
  .logo {
    width: 100px; /* Reducir aún más el logo en móviles */
  }

  .project-name {
    font-size: 18px; /* Texto más pequeño para móviles */
  }

  .header {
    padding: 5px 10px; /* Menos padding para pantallas pequeñas */
  }
}

/* Estilos generales para el footer */
.footer {
  width: 100%;
  background-color: #fcfcfc;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Alinear Contacto y Ayuda uno al lado del otro */
  align-items: flex-start;
  padding-left: 20px;
}

.footer-section {
  margin-right: 20px;
}

.footer-section h4 {
  margin-bottom: 2px;
  font-size: 15px;
  color: #000000; /* Color primario */
}

.footer-section p {
  margin: 5px 0;
  font-size: 12px;
  color: #333;
}

/* Footer bottom para el copyright */
.footer-bottom {
  background-color: #921839; /* Fondo rojo para el copyright */
  padding: 1px;
  font-size: 10px;
  text-align: center;
  color: #ffffff; /* Texto blanco */
  width: 100%;
}

/* Media Queries para hacer el footer responsivo */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
    align-items: center;
  }

  .footer-section {
    margin-right: 0;
    margin-bottom: 20px; /* Separación entre Contacto y Ayuda */
    text-align: center; /* Centrar el texto en pantallas pequeñas */
  }
}
.content-card {
  margin: 20px auto;
  text-align: center;
}

.register-logo a {
  font-size: 24px;
  font-weight: bold;
}

.card {
  background-color: #f8fafc;
  font-family: "Poppins", system-ui, sans-serif;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 12px 12px 0px rgba(146, 24, 57, 1);
  max-width: 500px; /* Ancho máximo para que no sea muy grande */
  width: 90%; /* Ancho adaptable */
  margin: 20px; /* Margen para dispositivos pequeños */
}

.card-body {
  padding: 20px; /* Espacio interno */
}

.card-footer {
  background-color: #f7f7f7; /* Color de fondo para el pie de la tarjeta */
}

.text-title-card {
  color: #815c28;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  text-decoration: none;
  text-align: center !important;
}

