/* XEPT REGISTER – visual layer only. Form fields, IDs, JS and PHP workflow stay unchanged. */
* { box-sizing:border-box; }
html { background:#050709; }
body {
    margin:0; min-height:100vh; padding:48px 18px 70px;
    display:flex; justify-content:center; align-items:flex-start;
    background:
      linear-gradient(90deg,rgba(3,5,7,.985),rgba(3,5,7,.88),rgba(3,5,7,.64)),
      url('../images/xept_hero_v2.webp') center top/cover fixed,
      #050709;
    color:#eef2f6; font-family:"Segoe UI",Arial,sans-serif;
}
body::before { content:""; position:fixed; inset:0; pointer-events:none; background:radial-gradient(circle at 80% 10%,rgba(239,20,20,.16),transparent 25%); }
.box {
    position:relative; z-index:2; width:100%; max-width:900px; padding:42px clamp(20px,5vw,50px);
    border:1px solid rgba(255,255,255,.14); border-top:3px solid #ef1414; border-radius:12px;
    background:linear-gradient(145deg,rgba(15,21,27,.98),rgba(7,10,14,.98)); color:#dbe1e7;
    box-shadow:0 30px 90px rgba(0,0,0,.55),0 0 35px rgba(239,20,20,.08);
}
.box::before { content:""; display:block; width:160px; height:54px; margin:0 auto 22px; background:url('../images/logo.png') center/contain no-repeat; }
h2 { margin:0 0 12px; color:#fff; font-weight:850; text-transform:uppercase; font-size:26px; text-align:center; }
p { margin:0 0 20px; color:#aeb7c0; font-size:14px; line-height:1.6; }
.error,.success { padding:12px 14px; margin-bottom:16px; border-radius:7px; font-size:13px; line-height:1.45; }
.error { border:1px solid rgba(239,20,20,.45); background:rgba(239,20,20,.1); color:#ff9c9c; }
.success { border:1px solid rgba(67,200,118,.38); background:rgba(67,200,118,.08); color:#9ce1b6; }
.section-title { margin:32px 0 15px; padding-bottom:9px; border-bottom:1px solid rgba(255,255,255,.1); color:#fff; font-size:15px; font-weight:850; text-transform:uppercase; letter-spacing:.5px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.input-group { margin-bottom:18px; }
label { display:block; margin-bottom:7px; color:#cbd2da; font-weight:700; font-size:13px; }
input,select,textarea {
    width:100%; min-height:48px; padding:11px 13px;
    border:1px solid rgba(255,255,255,.15); border-radius:7px;
    background:#090e13; color:#fff; font-size:15px; outline:none; transition:.18s ease;
}
input:focus,select:focus,textarea:focus { border-color:#ef1414; box-shadow:0 0 0 3px rgba(239,20,20,.11),0 0 18px rgba(239,20,20,.07); }
.registration-type { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:22px 0; }
.registration-choice { display:flex; gap:10px; align-items:center; min-height:50px; padding:12px 14px; margin:0; border:1px solid rgba(255,255,255,.14); border-radius:7px; background:#090e13; color:#d9dfe5; cursor:pointer; }
.registration-choice input { width:18px; min-height:18px; height:18px; margin:0; padding:0; accent-color:#ef1414; }
.terms-container { height:320px; overflow-y:auto; padding:20px; margin-bottom:14px; border:1px solid rgba(255,255,255,.13); border-radius:7px; background:#080c10; color:#c8d0d8; font-size:14px; line-height:1.65; white-space:pre-line; }
.terms-status { margin:0 0 12px; color:#ff6262; font-size:12px; font-weight:700; }
.terms-accept { display:flex; align-items:flex-start; gap:10px; padding:13px; margin:0; border:1px solid rgba(255,255,255,.1); border-radius:7px; background:#0a0f14; color:#cbd2da; line-height:1.5; }
.terms-accept input { flex:0 0 auto; width:18px; height:18px; min-height:18px; margin:2px 0 0; padding:0; accent-color:#ef1414; }
.btn-container { display:flex; gap:15px; margin-top:28px; }
.btn { width:100%; min-height:50px; padding:13px 18px; border:1px solid #ef1414; border-radius:7px; background:#ef1414; color:#fff; font-size:13px; font-weight:850; text-transform:uppercase; letter-spacing:.45px; cursor:pointer; transition:.18s ease; text-decoration:none; }
.btn:hover:not(:disabled) { background:#ff2929; transform:translateY(-1px); box-shadow:0 10px 28px rgba(239,20,20,.22); }
.btn:disabled { border-color:#3b444d; background:#252c33; color:#707a84; cursor:not-allowed; box-shadow:none; }
.resend-confirmation { margin-top:34px; padding:24px; border:1px solid rgba(255,255,255,.11); border-radius:9px; background:rgba(7,11,15,.7); }
.resend-confirmation h3 { margin:0 0 10px; color:#fff; font-size:17px; }
.resend-confirmation form { display:grid; grid-template-columns:1fr auto; gap:10px; }
.resend-confirmation form input { margin:0; }
.resend-confirmation form .btn { width:auto; white-space:nowrap; }
code { padding:3px 8px; border-radius:4px; background:rgba(239,20,20,.12); color:#ff5353; }
.box > a[style] { color:#9da7b1 !important; }
.box > a[style]:hover { color:#ff3434 !important; }
@media (max-width:700px) {
    body { padding:20px 10px 55px; background-position:72% top; }
    .box { padding:30px 16px 28px; border-radius:9px; }
    .box::before { width:130px; height:44px; margin-bottom:17px; }
    h2 { font-size:22px; }
    .form-grid,.registration-type { grid-template-columns:1fr; gap:0; }
    .registration-type { gap:10px; }
    .terms-container { height:270px; padding:15px; }
    .resend-confirmation { padding:18px 14px; }
    .resend-confirmation form { grid-template-columns:1fr; }
    .resend-confirmation form .btn { width:100%; }
}
