/*
	===============================
		Login Page - Deja Shipping
	===============================
*/
html {
  height: 100%;
}

body {
  height: 100%;
  overflow: auto;
  margin: 0;
  padding: 0;
  background: #f4f6fb;
  font-family: 'Nunito', sans-serif;
}

.form-container {
  display: flex;
  min-height: 100vh;
}

/* ===== Left Side: Form ===== */
.form-form {
  width: 50%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}

.form-form .form-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  min-width: 500px;
  min-height: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.form-form .form-container {
  align-items: center;
  display: flex;
  flex-grow: 1;
  padding: 1rem 3rem;
  width: 100%;
  min-height: 100%;
}

.form-form .form-container .form-content {
  display: block;
  width: 100%;
}

/* ===== Title ===== */
h6.login-title {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.form-form .form-form-wrap .brand-name {
  color: #00023b;
  font-weight: 700;
  font-size: 20px;
}

/* ===== Input Fields ===== */
.form-form .form-form-wrap form .field-wrapper.input {
  position: relative;
  padding: 8px 0 20px 0;
  border-bottom: none;
}

.form-form .form-form-wrap form .field-wrapper svg.feather-user,
.form-form .form-form-wrap form .field-wrapper svg.feather-lock {
  position: absolute;
  top: 26px;
  left: 16px;
  color: #00023b;
  fill: rgba(0, 2, 59, 0.1);
  z-index: 2;
  width: 22px;
  height: 22px;
}

.form-form .form-form-wrap form .field-wrapper input {
  display: block;
  width: 100%;
  min-height: 60px;
  background-color: #f4f6fb;
  border: 2px solid #e0e4ef;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: #00023b;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 54px 16px 52px;
  outline: none;
}

.form-form .form-form-wrap form .field-wrapper input::-webkit-input-placeholder,
.form-form .form-form-wrap form .field-wrapper input::-ms-input-placeholder,
.form-form .form-form-wrap form .field-wrapper input::-moz-placeholder {
  color: #a0a5bd;
  font-size: 15px;
  font-weight: 500;
}

.form-form .form-form-wrap form .field-wrapper input:focus {
  border-color: #00023b;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 2, 59, 0.08);
}

/* ===== Password Toggle ===== */
.toggle-password {
  position: absolute;
  right: 16px;
  top: 22px;
  cursor: pointer;
  color: #8d90a7;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.toggle-password:hover {
  color: #00023b;
  background-color: rgba(0, 2, 59, 0.06);
}

.toggle-password svg {
  position: static !important;
  color: inherit !important;
  fill: none !important;
}

/* ===== Error Messages ===== */
.field-error {
  color: #e74c3c;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  padding-left: 4px;
}

/* ===== Login Button ===== */
.btn.btn-login,
.btn-login {
  width: 100% !important;
  min-height: 60px !important;
  background-color: #00023b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 2, 59, 0.3);
}

.btn.btn-login:hover,
.btn-login:hover {
  background-color: #0a0d5e !important;
  box-shadow: 0 6px 25px rgba(0, 2, 59, 0.4);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn.btn-login:active,
.btn.btn-login:focus,
.btn-login:active,
.btn-login:focus {
  background-color: #00023b !important;
  color: #fff !important;
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 2, 59, 0.3);
  outline: none !important;
}

/* ===== Checkbox ===== */
.form-form .form-form-wrap form .field-wrapper .n-chk .new-control-indicator {
  top: 1px;
  border: 2px solid #00023b;
  background-color: #f4f6fb;
  border-radius: 4px;
}

.form-form .form-form-wrap form .field-wrapper .n-chk .new-control-indicator:after {
  top: 52%;
}

.new-checkbox.checkbox-outline-primary .new-control-input:checked ~ .new-control-indicator {
  border-color: #00023b;
  background-color: #00023b;
}

/* ===== Footer ===== */
.form-form .terms-conditions {
  max-width: 520px;
  margin: 0 auto;
  color: #8d90a7;
  font-weight: 500;
  font-size: 13px;
  margin-top: 60px;
  text-align: center;
}

/* ===== Right Side: Image ===== */
.form-image {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  min-height: auto;
  height: 100vh;
  width: 50%;
  background: linear-gradient(135deg, #00023b 0%, #0a0d5e 40%, #1a1d7e 100%);
}

.form-image .l-image {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px;
}

.form-image .l-image img {
  width: 90%;
  max-width: 650px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .form-form {
    width: 100%;
  }
  .form-form .form-form-wrap {
    min-width: auto;
  }
  .form-image {
    display: none;
  }
}

@media (max-width: 575px) {
  .form-form .form-container {
    padding: 1rem 1.5rem;
  }
  .form-form .form-form-wrap form .field-wrapper.toggle-pass {
    margin-bottom: 28px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-form .form-form-wrap {
    width: 100%;
  }
  .form-form .form-container {
    height: 100%;
  }
}
