
/* ============================================================
   Wated Health — Luxury Minimal Login
   Senior Product UI Direction
   ============================================================ */

:root{
  --bg-a:#f7f1dc;
  --bg-b:#d7cba4;
  --ink:#171513;
  --text:#2d2924;
  --muted:#8d8373;
  --gold:#b88722;
  --gold-2:#d4ad4c;
  --gold-dark:#805811;
  --ivory:#fffdf8;
  --line:#eadfce;
  --soft:#fbf7ed;
  --green:#16a36c;
  --error:#b42318;
  --shadow:0 42px 120px rgba(63,51,24,.22);
  --shadow-soft:0 18px 44px rgba(45,36,20,.10);
  --font:'Tajawal',Tahoma,Arial,sans-serif;
}

*{box-sizing:border-box}
html,body{min-height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:
    radial-gradient(circle at 18% 18%,rgba(255,255,255,.78),transparent 24%),
    radial-gradient(circle at 82% 10%,rgba(255,255,255,.42),transparent 22%),
    linear-gradient(135deg,var(--bg-a),var(--bg-b));
}

button,input,a{font-family:inherit}
a{text-decoration:none;color:inherit}

.login-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:34px;
  position:relative;
  overflow:hidden;
}

.login-page:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,255,255,.32),transparent 38%),
    linear-gradient(90deg,rgba(255,255,255,.0),rgba(255,255,255,.18),rgba(255,255,255,.0));
  pointer-events:none;
}

.login-shell{
  width:min(1060px,100%);
  min-height:650px;
  position:relative;
  z-index:2;
  border-radius:38px;
  overflow:hidden;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(255,255,255,.86);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
  display:grid;
  grid-template-columns:1fr 420px;
}

.login-ambient{
  position:relative;
  min-width:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 28% 24%,rgba(255,255,255,.90),transparent 22%),
    linear-gradient(135deg,#fffaf0 0%,#ead9aa 100%);
}

.login-ambient:before{
  content:"";
  position:absolute;
  width:660px;
  height:660px;
  border-radius:50%;
  right:-240px;
  top:-210px;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.58);
}

.login-ambient:after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  left:78px;
  bottom:56px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.40);
  box-shadow:inset 0 0 0 44px rgba(255,255,255,.08);
}

.brand-corner{
  position:absolute;
  top:42px;
  right:42px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-mark{
  width:56px;
  height:56px;
  border-radius:20px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#fff,#f2dfb4);
  border:1px solid rgba(184,136,34,.22);
  box-shadow:0 18px 42px rgba(90,66,20,.15);
}

.brand-mark svg{width:35px;height:35px}

.brand-text strong{
  display:block;
  font-size:21px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.3px;
}

.brand-text span{
  display:block;
  margin-top:7px;
  color:#817662;
  font-size:12px;
  font-weight:800;
}

.ambient-copy{
  position:absolute;
  z-index:3;
  right:56px;
  bottom:56px;
  max-width:520px;
}

.ambient-copy h1{
  margin:0 0 16px;
  font-size:42px;
  line-height:1.2;
  letter-spacing:-1px;
  font-weight:900;
}

.ambient-copy p{
  margin:0;
  color:#766c5b;
  font-size:15px;
  line-height:1.95;
  font-weight:700;
  max-width:500px;
}

.health-line{
  position:absolute;
  z-index:3;
  left:54px;
  top:50%;
  transform:translateY(-50%);
  width:200px;
  height:200px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.42);
  display:grid;
  place-items:center;
}

.health-line svg{
  width:132px;
  height:132px;
  stroke:rgba(128,88,17,.48);
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.login-panel{
  background:var(--ivory);
  padding:46px 44px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.login-card{
  width:100%;
}

.mobile-brand{display:none}

.login-title{
  margin:0;
  font-size:32px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.6px;
}

.login-subtitle{
  margin:10px 0 30px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.alert{
  border-radius:15px;
  padding:12px 14px;
  margin-bottom:16px;
  font-size:13px;
  font-weight:900;
}

.alert-error{
  background:#fff0ef;
  color:var(--error);
  border:1px solid #ffd1ce;
}

.field{margin-bottom:17px}

.field-label{
  display:block;
  margin-bottom:9px;
  color:#4b443a;
  font-size:13px;
  font-weight:900;
}

.control{
  position:relative;
}

.control-input{
  width:100%;
  height:52px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  outline:none;
  color:var(--text);
  padding:0 46px 0 16px;
  font-size:15px;
  font-weight:800;
  transition:.18s ease;
}

.control-input::placeholder{
  color:#c5baa8;
  font-weight:700;
}

.control-input:focus{
  border-color:#cfad5b;
  box-shadow:0 0 0 4px rgba(184,136,34,.10);
}

.control-icon{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  color:#9a9182;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
}

.control-icon svg,
.password-toggle svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.password-toggle{
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:0;
  border-radius:13px;
  background:#f7f1e6;
  color:#6b6256;
  display:grid;
  place-items:center;
}

.form-options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:6px 0 24px;
}

.remember{
  display:flex;
  align-items:center;
  gap:8px;
  color:#665d51;
  font-size:13px;
  font-weight:800;
}

.remember input{
  width:17px;
  height:17px;
  accent-color:var(--gold);
}

.forgot{
  color:var(--gold-dark);
  font-size:13px;
  font-weight:900;
}

.submit-btn{
  width:100%;
  height:52px;
  border:0;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 18px 34px rgba(184,136,34,.24);
  font-size:15px;
  font-weight:900;
  transition:.18s ease;
  cursor:pointer;
}

.submit-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 24px 44px rgba(184,136,34,.28);
}

.secure-strip{
  margin-top:22px;
  border-radius:18px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#fbf7ee;
  border:1px solid #efe4d2;
}

.secure-strip svg{
  width:22px;
  height:22px;
  stroke:var(--green);
  fill:none;
  stroke-width:2;
  flex:0 0 auto;
}

.secure-strip strong{
  display:block;
  font-size:13px;
  font-weight:900;
}

.secure-strip span{
  display:block;
  margin-top:4px;
  color:#918674;
  font-size:12px;
  line-height:1.55;
  font-weight:700;
}

.copy{
  margin-top:20px;
  text-align:center;
  color:#b0a694;
  font-size:12px;
  font-weight:800;
}

@media(max-width:980px){
  .login-shell{grid-template-columns:1fr 390px}
  .ambient-copy h1{font-size:36px}
  .health-line{display:none}
}

@media(max-width:820px){
  .login-page{padding:0}
  .login-shell{
    min-height:100vh;
    border-radius:0;
    grid-template-columns:1fr;
  }
  .login-ambient{display:none}
  .login-panel{padding:26px}
  .mobile-brand{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:30px;
  }
}

@media(max-width:460px){
  .login-panel{padding:20px}
  .login-title{font-size:29px}
  .form-options{
    flex-direction:column;
    align-items:flex-start;
  }
}
