/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================
   ROOT / BODY
========================================= */

html,
body {
  min-height: 100%;
}


body {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: #f4f7f5;

  color: #1f2937;
}


/* =========================================
   MAIN PAGE
========================================= */

.login-page {
  min-height: 100vh;

  display: flex;
}


/* =========================================
   LEFT BRAND SECTION
========================================= */

.brand-section {
  width: 48%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 60px;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #0c3024 0%,
      #123f30 45%,
      #176247 100%
    );

  color: white;
}


/* Decorative circle */

.brand-section::before {
  content: "";

  position: absolute;

  width: 430px;
  height: 430px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.035);

  top: -160px;
  right: -160px;
}


/* Decorative circle */

.brand-section::after {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.025);

  bottom: -180px;
  left: -130px;
}


/* =========================================
   BRAND CONTENT
========================================= */

.brand-content {
  position: relative;

  z-index: 2;

  width: 100%;

  max-width: 520px;
}


/* =========================================
   LOGO
========================================= */

.logo-container {
  width: 75px;
  height: 75px;

  background: white;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 7px;
  margin-bottom: 25px;

  box-shadow:
    0 8px 20px
    rgba(0, 0, 0, 0.15);
}


.company-logo {
  width: 60px;
  height: 60px;

  object-fit: contain;
  display: block;
}


/* =========================================
   BRAND TEXT
========================================= */

.brand-content h1 {
  font-size: 43px;

  line-height: 1.1;

  margin-bottom: 12px;

  letter-spacing: -1px;
}


.brand-content h2 {
  font-size: 22px;

  font-weight: 500;

  color: #cde7dc;

  margin-bottom: 25px;
}


.brand-content > p {
  max-width: 470px;

  font-size: 16px;

  line-height: 1.8;

  color: #e3f0eb;
}


.brand-line {
  width: 60px;

  height: 3px;

  background: #ffffff;

  opacity: 0.65;

  margin-top: 32px;

  margin-bottom: 18px;

  border-radius: 20px;
}


.brand-content .brand-small-text {
  font-size: 13px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  color: #bdd8cd;
}


/* =========================================
   RIGHT LOGIN SECTION
========================================= */

.login-section {
  width: 52%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 45px;
}


/* =========================================
   LOGIN CARD
========================================= */

.login-card {
  width: 100%;

  max-width: 460px;

  background: white;

  padding: 42px;

  border-radius: 18px;

  border:
    1px solid #e7ebe9;

  box-shadow:
    0 18px 50px
    rgba(26, 55, 43, 0.10);
}


/* =========================================
   MOBILE BRAND
========================================= */

.mobile-brand {
  display: none;
}


/* =========================================
   LOGIN HEADING
========================================= */

.login-heading {
  margin-bottom: 30px;
}


.welcome-label {
  color: #176247;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1.5px;

  margin-bottom: 10px;
}


.login-heading h2 {
  color: #17382c;

  font-size: 31px;

  margin-bottom: 9px;
}


.login-description {
  color: #6b7280;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
  margin-bottom: 21px;
}


.form-group label {
  display: block;

  margin-bottom: 8px;

  color: #374151;

  font-size: 14px;

  font-weight: 600;
}


/* =========================================
   INPUTS
========================================= */

.form-group input {
  width: 100%;

  height: 51px;

  padding:
    0 15px;

  border:
    1px solid #ccd4d0;

  border-radius: 9px;

  background: #ffffff;

  color: #1f2937;

  font-size: 15px;

  outline: none;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}


.form-group input::placeholder {
  color: #a0a8a4;
}


.form-group input:focus {
  border-color: #176247;

  box-shadow:
    0 0 0 3px
    rgba(23, 98, 71, 0.10);
}


/* =========================================
   PASSWORD
========================================= */

.password-container {
  position: relative;
}


.password-container input {
  padding-right: 75px;
}


.show-password-btn {
  position: absolute;

  top: 50%;

  right: 9px;

  transform:
    translateY(-50%);

  border: none;

  background: transparent;

  color: #176247;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  padding: 8px;
}


.show-password-btn:hover {
  color: #0c3d2b;
}


/* =========================================
   LOGIN MESSAGE
========================================= */

.login-message {
  min-height: 21px;

  margin-top: -5px;

  margin-bottom: 10px;

  font-size: 13px;

  line-height: 1.4;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
  width: 100%;

  height: 51px;

  border: none;

  border-radius: 9px;

  background: #123f30;

  color: white;

  font-size: 16px;

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}


.login-btn:hover {
  background: #176247;

  transform:
    translateY(-1px);

  box-shadow:
    0 7px 16px
    rgba(18, 63, 48, 0.18);
}


.login-btn:active {
  transform:
    translateY(0);
}


/* =========================================
   SIGNUP SECTION
========================================= */

.signup-section {
  margin-top: 29px;

  text-align: center;
}


/* =========================================
   DIVIDER
========================================= */

.divider {
  display: flex;

  align-items: center;

  margin-bottom: 19px;

  color: #8a948f;

  font-size: 12px;
}


.divider::before,
.divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #e2e7e4;
}


.divider span {
  padding:
    0 13px;
}


/* =========================================
   SIGNUP TEXT
========================================= */

.signup-section p {
  color: #6b7280;

  font-size: 13px;

  line-height: 1.6;

  margin-bottom: 15px;
}


/* =========================================
   SIGNUP BUTTON
========================================= */

.signup-btn {
  width: 100%;

  height: 49px;

  background: white;

  color: #123f30;

  border:
    2px solid #123f30;

  border-radius: 9px;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s,
    color 0.2s;
}


.signup-btn:hover {
  background: #edf5f1;
}


/* =========================================
   FOOTER
========================================= */

.login-footer {
  margin-top: 30px;

  padding-top: 20px;

  border-top:
    1px solid #edf0ee;

  text-align: center;
}


.login-footer p {
  color: #4b5752;

  font-size: 12px;

  font-weight: 600;

  margin-bottom: 5px;
}


.login-footer span {
  color: #9aa29e;

  font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .brand-section {
    width: 43%;

    padding: 40px;
  }


  .login-section {
    width: 57%;

    padding: 30px;
  }


  .brand-content h1 {
    font-size: 34px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

  .brand-section {
    display: none;
  }


  .login-section {
    width: 100%;

    min-height: 100vh;

    padding: 25px;
  }


  .login-card {
    max-width: 480px;
  }


  .mobile-brand {
    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 22px;

    margin-bottom: 27px;

    border-bottom:
      1px solid #edf0ee;
  }


  .mobile-brand img {
    width: 58px;

    height: 58px;

    object-fit: contain;
  }


  .mobile-brand h2 {
    color: #123f30;

    font-size: 19px;

    margin-bottom: 4px;
  }


  .mobile-brand p {
    color: #77817c;

    font-size: 13px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .login-section {
    padding: 14px;
  }


  .login-card {
    padding:
      28px 22px;

    border-radius: 14px;
  }


  .login-heading h2 {
    font-size: 27px;
  }


  .form-group input,
  .login-btn {
    height: 49px;
  }

}