/* ============================= */
/* AUTH PAGE BACKGROUND LAYOUT   */
/* ============================= */

body.auth-bg {
  background: url('/static/image/login_background.jpg') no-repeat center / cover;

  min-height: 100vh;
  min-height: 100dvh;   /* mobile viewport fix */

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  padding: 0 9%;
  box-sizing: border-box;

  overflow-x: hidden;
  overflow-y: auto;
}


/* ============================= */
/* LEFT CONTENT                  */
/* ============================= */

.auth-left {
  max-width: 620px;
  color: #0a2540;
}

.auth-left h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
}

.auth-left p {
  font-size: 18px;
  color: #3a3a3a;
  line-height: 1.6;
  margin-bottom: 12px;
}

.auth-left ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.auth-left ul li {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.auth-left ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #004aad;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}


/* ============================= */
/* HOW IT WORKS                  */
/* ============================= */

.how-it-works {
  margin-top: 20px;
}

.how-it-works ul {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
}

.how-it-works ul li {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 8px;
  counter-increment: step;
}

.how-it-works ul li::before {
  content: counter(step);
  width: 22px;
  height: 22px;
  background: #5b95e1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  margin-right: 10px;
}


/* ============================= */
/* LOGIN CARD                    */
/* ============================= */

.auth-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);

  padding: 35px;
  width: 100%;
  max-width: 400px;

  text-align: center;
  border-radius: 12px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.15),
    0 20px 40px rgba(0,0,0,0.10);
}

.logo {
  width: 50%;
  max-width: 180px;
  margin-bottom: 15px;
}


/* ============================= */
/* FORM ELEMENTS                 */
/* ============================= */

input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: #004aad;
}

button {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 20px auto;
  padding: 10px;
  background: #004aad;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
}

button:hover {
  background: #003a8c;
}


/* ============================= */
/* MESSAGES                      */
/* ============================= */

.error { color: #ff4d4d; font-size: 14px; }
.success {
  color: #2e7d32;
  background: #e6ffe6;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.switch { margin-top: 12px; font-size: 14px; }
.switch a { color: #004aad; text-decoration: none; }
.switch a:hover { text-decoration: underline; }


/* ================================================= */
/* LARGE TABLETS & SMALL LAPTOPS (≤1024px)          */
/* ================================================= */

@media (max-width: 1024px) {

  body.auth-bg {
    padding: 40px 6%;
    gap: 30px;
  }

  .auth-left h1 {
    font-size: 34px;
  }

}


/* ================================================= */
/* TABLET VIEW (≤768px)  ⭐ IMPORTANT BREAKPOINT     */
/* ================================================= */

@media (max-width: 768px) {

  body.auth-bg {
    flex-direction: column;     /* ✅ stack */
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .auth-left {
    max-width: 520px;
  }

  .auth-left h1 {
    font-size: 28px;
  }

  .auth-left p,
  .auth-left ul li {
    font-size: 16px;
  }

  .auth-card {
    max-width: 380px;
    width: 100%;
  }

}


/* ================================================= */
/* MOBILE PHONES (≤480px)                            */
/* ================================================= */

@media (max-width: 480px) {

  .auth-left h1 {
    font-size: 22px;
  }

  .auth-left p {
    font-size: 14px;
  }

  .auth-card {
    padding: 25px 20px;
  }

  button {
    font-size: 14px;
  }

}


/* ============================= */
/* CLIENT INFO PAGE              */
/* ============================= */

.client-bg {
  min-height: 100vh;
  background: url('/static/image/login_background.jpg') no-repeat center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.client-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  text-align: center;
}

.client-card h2 {
  margin-bottom: 10px;
}

.client-card input {
  margin-bottom: 12px;
}

.client-card button {
  margin-top: 10px;
}

