
:root{
  --navy:#0b1f3a;
  --navy-light:#12345c;
  --green:#0f6b4b;
  --green-dark:#0b5239;
  --green-soft:#1c8a62;
  --yellow:#f4c430;
  --yellow-soft:#ffe082;
  --white:#ffffff;
  --bg:#f8fafc;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --input-bg:#f8fbff;
  --shadow:0 18px 45px rgba(15, 23, 42, 0.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  min-height:100%;
  font-family:'Segoe UI', sans-serif;
}

body{
  background:#ffffff;
  color:var(--text);
}

.center-layout{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px 90px;
}

.register-box{
  width:100%;
  max-width:860px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:24px;
  padding:32px 30px 30px;
  text-align:center;
  box-shadow:var(--shadow);
}

.logo-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}

.logo-wrap img{
  height:150px;
  width:200px;
  object-fit:contain;
  background:#fff;
  padding:8px;
  border-radius:18px;
}

.register-box h3{
  color:var(--navy);
  font-size:30px;
  font-weight:800;
  letter-spacing:.3px;
  margin-bottom:8px;
}

.sub{
  margin-bottom:22px;
  font-size:13px;
  color:var(--muted);
  font-weight:500;
  line-height:1.5;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  text-align:left;
}

.input-group{
  position:relative;
}

.input-group i{
  position:absolute;
  top:50%;
  left:12px;
  transform:translateY(-50%);
  color:#6b7280;
  font-size:14px;
}

.input{
  width:100%;
  height:48px;
  padding-left:40px;
  padding-right:12px;
  border-radius:12px;
  border:1px solid #dbe4ee;
  background:var(--input-bg);
  font-size:14px;
  color:var(--text);
  transition:.25s ease;
}

.input:focus{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(15,107,75,0.10);
  background:#fff;
}

.file-upload-box{
  margin-top:16px;
  text-align:left;
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
}

.file-upload-box label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:8px;
}

.file-upload-box input[type="file"]{
  width:100%;
  border:1px solid #d6dde7;
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-size:13px;
  color:#334155;
}

.file-upload-note{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}

.privacy-box{
  margin-top:14px;
  text-align:left;
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
  font-size:13px;
  color:#334155;
}

.privacy-box label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
  line-height:1.6;
}

.privacy-box input[type="checkbox"]{
  margin-top:3px;
  transform:scale(1.1);
  accent-color:var(--green);
}

.privacy-note{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
}

.captcha-box{
  margin-top:14px;
  display:flex;
  justify-content:center;
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  overflow-x:auto;
}

.register-btn{
  width:100%;
  background:linear-gradient(135deg, var(--navy), var(--green));
  border:none;
  padding:13px;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:700;
  margin-top:14px;
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:0 10px 24px rgba(11,31,58,0.14);
}

.register-btn:hover{
  background:linear-gradient(135deg, var(--navy-light), var(--green-soft));
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(11,31,58,0.18);
}

.register-btn:active{
  transform:scale(0.98);
}

.switch-link{
  margin-top:16px;
  font-size:13px;
  color:var(--muted);
}

.switch-link a{
  color:var(--navy-light);
  text-decoration:none;
  font-weight:700;
}

.switch-link a:hover{
  text-decoration:underline;
  color:var(--green);
}

.alert-error{
  background:#fff1f2;
  color:#b91c1c;
  padding:12px;
  border-radius:12px;
  margin-bottom:14px;
  text-align:left;
  border:1px solid #fecdd3;
}

.alert-success{
  background:#ecfdf5;
  color:#166534;
  padding:12px;
  border-radius:12px;
  margin-bottom:14px;
  text-align:left;
  border:1px solid #bbf7d0;
}

.footer{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#ffffff;
  color:#64748b;
  text-align:center;
  padding:10px 12px;
  font-size:12px;
  border-top:1px solid #e5e7eb;
}

@media (max-width: 900px){
  .register-box{
    max-width:95%;
  }
}

@media (max-width: 700px){
  .center-layout{
    padding:24px 12px 80px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .register-box{
    padding:26px 18px 24px;
    max-width:100%;
  }

  .logo-wrap img{
    height:76px;
    width:76px;
  }

  .register-box h3{
    font-size:24px;
  }

  .privacy-box,
  .file-upload-box{
    font-size:12px;
    padding:12px;
  }

  .privacy-note,
  .file-upload-note{
    font-size:11px;
  }

  .switch-link{
    line-height:1.5;
  }

  .footer{
    font-size:11px;
    padding:9px 10px;
  }

  .captcha-box{
    justify-content:flex-start;
  }
}
