@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Prata&display=swap');

:root { --navy:#073b75; --blue:#086fc5; --cyan:#26bde2; --red:#ed364d; --ink:#123152; --muted:#6c7d90; --line:#dce7f1; --paper:#f5f9fc; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin:0; min-width:320px; font-family:"Manrope", sans-serif; color:var(--ink); background:var(--paper); }
.login-shell { min-height:100vh; display:grid; grid-template-columns:minmax(520px,1.08fr) minmax(460px,.92fr); }
.identity-panel { position:relative; overflow:hidden; min-height:100vh; padding:52px clamp(48px,7vw,112px); color:white; display:flex; flex-direction:column; background:linear-gradient(145deg,#063261 0%,#07549a 56%,#087cc3 100%); }
.identity-panel::before { content:""; position:absolute; inset:0; opacity:.08; background-image:linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px); background-size:52px 52px; mask-image:linear-gradient(to bottom,black,transparent 86%); }
.identity-panel::after { content:""; position:absolute; width:520px; height:520px; right:-210px; top:120px; border:1px solid rgba(255,255,255,.19); border-radius:48% 52% 43% 57%; transform:rotate(20deg); box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 95px rgba(255,255,255,.018); }
.identity-glow { position:absolute; border-radius:50%; filter:blur(2px); }
.identity-glow.one { width:340px; height:340px; left:-150px; bottom:-130px; background:rgba(38,189,226,.23); }
.identity-glow.two { width:8px; height:8px; right:25%; top:19%; background:white; box-shadow:0 0 30px 12px rgba(38,189,226,.42); }
.clinic-brand { position:relative; z-index:2; display:flex; align-items:center; gap:16px; }
.tooth-mark { width:56px; height:56px; fill:none; stroke:#72dcf1; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.tooth-mark .pulse { stroke:#ff6275; stroke-width:2.8; }
.clinic-brand strong,.clinic-brand span { display:block; line-height:1.05; }
.clinic-brand strong { font-size:23px; letter-spacing:.01em; }.clinic-brand span { color:#8be5f5; font-size:14px; margin-top:5px; letter-spacing:.13em; text-transform:uppercase; }
.identity-copy { position:relative; z-index:2; max-width:660px; margin:auto 0; padding:70px 0; }
.overline { margin:0 0 16px; color:#40cae8; font-size:11px; line-height:1; font-weight:700; letter-spacing:.17em; text-transform:uppercase; }
.identity-copy h1 { margin:0; font-family:"Prata",serif; font-size:clamp(54px,6vw,86px); line-height:1.08; font-weight:400; letter-spacing:-.035em; }
.identity-copy > p:last-child { max-width:570px; margin:30px 0 0; color:rgba(255,255,255,.7); font-size:15px; line-height:1.8; }
.identity-facts { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding-top:28px; border-top:1px solid rgba(255,255,255,.15); }
.identity-facts > div { display:flex; gap:12px; align-items:flex-start; }.identity-facts b { font-family:"Prata",serif; font-size:28px; font-weight:400; }.identity-facts span { color:rgba(255,255,255,.55); font-size:10px; line-height:1.45; text-transform:uppercase; letter-spacing:.08em; }
.form-panel { min-height:100vh; display:grid; place-items:center; padding:50px clamp(35px,7vw,100px); background:radial-gradient(circle at 100% 0,rgba(38,189,226,.11),transparent 32%),#fff; }
.form-wrap { width:min(100%,430px); animation:enter .55s ease both; }.mobile-brand { display:none; }
.form-wrap h2 { margin:0; font-family:"Prata",serif; font-size:44px; line-height:1.1; font-weight:400; letter-spacing:-.03em; }.form-intro { margin:15px 0 32px; color:var(--muted); font-size:13px; line-height:1.65; }
.login-error { display:none; margin:0 0 20px; padding:13px 15px; color:#9d2634; background:#fff0f2; border:1px solid #ffd0d7; border-radius:12px; font-size:11px; line-height:1.5; }.login-error.visible { display:block; }.login-error b { display:block; font-size:12px; }
form { display:grid; gap:20px; }label > span { display:block; margin:0 0 8px; color:#395a78; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.field { height:54px; display:flex; align-items:center; gap:11px; padding:0 14px; border:1px solid var(--line); border-radius:13px; background:#fbfdff; transition:.2s ease; }.field:focus-within { border-color:#5abfe2; background:white; box-shadow:0 0 0 4px rgba(38,189,226,.11); }
.field svg,.security-note svg { flex:0 0 auto; width:19px; height:19px; fill:none; stroke:#8aa1b5; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }.field input { min-width:0; flex:1; height:100%; border:0; outline:0; background:transparent; color:var(--ink); font:600 14px "Manrope",sans-serif; }.field button { border:0; background:transparent; color:var(--blue); font:600 10px "Manrope",sans-serif; cursor:pointer; }
.submit-button { height:56px; margin-top:6px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:13px; color:white; background:linear-gradient(110deg,var(--navy),var(--blue)); box-shadow:0 16px 34px rgba(8,89,157,.22); cursor:pointer; font:700 13px "Manrope",sans-serif; transition:.2s ease; }.submit-button i { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.14); font-style:normal; }.submit-button:hover { transform:translateY(-2px); box-shadow:0 20px 40px rgba(8,89,157,.27); }
.security-note { margin-top:30px; padding-top:20px; border-top:1px solid var(--line); display:flex; gap:10px; align-items:flex-start; color:#8a9aaa; font-size:10px; line-height:1.55; }.security-note svg { stroke:#26a7ca; }
@keyframes enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@media (max-width:900px) { .login-shell { grid-template-columns:1fr; }.identity-panel { display:none; }.form-panel { min-height:100vh; padding:32px 22px; }.mobile-brand { display:flex; align-items:center; gap:10px; margin-bottom:56px; color:var(--navy); }.mobile-mark { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:white; background:linear-gradient(135deg,var(--blue),var(--cyan)); font-size:11px; font-weight:800; }.form-wrap h2 { font-size:37px; } }
