html,
body {
  height: 100%;
}
body {
  background-color: #111;
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo-main {
  max-height: 200px;
  width: auto;
  height: auto;
}

.logo-company {
  max-height: 40px;
  width: auto;
  height: auto;
}

.title-span {
  font-size: 2.8rem;
}

/* Mobile and tablet responsive styles */
@media (max-width: 767.98px) {
  .logo-main {
    max-height: 180px;
  }
  
  .title-span {
    font-size: 2.4rem;
  }
}

@media (max-width: 575.98px) {
  body {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .logo-main {
    max-height: 150px;
  }
  
  .logo-company {
    max-height: 30px;
  }
  
  .title-span {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .form-signin {
    padding: 10px;
    max-width: 100%;
  }
  
  .form-signin .form-control-lg {
    font-size: 16px; /* Prevents zoom on mobile */
    padding: 0.75rem 1rem;
  }
  
  .form-signin .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
  }
  
  .footer {
    margin-top: 2rem;
  }
  
  .help-text {
    font-size: 0.875rem;
  }
}

/* Form styles */
.form-signin {
  width: 100%;
  max-width: 600px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .form-control {
  font-size: 16px; /* Prevents zoom on iOS */
  border-radius: 0.375rem;
}

.form-signin .text-white {
  color: #ecf9ff;
}

.form-signin .flex-container {
  display: flex;
}

.form-signin .flex-container .right {
  width: 50%;
}

.form-signin .flex-container .left {
  width: 50%;
  padding-right: 5px;
}

/* Footer styles */
.footer {
  width: 100%;
}

/* Bootstrap placeholder utilities */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) and (min-height: 850px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
  }
}