html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left,
      rgba(110,20,20,0.12),
      transparent 35%),
    linear-gradient(
      135deg,
      #fff8f2 0%,
      #ffffff 55%,
      #f7f1ec 100%
    );
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 980px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 24px 70px rgba(72,20,12,0.16);
}

/* LEFT PANEL */

.login-left {
  width: 42%;
  background:
    linear-gradient(
      160deg,
      #4d0d08 0%,
      #7b1e16 55%,
      #a3291e 100%
    );

  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 60px 40px;
  text-align: center;
}

.login-left img {
  width: 240px;
  max-width: 100%;
  margin-bottom: 24px;
}

.brand-text h1 {
  margin: 0;
  font-size: 54px;
  font-weight: 800;
}

.brand-text p {
  margin-top: 12px;
  font-size: 18px;
  opacity: 0.9;
}

/* RIGHT PANEL */

.login-right {
  width: 58%;
  padding: 70px 60px 50px;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2d1a16;
  font-size: 14px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid #ddd4cf;
  padding: 0 18px;
  font-size: 15px;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #7b1e16;
  box-shadow: 0 0 0 4px rgba(123,30,22,0.12);
}

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 48px;
}

.form-input-password-eye {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #8a7d79;
  cursor: pointer;
}

.forgot-link {
  display: block;
  text-align: right;
  margin-top: 10px;
  color: #7b1e16;
  font-size: 14px;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-login,
.btn-create {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.btn-login {
  background: #8f2219;
  color: white;
  margin-top: 28px;
}

.btn-login:hover {
  background: #681710;
}

.divider {
  margin: 28px 0 18px;
  display: flex;
  align-items: center;
  color: #998983;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7dfdb;
}

.divider span {
  padding: 0 14px;
}

.btn-create {
  background: #168a53;
  color: white;
}

.btn-create:hover {
  background: #0f7041;
}

#poweredby {
  margin-top: 28px;
  text-align: center;
}

#poweredby img {
  max-width: 120px;
  opacity: 0.7;
}

#login_error {
  margin-top: 18px;
}

/* MOBILE */

@media (max-width: 900px) {

  .login-card {
    flex-direction: column;
  }

  .login-left,
  .login-right {
    width: 100%;
  }

  .login-left {
    padding: 42px 30px;
  }

  .login-left img {
    width: 150px;
    margin-bottom: 18px;
  }

  .brand-text h1 {
    font-size: 42px;
  }

  .brand-text p {
    font-size: 15px;
  }

  .login-right {
    padding: 40px 24px 30px;
  }
}


.account-card {
  max-width: 1080px;
}

.form-title {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: 800;
  color: #2d1a16;
}

.field-error {
  margin-top: 8px;
  color: #b42318;
  font-size: 13px;
}

.btn-create-account,
.btn-login-secondary {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.btn-create-account {
  background: #168a53;
  color: #fff;
  margin-top: 24px;
}

.btn-create-account:hover {
  background: #0f7041;
}

.btn-login-secondary {
  background: #8f2219;
  color: #fff;
}

.btn-login-secondary:hover {
  background: #681710;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  display: block;
  padding: 46px 38px 38px;
  text-align: center;
  box-sizing: border-box;
}

.auth-card .brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}

.auth-card .brand-row img {
  width: 115px;
  height: auto;
}

.auth-card .brand-text {
  text-align: left;
}

.auth-card .brand-text h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  color: #2d1a16;
}

.auth-card .brand-text p {
  margin: 8px 0 0;
  font-size: 15px;
  color: #6f5d58;
}

.status-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.status-icon--success {
  background: rgba(22, 138, 83, 0.12);
  color: #168a53;
}

.auth-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  color: #2d1a16;
}

.auth-copy {
  margin: 0 0 28px;
  color: #6f5d58;
  font-size: 16px;
  line-height: 1.5;
}

.auth-card .btn-login {
  width: 100%;
  margin-top: 0;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #7b1e16;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
}

.auth-link:hover {
  color: #4d0d08;
  transform: translateX(-2px);
}