/* ---------------------
Base
--------------------- */
body {
  font-size: 16px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: Ubuntu, sans-serif;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

/* ---------------------
Typography
--------------------- */
.heading-primary {
  font-size: 36px;
  font-weight: 400;
  color: #000000;
}

.heading-secondary {
  font-size: 28px;
  font-weight: 400;
  color: #000000;
}

.heading-tertiary {
  font-size: 24px;
  font-weight: 400;
  color: #777777;
}

.paragraph {
  font-size: 20px;
  font-weight: 400;
  color: #000024;
}

.paragraph-2 {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

.link {
  text-decoration: underline;
  display: inline-block;
}

.link-text {
  color: #777777;
  font-size: 18px;
}

.link-text:hover {
  color: #03002e;
  border: none !important;
  text-decoration: underline !important;
}

.link-tel {
  color: #0a12bf;
}

.link-tel:hover {
  color: #03002e;
  border: none !important;
  text-decoration: underline !important;
}

.show-password-icon > .eye {
  display: initial;
}
.show-password-icon > .eye-slash {
  display: none;
}

.show-password-icon.eye-slash > .eye {
  display: none;
}
.show-password-icon.eye-slash > .eye-slash {
  display: initial;
}
/* ---------------------
Button
--------------------- */
.button {
  height: 56px;
  width: 200px;
  border: 1px solid transparent;
  font-size: 18px;
}

.button-primary {
  background-color: #0a12bf;
  color: #ffffff;
  margin-left: auto;
}

.button:hover {
  background-color: #03002e;
}

/* ---------------------
Utilities
--------------------- */
.margin-bottom-big {
  margin-bottom: 32px;
}

.margin-bottom-medium {
  margin-bottom: 24px;
}

.margin-bottom-small {
  margin-bottom: 16px;
}

.margin-bottom-none {
  margin-bottom: 0;
}

.page-container {
  width: 100%;
  min-height: 100vh;
  background: url("../images/login-bg-desktop.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding-top: 100px;
}
.abp-logo {
  width: 100%;
}

/* ---------------------
Login Farmer Page
--------------------- */
.login-farmer-logo {
  position: absolute;
  left: 6%;
  width: 164px;
}

.login-farmer-box {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.login-form,
.forgot-form {
  width: 522px;
  background-color: #ffffff;
  padding: 44px 32px;
}

.privacy-policy-text {
  color: #ffffff;
  margin: 20px auto 0;
  width: fit-content;
}

.privacy-policy-text a {
  text-decoration: underline;
}

.privacy-policy-text a:hover {
  color: #576BE3;
  text-decoration: underline;
  border-bottom: unset;
}

.login-farmer-box ul {
  list-style-type: none;
}

/* ---------------------
Login Admin Page
--------------------- */
.login-admin-box {
  width: 456px;
  position: absolute;
  top: 15%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 20px 60px 40px 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.login-admin-box .login-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
  max-width: 350px;
}

.login-admin-box .login-logos .logo--abp {
  width: 144px;
  height: 90px;
}

.login-admin-box .login-logos .logo--live-stock {
  width: 165px;
  height: 47px;
}

.login-admin-box .login-heading {
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  color: #000024;
}

.login-admin-box .login-line {
  width: 162px;
  margin: 20px 0;
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #777;
  opacity: 0.7;
}

.login-admin-box .login-buttons {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.login-admin-box .login-button-365 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 62px;
  width: 308px;
  background-color: #ff7c1e;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 0;
}

.login-admin-box .login-button-365:hover {
  text-decoration: none;
  color: #fff;
  background-color: #e05e00;
  cursor: pointer;
}

/* ---------------------
Logout Page
--------------------- */
.logout-container {
  height: 100vh;
}

.logout-header {
  height: 155px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 54px;
  background-color: #000024;
}

.logout-header .dropdown {
  margin-left: auto;
}

.logout-avatar {
  height: 88px;
  width: 88px;
  border-radius: 50%;
}

.logout-avatar:hover {
  cursor: pointer;
}

.logout-avatar img {
  width: 100%;
  height: 100%;
}

.dropdown-menu-nav {
  top: 10px !important;
  border-radius: 0;
  padding: 0;
}

.dropdown-menu-nav .dropdown-item {
  height: 44px;
  width: 172px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000024;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 14px;
}

.dropdown-menu-nav .dropdown-item:hover {
  background-color: #000024;
  color: #ffffff;
}

.dropdown-menu-nav .dropdown-item:hover svg path {
  fill: #ffffff;
}

/* ---------------------
Form
--------------------- */
.form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.form-label {
  font-size: 18px;
  color: #777777;
}

.form-field {
  width: 100%;
  height: 44px;
  border: 1px solid #000024;
  padding: 0 13px;
}

.form-require {
  color: #ff0000;
}

.form-producer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.form-info {
  margin-left: auto;
  cursor: pointer;
  width: 20px;
}

.form-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.form-error {
  font-size: 14px;
  color: #ff0000;
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.field-require {
  border: 1px solid #ff0000;
}

.field-password {
  padding-right: 50px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* ---------------------
Modal
--------------------- */
.modal-dialog {
  max-width: 560px;
}

.modal-content {
  border-radius: 0;
}

.modal-body {
  padding: 32px;
}

.modal-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.modal-actions .button {
  margin-left: auto;
}

/* ---------------------
Responsive
--------------------- */
@media only screen and (max-height: 721px) {
  .page-container {
    padding-bottom: 50px;
  }
}

@media only screen and (max-width: 1200px) {
  .page-container {
    padding-top: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: url("../images/login-bg-tablet.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .login-farmer-logo {
    position: static;
    left: 0;
    margin-bottom: 60px;
  }

  /* .login-admin-box {
    max-width: 95%;
  } */
}

@media only screen and (max-width: 600px) {
  .heading-tertiary {
    font-size: 18px;
  }

  .paragraph {
    font-size: 16px;
  }

  .page-container {
    min-height: 100vh;
    background: url("../images/login-bg-mobile.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 40px;
  }

  .login-farmer-logo {
    margin-bottom: 20px;
  }

  .login-farmer-box {
    padding: 0 30px;
  }

  .login-form,
  .forgot-form {
    padding: 28px 20px;
  }

  .heading-primary {
    font-size: 24px;
  }

  .link-text {
    font-size: 14px;
  }

  .margin-bottom-big {
    margin-bottom: 20px;
  }

  .login-farmer-logo {
    width: 120px;
  }

  .login-farmer-box .margin-bottom-big {
    margin-bottom: 12px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-field {
    height: 28px;
    font-size: 14px;
  }

  .button-primary {
    height: 40px;
    width: 144px;
    font-size: 14px;
  }

  .form-actions {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .form-error {
    margin-bottom: 10px;
  }

  .modal-dialog {
    margin: 1.5rem;
  }
}
