/* Login page — Bold Corporate Blue split-panel */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}

:root{
  --brand:#1565C0;--brand-light:#1976D2;--brand-dark:#0D3B8C;--navy:#0D2353;
  --surface:#fff;--bg:#F4F7FB;--txt:#0f172a;--txt2:#475569;--txt3:#94a3b8;
  --border:#e2e8f0;--radius:12px;--radius-xs:8px;
}

html,body{height:100%;font-family:'Inter',sans-serif;background:var(--bg)}

/* ── Layout ──────────────────────────────────── */
.login-wrap{display:flex;min-height:100vh}

/* Left brand panel */
.login-left{
  flex:0 0 480px;
  background:linear-gradient(150deg,var(--navy) 0%,var(--brand-dark) 50%,var(--brand) 100%);
  display:flex;flex-direction:column;justify-content:space-between;
  padding:52px 52px 44px;position:relative;overflow:hidden;
}
.login-left::before{
  content:'';position:absolute;top:-140px;right:-140px;
  width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.10) 0%,transparent 70%);
  pointer-events:none;
}
.login-left::after{
  content:'';position:absolute;bottom:-100px;left:-100px;
  width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.06) 0%,transparent 70%);
  pointer-events:none;
}

/* Brand logo */
.brand-area{position:relative;z-index:1}
.brand-logo{display:inline-flex;align-items:center;gap:14px;text-decoration:none;margin-bottom:60px}
.brand-logo-icon{
  width:48px;height:48px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.25);
  border-radius:12px;display:flex;align-items:center;justify-content:center;
}
.brand-logo-icon img{width:28px;height:auto;border-radius:6px}
.brand-name{font-size:22px;font-weight:800;color:#fff;letter-spacing:-0.03em}

.brand-tagline{
  font-size:32px;font-weight:800;color:#fff;
  line-height:1.18;letter-spacing:-0.03em;margin-bottom:18px;
}
.brand-tagline span{color:#90CAF9}
.brand-desc{font-size:14.5px;color:rgba(255,255,255,.68);line-height:1.75;max-width:360px}

/* Feature list */
.feature-list{margin-top:40px;display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
.feature-item{
  display:flex;align-items:center;gap:14px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;padding:13px 17px;
}
.feature-icon{
  width:34px;height:34px;border-radius:8px;
  background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.feature-icon .glyphicon{color:#90CAF9;font-size:14px}
.feature-text{font-size:13.5px;color:rgba(255,255,255,.85);font-weight:500}

.left-footer{font-size:12px;color:rgba(255,255,255,.35);position:relative;z-index:1;margin-top:32px}

/* Right form panel */
.login-right{
  flex:1;display:flex;align-items:center;justify-content:center;
  padding:40px 24px;
  background:linear-gradient(160deg,#f0f4ff 0%,#F4F7FB 50%,#eef2f9 100%);
}

.login-card{
  width:100%;max-width:440px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:18px;
  box-shadow:0 24px 64px rgba(13,35,83,.16),0 1px 2px rgba(255,255,255,.8) inset;
  border:1px solid rgba(255,255,255,.6);
  padding:48px 44px;
  border-top:5px solid var(--brand);
}

/* Alert bars */
.msg-bar{border-radius:8px;padding:12px 15px;font-size:13px;font-weight:500;margin-bottom:22px}
.msg-bar.error{background:#fef2f2;color:#b91c1c;border-left:4px solid #ef4444}
.msg-bar.info{background:#eff6ff;color:#1565C0;border-left:4px solid #1565C0}

/* Card header */
.card-header{margin-bottom:28px;text-align:center}
.card-header h2{font-size:26px;font-weight:800;color:var(--txt);letter-spacing:-0.03em;margin-bottom:6px}
.card-header p{font-size:14px;color:var(--txt3)}

/* Form fields */
.field-group{margin-bottom:18px}
.field-label{display:block;font-size:13px;font-weight:600;color:var(--txt2);margin-bottom:7px}
.field-wrap{position:relative}
.field-icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  color:var(--txt3);font-size:14px;pointer-events:none;
}
.field-input{
  width:100%;height:48px;
  border:1.5px solid var(--border);border-radius:var(--radius-xs);
  padding:0 14px 0 42px;
  font-family:'Inter',sans-serif;font-size:14px;color:var(--txt);
  background:var(--surface);
  transition:border-color .18s,box-shadow .18s;outline:none;
}
.field-input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(21,101,192,.14)}
.field-input::placeholder{color:var(--txt3)}

/* Language row */
.locale-row{display:flex;align-items:center;gap:6px;margin-bottom:22px}
.locale-row span{font-size:12px;color:var(--txt3)}
.locale-link{
  font-size:12px;color:var(--brand);font-weight:500;text-decoration:none;
  padding:3px 10px;border-radius:5px;background:rgba(21,101,192,.07);
  transition:background .15s;
}
.locale-link:hover{background:rgba(21,101,192,.15);text-decoration:none;color:var(--brand)}

/* Primary button */
.btn-signin{
  width:100%;height:50px;
  background:linear-gradient(135deg,#0D2353 0%,#0D3B8C 50%,#1565C0 100%);
  color:#fff;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;
  border:none;border-radius:var(--radius-xs);cursor:pointer;
  transition:all .2s;
  letter-spacing:-0.01em;
  box-shadow:0 6px 20px rgba(13,59,140,.4);
  position:relative;overflow:hidden;
}
.btn-signin::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.15),transparent);
  border-radius:inherit;
}
.btn-signin:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(13,59,140,.55)}
.btn-signin:active{transform:translateY(0);box-shadow:0 4px 12px rgba(13,59,140,.3)}

/* Divider */
.divider{display:flex;align-items:center;gap:12px;margin:22px 0}
.divider-line{flex:1;height:1px;background:var(--border)}
.divider-text{font-size:12px;color:var(--txt3);white-space:nowrap}

/* Register / secondary link */
.register-link{
  display:block;text-align:center;width:100%;height:46px;line-height:44px;
  border:1.5px solid var(--border);border-radius:var(--radius-xs);
  font-size:14px;font-weight:500;color:var(--txt2);text-decoration:none;
  transition:all .18s;
}
.register-link:hover{border-color:var(--brand);color:var(--brand);background:rgba(21,101,192,.04);text-decoration:none}

/* Footer note */
.card-footer-note{text-align:center;margin-top:20px;font-size:12.5px;color:var(--txt3)}
.appt-link{color:var(--brand);font-weight:600;text-decoration:none}
.appt-link:hover{text-decoration:underline;color:var(--brand-dark)}

/* ── Responsive ──────────────────────────────── */
@media(max-width:860px){
  .login-left{display:none}
  .login-right{padding:24px 16px}
  .login-card{padding:36px 28px;border-radius:14px}
}
@media(max-width:480px){
  .login-right{padding:16px 12px}
  .login-card{padding:28px 18px;border-radius:12px}
  .card-header h2{font-size:22px}
  .brand-tagline{font-size:26px}
  .btn-signin{font-size:14px;height:46px}
}
