@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #0a2342;
  --navy-mid:   #163966;
  --gold:       #b8962e;
  --gold-light: #d4af50;
  --gold-pale:  #f5edcc;
  --cream:      #f9f7f2;
  --white:      #ffffff;
  --gray-200:   #e2e0db;
  --gray-400:   #9e9b94;
  --text-main:  #1a1917;
  --text-muted: #6b6861;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-md:  0 8px 32px rgba(10,35,66,.18);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  margin: 0;
  padding: 32px 16px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,150,46,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(22,57,102,.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, #061c38 60%, #0d2e52 100%);
}

.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.signup-box {
  width: 520px;
  background: var(--white);
  padding: 48px 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
  position: relative;
}

.signup-box h1 {
  text-align: center;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin: 14px 0 0;
  letter-spacing: 0.02em;
}

.signup-box h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 10px auto 24px;
}

.signup-box h2 {
  color: var(--navy-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--gold-pale);
  position: relative;
}

.signup-box h2::before {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 36px;
  height: 1.5px;
  background: var(--gold);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text-main);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,150,46,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8962e' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.form-group input[type="radio"] {
  width: auto;
  padding: 0;
  margin-right: 6px;
  accent-color: var(--gold);
  cursor: pointer;
  box-shadow: none;
}
.que-quan-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-label {
  margin-right: 18px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.signup-box button {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Be Vietnam Pro', sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.signup-box button:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,150,46,.35);
}

.signup-box button:active {
  transform: translateY(0);
}

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.login-link a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.login-link a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.form-group input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-right: 8px;
  accent-color: var(--gold);
  cursor: pointer;
  box-shadow: none;
}
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 2px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-transform: none;
  letter-spacing: 0;
  user-select: none;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.18s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,150,46,.15);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  transform: scale(1);
}

.radio-label:hover .radio-custom {
  border-color: var(--gold-light);
}
