/* =====================================================
   Seven Oasis Customer Portal Auth Interface
   Upload to: external/css/customer_auth_elegant.css
===================================================== */
:root{
  --primary:#007734;
  --primary-dark:#005c28;
  --primary-soft:#eaf7ef;
  --gold:#c8a25a;
  --gold-soft:#fff7e6;
  --ink:#17211b;
  --muted:#6b7280;
  --line:#e4eee7;
  --panel:#ffffff;
  --page:#f4f8f3;
  --danger:#b91c1c;
  --shadow:0 24px 70px rgba(15,52,31,.16);
  --shadow-soft:0 12px 30px rgba(15,52,31,.10);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins", sans-serif;
}

html,body{
  min-height:100%;
}

body{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(200,162,90,.22), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(0,119,52,.14), transparent 34%),
    linear-gradient(145deg,#fbfdfb 0%,#f1f8f2 48%,#ffffff 100%);
  overflow-x:hidden;
}

.auth-shell{
  width:min(1120px,100%);
  min-height:680px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(228,238,231,.86);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.auth-brand-panel{
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:42px;
  color:#fff;
  background:
    linear-gradient(145deg,rgba(0,119,52,.95),rgba(0,92,40,.96)),
    url("../image/seven-oasis.png");
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.auth-brand-panel:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.16),transparent 26%),
    radial-gradient(circle at 90% 8%,rgba(200,162,90,.38),transparent 22%);
}

.auth-brand-panel:after{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  border-radius:50%;
  right:-130px;
  bottom:-130px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
}

.brand-card{
  position:relative;
  z-index:1;
  max-width:520px;
}

.brand-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  color:#ffe7a8;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:16px;
}

.brand-card h1{
  font-size:46px;
  line-height:1.05;
  font-weight:800;
  margin-bottom:14px;
}

.brand-card p{
  color:rgba(255,255,255,.82);
  font-size:15px;
  line-height:1.7;
  margin-bottom:24px;
}

.brand-highlights{
  display:grid;
  gap:12px;
}

.brand-highlights div{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(12px);
  font-weight:600;
}

.brand-highlights i{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(200,162,90,.26);
  color:#ffe7a8;
}

.auth-form-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:42px 36px;
}

.login-container{
  width:100%;
  max-width:430px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:28px;
  padding:34px;
  text-align:center;
  box-shadow:var(--shadow-soft);
  position:relative;
  overflow:hidden;
}

.login-container:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,var(--primary),var(--gold));
}

.portal-logo{
  height:86px;
  display:block;
  margin:4px auto 14px;
  padding:8px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,52,31,.10);
}

#formTitle{
  font-size:22px;
  color:var(--ink);
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:4px;
}

#formSubtitle{
  margin-bottom:22px;
  font-size:12px;
  font-weight:800;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.12em;
}

.input-group{
  position:relative;
  display:block !important;
  margin-bottom:15px;
  text-align:left;
}

.input-group label{
  display:block;
  font-size:12px;
  color:#14532d;
  margin-bottom:7px;
  font-weight:700;
}

.input-group input{
  width:100%;
  height:46px;
  padding:11px 42px;
  border:1px solid #cfe7d6;
  border-radius:14px !important;
  outline:none;
  font-size:14px;
  background:#fbfefc;
  color:#1f2937;
  transition:.2s ease;
  box-shadow:none !important;
}

.input-group input:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(0,119,52,.12) !important;
  background:white;
}

.input-group .icon{
  position:absolute;
  top:39px;
  left:15px;
  color:var(--primary);
  font-size:14px;
  z-index:2;
}

.input-group .toggle-password{
  position:absolute;
  top:39px;
  right:15px;
  cursor:pointer;
  color:var(--primary);
  font-size:14px;
  z-index:2;
}

.btn,
.btn-primary,
.btn-success,
.btn-secondary,
#btn-cancel{
  min-height:46px;
  border-radius:14px !important;
  font-size:13px;
  font-weight:800 !important;
  transition:.2s ease;
}

.btn-primary,
.btn-success{
  width:100%;
  background:linear-gradient(135deg,var(--primary),#0b9447) !important;
  color:white !important;
  border:none !important;
  box-shadow:0 10px 24px rgba(0,119,52,.20);
}

.btn-primary:hover,
.btn-success:hover{
  transform:translateY(-2px);
  filter:brightness(1.02);
  box-shadow:0 14px 30px rgba(0,119,52,.28);
}

.btn-secondary,
#btn-cancel{
  background:#fffaf0 !important;
  color:var(--primary) !important;
  border:1px solid rgba(200,162,90,.55) !important;
}

.btn-secondary:hover,
#btn-cancel:hover{
  background:#fff4d8 !important;
  transform:translateY(-1px);
}

.extra-links{
  margin-top:16px;
  font-size:12px;
  color:var(--muted);
}

.extra-links a{
  color:var(--primary);
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
}

.extra-links a:hover{
  color:var(--gold);
  text-decoration:underline;
}

#registerForm,
#otpForm,
#forgotForm,
#resetForm{
  display:none;
}

#otpForm .input-group input,
#forgotForm .input-group input{
  padding-left:16px;
}

#resendOtpBtn{
  margin-top:14px;
  width:100%;
}

.spinner-border-sm{
  margin-right:6px;
}

@media(max-width:900px){
  body{
    padding:16px;
  }

  .auth-shell{
    grid-template-columns:1fr;
    min-height:0;
  }

  .auth-brand-panel{
    min-height:260px;
    align-items:center;
    padding:30px;
  }

  .brand-card h1{
    font-size:34px;
  }

  .auth-form-panel{
    padding:24px;
  }
}

@media(max-width:480px){
  body{
    padding:0;
    align-items:stretch;
  }

  .auth-shell{
    min-height:100vh;
    border-radius:0;
    border:0;
  }

  .auth-brand-panel{
    display:none;
  }

  .auth-form-panel{
    padding:18px;
  }

  .login-container{
    max-width:100%;
    padding:28px 22px;
    border-radius:24px;
  }

  .portal-logo{
    height:76px;
  }

  input{
    font-size:16px !important;
  }
}
