/* Extracted from register.php; block 1 */
:root{
 --red:#e50920;--red-dark:#a80014;--gold:#f7c948;
 --bg:#f5f6fa;--card:rgba(255,255,255,.96);--text:#171923;
 --muted:#747b89;--line:#e3e6ed;--shadow:0 26px 75px rgba(18,22,35,.17);
}
*{box-sizing:border-box}
html,body{width:100%;min-height:100%;margin:0}
body{
 min-height:100svh;overflow-x:hidden;
 font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 color:var(--text);
 background:
  radial-gradient(circle at 5% 8%,rgba(247,201,72,.20),transparent 25%),
  radial-gradient(circle at 95% 92%,rgba(229,9,32,.12),transparent 30%),
  linear-gradient(135deg,#fff,#f3f4f8 55%,#fff);
}
.page{min-height:100svh;width:100%;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr)}
.brand{
 position:relative;overflow:hidden;min-height:100svh;
 display:flex;align-items:center;justify-content:center;padding:55px;
 text-align:center;color:#fff;
 background:
  radial-gradient(circle at 80% 15%,rgba(247,201,72,.24),transparent 24%),
  linear-gradient(145deg,#240005 0%,#850011 46%,#e50920 100%);
}
.brand:before,.brand:after{content:"";position:absolute;border:1px solid rgba(247,201,72,.27);border-radius:50%;pointer-events:none}
.brand:before{width:530px;height:530px;right:-255px;top:-250px;box-shadow:0 0 0 55px rgba(247,201,72,.045),0 0 0 120px rgba(247,201,72,.025)}
.brand:after{width:350px;height:350px;left:-205px;bottom:-220px;border-color:rgba(255,255,255,.14)}
.brand-inner{position:relative;z-index:2;width:min(600px,100%)}
.logo{
 width:clamp(110px,18vw,165px);height:clamp(110px,18vw,165px);
 object-fit:contain;padding:15px;margin:0 auto 22px;display:block;
 border-radius:40px;background:rgba(0,0,0,.22);
 border:1px solid rgba(247,201,72,.58);
 box-shadow:0 20px 60px rgba(0,0,0,.28),inset 0 0 30px rgba(247,201,72,.07);
}
.brand h1{margin:0;font-size:clamp(43px,6vw,72px);line-height:1;font-weight:950;letter-spacing:.035em}
.brand h1 span{color:var(--gold)}
.tag{margin-top:14px;font-size:14px;letter-spacing:.2em;text-transform:uppercase;opacity:.92}
.line{width:105px;height:4px;margin:23px auto;border-radius:20px;background:linear-gradient(90deg,var(--red),var(--gold),var(--red))}
.copy{max-width:500px;margin:auto;color:rgba(255,255,255,.82);line-height:1.7;font-size:14px}
.steps{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:27px}
.step{padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:11px}
.step b{color:var(--gold)}

.form-side{min-width:0;display:flex;align-items:center;justify-content:center;padding:35px 25px}
.card{
 width:min(590px,100%);padding:clamp(24px,4vw,40px);
 border-radius:29px;background:var(--card);border:1px solid #fff;
 box-shadow:var(--shadow);backdrop-filter:blur(18px);
}
.head{display:flex;align-items:center;gap:13px;margin-bottom:23px}
.icon{
 width:51px;height:51px;flex:0 0 51px;display:grid;place-items:center;
 border-radius:16px;color:#fff;background:linear-gradient(145deg,var(--red),var(--red-dark));
 box-shadow:0 11px 27px rgba(229,9,32,.24)
}
.icon svg{width:25px;height:25px}
h2{margin:0;font-size:27px;letter-spacing:-.025em}
.sub{margin:5px 0 0;color:var(--muted);font-size:13px}

.ref{
 padding:14px;margin-bottom:18px;border-radius:15px;
 background:linear-gradient(135deg,#fff9e4,#fffdf6);
 border:1px solid #efd47b;color:#705500;
}
.ref-title{display:flex;align-items:center;gap:8px;font-weight:900;font-size:12px;color:#8d6800}
.ref-title svg{width:18px;height:18px}
.ref-name{margin-top:5px;font-size:12px}
.ref-code{
 margin-top:9px;padding:9px 11px;border-radius:10px;background:#fff;
 border:1px solid #e7cb69;color:#6e5200;font-weight:900;font-size:12px;
 word-break:break-all;
}
.locked,.err,.ok{padding:13px 14px;border-radius:14px;margin-bottom:18px;font-size:12px;line-height:1.55}
.locked,.err{background:#fff0f1;border:1px solid #ffc6cc;color:#9e0014}
.ok{background:#ecfff5;border:1px solid #a8e8c5;color:#087341}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{min-width:0}.full{grid-column:1/-1}
label{display:block;margin-bottom:7px;font-size:13px;font-weight:850}
input{
 width:100%;min-height:51px;padding:12px 14px;border:1px solid var(--line);
 border-radius:13px;outline:none;background:#fff;color:var(--text);font:inherit;
 transition:.2s ease;
}
input:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(229,9,32,.08)}
.btn{
 width:100%;min-height:54px;margin-top:21px;border:0;border-radius:15px;
 color:#fff;background:linear-gradient(135deg,var(--red),#ff2039,var(--red-dark));
 box-shadow:0 14px 30px rgba(229,9,32,.25);cursor:pointer;font-size:15px;font-weight:900;
}
.btn:hover{box-shadow:0 17px 35px rgba(229,9,32,.32)}
.login{text-align:center;margin-top:16px;color:var(--muted);font-size:12px}
.login a{color:var(--red);font-weight:900;text-decoration:none}
.secure{text-align:center;margin-top:19px;color:#8f96a1;font-size:10px}

@media(max-width:900px){
 .page{grid-template-columns:1fr}
 .brand{min-height:auto;padding:34px 20px 30px}
 .logo{width:100px;height:100px;margin-bottom:17px;border-radius:29px}
 .brand h1{font-size:43px}.copy{display:none}.line{margin:16px auto}.steps{margin-top:18px}
 .form-side{padding:24px 14px 40px}
}
@media(max-width:560px){
 .brand{padding:25px 15px}
 .logo{width:84px;height:84px;padding:11px;border-radius:25px}
 .brand h1{font-size:35px}.tag{font-size:10px;letter-spacing:.14em}
 .card{padding:21px 17px;border-radius:22px}
 .grid{grid-template-columns:1fr}.full{grid-column:auto}h2{font-size:24px}
}
@media(prefers-color-scheme:dark){
 :root{--card:rgba(20,23,31,.97);--text:#f4f5f8;--muted:#a6acb8;--line:#303540}
 body{background:#090b10}.card{border-color:#2b2f38}
 input{background:#10141b;color:#f4f5f8;border-color:#303540}
 .ref{background:#2b250f;border-color:#66551b;color:#ead879}
 .ref-code{background:#17140a;border-color:#66551b;color:#f0d56c}
}
