@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

:root {
  --primary-color: #005087;
  --primary-color-hover: #0b6fb3;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #818589;
}

.text-primary {
  color: var(--primary-color) !important;
}

a:hover {
  color: var(--primary-color-hover);
}

.login {
  background-image: url('/images/koshi1.png');
  height: 100vh;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  place-items: center;
}

.login::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.52);
}

.login-wrapper {
  position: relative;
  max-width: 750px;
  margin: auto;
  border-radius: 10px;
}

.login-left {
  background-color: var(--primary-color);
  padding: 40px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.login-slider img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 20px 0;
}

.main-login {
  background-color: #fff;
  padding: 40px;
  position: relative;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
}

.main-login > div {
  width: 100%;
}

.login-form i {
  cursor: pointer;
  position: absolute;
  top: calc(50% - 6px);
  right: 6px;
  font-size: 13px;
  color: var(--primary-color);
}

.login-form button {
  border: none;
  outline: none;
}

.main-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background-color linear 0.2s;
}

.main-btn:hover {
  background-color: var(--primary-color-hover);
}

.main-login h4 {
  font-size: 1.1rem;
  font-weight: 400;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d6d6d6;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-top: 17px;
}

.form-check {
  margin-top: 17px;
}

.form-control:focus {
  border-color: none;
  outline: 0;
  box-shadow: none;
}

.main-login ::placeholder {
  font-size: 0.875rem;
  font-weight: 400;
}

.password-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
}

.login-form p {
  color: #238b28;
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0 30px 30px 0;
  height: 90px;
  width: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: #fff;
  overflow: hidden;
}

.logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
}

.owl-theme .owl-dots {
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: transparent;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
  border: 1px solid #fff;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #fff;
}

@media (max-width: 1400px) {
  .login-wrapper {
    max-width: 640px;
  }

  .login-left,
  .main-login {
    padding: 30px;
  }

  .login-slider img {
    height: 178px;
  }

  .login-info h4 {
    font-size: 1.2rem;
  }

  .main-login h4 {
    font-size: 1rem;
  }

  .login-wrapper-footer h4 {
    font-size: 1rem;
  }
  .login-wrapper-footer p {
    font-size: 12px;
  }

  .main-login h3 {
    font-size: 1rem;
  }

  .main-login label,
  .main-login .text-danger,
  .password-link {
    font-size: 12px;
  }

  .form-control {
    padding: 0.375rem 0;
  }
}

@media (max-width: 767.9px) {
  .login-wrapper {
    width: 100%;
  }

  .login-wrapper > .row > div:first-child {
    display: none;
  }

  .main-login {
    border-radius: 10px;
  }
}
