/* ====================
   Dropdown Pages (Login  / Signup)
==================== */

/* ====================
   Login Page
==================== */


 /* ==============================
   ADVAITAA Flipkart Style Login
   Mercury Green Theme
================================ */

.login-page {
  background: #f1f3f6;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  padding: 30px 15px;
}

.login-box {
  width: 900px;
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

/* LEFT PANEL */
.login-left {
  width: 40%;
  background: linear-gradient(180deg, #2f7d4c, #1f5f38);
  color: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-left h2 {
  font-size: 34px;
  margin: 0;
}

.login-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  opacity: 0.9;
}

.login-illustration {
  margin-top: 30px;
  text-align: center;
}

.login-illustration img {
  max-width: 240px;
  width: 100%;
  opacity: 0.95;
}

/* RIGHT PANEL */
.login-right {
  width: 60%;
  padding: 45px 45px;
  background: white;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  font-size: 13px;
  color: #555;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.form-group input:focus {
  border-bottom: 2px solid #2f7d4c;
}

/* PASSWORD SHOW BUTTON */
.password-group {
  position: relative;
}

.password-group input{
    width:100%;
    padding-right:70px;
}

.show-pass {
  position: absolute;
  right: 5px;
  top: 35px;
  font-size: 14px;
  cursor: pointer;
  color: #2f7d4c;
  font-weight: 600;
  user-select:none;
}

.show-pass:hover{
    color:#00806a;
}

/* TERMS */
.terms {
  font-size: 12px;
  color: #777;
  margin-bottom: 18px;
}

.terms a {
  color: #2f7d4c;
  font-weight: 600;
  text-decoration: none;
}

/* LOGIN BUTTON */
.btn-login {
  width: 100%;
  padding: 14px;
  border: none;
  background: #2f7d4c;
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #25683f;
}

/* DIVIDER */
.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider span {
  background: white;
  padding: 0 12px;
  font-size: 13px;
  color: #888;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background: #ddd;
  z-index: -1;
}

/* OTP BUTTON */
.btn-otp {
  width: 100%;
  padding: 14px;
  border: 2px solid #2f7d4c;
  background: white;
  color: #2f7d4c;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-otp:hover {
  background: #2f7d4c;
  color: white;
}

/* NEW ACCOUNT */
.new-account {
  margin-top: 22px;
  font-size: 14px;
  text-align: center;
  color: #444;
}

.new-account a {
  color: #2f7d4c;
  font-weight: 700;
  text-decoration: none;
}

/* ERROR MESSAGE */
.login-error {
  background: #ffe0e0;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  color: #c00000;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .login-box {
    flex-direction: column;
    width: 100%;
    max-width: 450px;
  }

  .login-left, .login-right {
    width: 100%;
  }

  .login-left {
    text-align: center;
    padding: 30px;
  }
}

 /* ===========================
   AUTH PAGES (Flipkart Style)
   Theme: Mercury Green
   =========================== */

:root{
  --mercury-green: #00a884;
  --mercury-dark: #00806a;
  --text-dark: #111;
  --text-muted: #666;
  --border: #e6e6e6;
  --bg: #f5f7fb;
  --card-bg: #fff;
  --shadow: 0 6px 20px rgba(0,0,0,0.10);
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

body.signup-page,
body.login-page{
  background: var(--bg);
  font-family: var(--font);
}

/* Wrapper Layout */
.signup-wrapper,
.login-wrapper{
  max-width: 950px;
  margin: 50px auto;
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

/* LEFT PANEL (Green Banner) */
.signup-left,
.login-left{
  flex: 1;
  background: var(--mercury-green);
  padding: 45px 35px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signup-left h1,
.login-left h1{
  font-size: 28px;
  margin: 0;
  font-weight: 700;
}

.signup-left p,
.login-left p{
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

/* Illustration */
.signup-illustration,
.login-illustration{
  margin-top: 25px;
  text-align: center;
}

.signup-illustration img,
.login-illustration img{
  width: 85%;
  max-width: 280px;
  opacity: 0.95;
}

/* RIGHT PANEL */
.signup-right,
.login-right{
  flex: 1.3;
  padding: 45px 40px;
  background: white;
}

/* FORM */
.signup-form,
.login-form{
  width: 100%;
}

.signup-form h2,
.login-form h2{
  margin: 0 0 20px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Alerts */
.signup-alert,
.login-alert{
  background: #ffe7e7;
  border: 1px solid #ffb7b7;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 15px;
  color: #c10000;
}

/* Input Group */
.input-group{
  margin-bottom: 15px;
}

.input-group label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.input-group input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.input-group input:focus{
  border-color: var(--mercury-green);
  box-shadow: 0 0 0 3px rgba(0,168,132,0.15);
}

/* Password Show Button */
.password-group{
  position: relative;
}

.password-group .show-btn{
  position: absolute;
  right: 12px;
  top: 37px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mercury-green);
  cursor: pointer;
  user-select: none;
}

/* Terms text */
.terms-text{
  font-size: 12px;
  color: var(--text-muted);
  margin: 15px 0;
  line-height: 1.5;
}

.terms-text a{
  color: var(--mercury-green);
  font-weight: 600;
  text-decoration: none;
}

.terms-text a:hover{
  text-decoration: underline;
}

/* Buttons */
.primary-btn{
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: var(--mercury-green);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.primary-btn:hover{
  background: var(--mercury-dark);
}

/* Bottom Text */
.signup-bottom,
.login-bottom{
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #333;
}

.signup-bottom a,
.login-bottom a{
  color: var(--mercury-green);
  font-weight: 700;
  text-decoration: none;
}

.signup-bottom a:hover,
.login-bottom a:hover{
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE (Mobile)
   =========================== */
@media (max-width: 900px){

  .signup-wrapper,
  .login-wrapper{
    flex-direction: column;
    margin: 25px 12px;
  }

  .signup-left,
  .login-left{
    padding: 30px 25px;
    text-align: center;
  }

  .signup-right,
  .login-right{
    padding: 30px 20px;
  }

  .signup-illustration img,
  .login-illustration img{
    max-width: 220px;
  }
}