body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
}

p {
  color: #b3b3b3;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Roboto", sans-serif; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

a:hover { text-decoration: none !important; }

.content { padding: 7rem 0; }

h2 { font-size: 20px; }

/* Se ajusta para eliminar espacio blanco */
.half, .half .container > .row {
  height: 100vh;  /* Hace que el contenedor ocupe toda la pantalla */
  position: relative;
}

.half .bg {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.half .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Formulario centrado sobre la imagen */
.form-block {
  background: #fff;
  padding: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 520px;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* Responsivo */
@media (max-width: 991.98px) {
  .form-block {
    padding: 25px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: -260px;
    max-width: 100%;
  }
}

/* Estilos adicionales para inputs y botones */
.half .contents .form-control, .half .bg .form-control {
  border: none;
  border-radius: 4px;
  height: 54px;
  background: #efefef;
}

.half .contents .form-control:active, .half .contents .form-control:focus,
.half .bg .form-control:active, .half .bg .form-control:focus {
  outline: none;
  box-shadow: none;
}

.half .btn {
  height: 54px;
  padding-left: 30px;
  padding-right: 30px;
}

.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
}

.control .caption { position: relative; top: .2rem; color: #888; }

.control input { position: absolute; z-index: -1; opacity: 0; }

.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
  border-radius: 4px;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator { background: #ccc; }

/* Checkboxes morado */
.control input:checked ~ .control__indicator { background: #7a3db9 !important; }

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator { background: #6a31a6 !important; }

.control input:disabled ~ .control__indicator {
  background: #e6e6e6; opacity: 0.9; pointer-events: none;
}

.control__indicator:after {
  font-family: 'icomoon';
  content: '\e5ca';
  position: absolute;
  display: none;
  font-size: 16px;
}

.control input:checked ~ .control__indicator:after { display: block; color: #fff; }

.control--checkbox .control__indicator:after {
  top: 50%; left: 50%; margin-top: -1px;
  transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after { border-color: #7b7b7b; }

/* Botón morado */
.half .btn.btn-primary,
.btn.btn-primary,
input.btn.btn-primary {
  background-color: #7a3db9 !important;
  border-color: #7a3db9 !important;
  color: #fff !important;
}

.half .btn.btn-primary:hover,
.half .btn.btn-primary:focus,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
input.btn.btn-primary:hover,
input.btn.btn-primary:focus {
  background-color: #6a31a6 !important;
  border-color: #6a31a6 !important;
  color: #fff !important;
}

/* Logo en login */
.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login-logo img {
  height: 48px;
  width: auto;
}
