@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

header.main-header {
  display: none;
}

/* FORMULARIO LOGIN ADAPTADO */
.formulario {
  width: 70%; /* 30% menos que 100% */
  max-width: 350px; /* máximo para desktop */
  margin: 20px auto 60px auto; /* centrado + margen inferior existente */
  padding: 40px;
  border-radius: 20px;
  background-color: #006b32;
  color: #fff;
  font-size: 16px;
  transition: .2s;
}

.formulario:hover {
  transition: .2s;
}

.form-group {
  color: #fff;
  text-align: left;
}

/* CAMPOS INPUT COMO LÍNEAS SIN FONDO */
.formulario input.form-control {
  background: transparent;
  border: none;
  border-bottom: 2px solid white; /* línea inferior */
  border-radius: 0;
  color: white;
  font-size: 16px;
  padding-left: 0;
}

.formulario input.form-control::placeholder {
  color: #ffe818;
}

.formulario input.form-control:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 2px solid #00ab47; /* verde focus */
}

/* LABELS */
.formulario label {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
  text-align: left;
}

.form-group-02 {
  color: #fff;
}

/* CHECKBOX */
.formulario .checkbox label {
  font-size: 13px;
 
}

.terminos{
	text-decoration: none;
	color: #ffffff;

}

.terminos:hover{
	text-decoration: none;
	color: #31eb09;
}

/* BOTÓN */
.btn-form {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
  padding: 12px 28px;
  font-size: 18px;
  border-radius: 15px;
  color: #02640c;
  background-color: #fff;
  transition: 0.2s;
  cursor: pointer;
  text-decoration: none;
  width: 60%;
  font-family: 'Roboto', sans-serif; /* NUEVA TIPOGRAFÍA */
}

.btn-form:hover {
  background-color: #31eb09;
  text-decoration: none;
  color: #fff;
}

/* FONDO GENERAL */
.fondo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/fondo_farma.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;

}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.row {
  margin: 0;
}

.columna-izquierda {
  padding: 0;
}

.contenedor-titular {
  text-align: center;
  padding: 50px 0;
}

.contenedor-titular h1,
.contenedor-titular h2 {
  display: block;
  width: 100%;
}

h1 {
  font-weight: 700;
  padding-bottom: 10px;
  color: #001c71;
}

h2 {
  color: #001c71;
  font-size: 19pt;
  font-weight: 900;
  padding: 10% 0 0 0;
}

/* Ajustes de imagen logo superior */
.contenedor-titular img {
  max-width: 80%;
  height: auto;
}

@media (max-width: 768px) {
  .contenedor-titular img {
    max-width: 60%;
    margin: 0 auto;
    display: block;
  }
}

.contenedor-imagenes-boton {
  text-align: center;
  margin-top: 20px;
}

.contenedor-imagenes-boton img {
  display: inline-block;
  margin: 10px;
  max-width: 90%;
}

/* ALINEACIÓN .circle */
.contenedor-imagen {
  display: flex;
  align-items: center; /* centra verticalmente */
  justify-content: center; /* centra horizontalmente */
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.circle, .circle1 {
  display: inline-block;
  float: none;
  margin: 10px 5px;
  max-width: 90%;
}

.circle {
  display: block;
  max-width: 90%;
  height: auto;
}

.circle1 {
  width: 70%;
  height: auto;
  display: inline-block;
  margin: 10px 5px;
}

/* Estilo general para imágenes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 1500px) {
  .logo-plm {
    width: 600px;
    margin-left: 50px;
    float: right;
    padding-top: 40px;
    display: inherit;
  }
}

@media (max-width: 991px) {
  .logo-pie-plm, .logo-pie-pg { }
}

@media (max-width: 768px) {
  .fondo {
    background-image: url(../img/fondo-movil.png);
  }

  .circle {
    display: none;
    float: none;
    margin: 10px 5px;
    max-width: 90%;
  }

  .contenedor-titular {
    padding: 60px 0 30px 0;
  }

  .formulario {
    width: 90%;
    max-width: none;
    padding: 30px 20px;
  }

  h1 {
    font-size: 30pt;
  }

  h2 {
    font-size: 16pt;
  }
}
