/* ================= GLOBAL RESET ================= */

/** {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*}*/

/*html, body {*/
/*  height: 100%;*/
/*  font-family: "Segoe UI", Roboto, Arial, sans-serif;*/
/*  background-color: #eef2f7;*/
/*}*/

/* ================= PAGE BACKGROUND ================= */

/*.signup-page {*/
/*  position: relative;*/
/*  min-height: 100vh;*/
/*  background: linear-gradient(*/
/*      135deg,*/
/*      #0a192f 0%,*/
/*      #112240 50%,*/
/*      #1b2a41 100%*/
/*  );*/

/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/
/* ================= CARD CONTAINER ================= */

/*.signup-container {*/
/*  position: relative;*/
/*  width: 100%;*/
/*  max-width: 720px;*/
/*  background: #ffffff;*/
/*  border-radius: 10px;*/
/*  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);*/
/*  padding: 50px 60px;*/
/*  border-top: 6px solid #ffd700;*/
/*}*/
/* ================= HEADER ================= */

/*.signup-title {*/
/*  text-align: center;*/
/*  font-size: 30px;*/
/*  font-weight: 700;*/
/*  color: #002147;*/
/*  margin-bottom: 5px;*/
/*}*/

/*.signup-subtitle {*/
/*  text-align: center;*/
/*  font-size: 15px;*/
/*  color: #666;*/
/*  margin-bottom: 40px;*/
/*}*/

/* ================= FORM LAYOUT ================= */

/*.signup-form {*/
/*  display: grid;*/
/*  grid-template-columns: 1fr 1fr;*/
/*  gap: 18px 25px;*/
/*}*/

/* Make full-width fields */
/*.signup-form input[name="home_address"],*/
/*.signup-form input[type="date"],*/
/*.signup-form button {*/
/*  grid-column: span 2;*/
/*}*/

/* ================= INPUT DESIGN ================= */

/*.signup-form input {*/
/*  width: 100%;*/
/*  padding: 14px 15px;*/
/*  border-radius: 6px;*/
/*  border: 1px solid #d5dbe5;*/
/*  font-size: 14px;*/
/*  background-color: #f8fafc;*/
/*  transition: 0.25s ease;*/
/*}*/

/*.signup-form input:focus {*/
/*  outline: none;*/
/*  border-color: #002147;*/
/*  background-color: #ffffff;*/
/*  box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.12);*/
/*}*/

/* ================= BUTTON ================= */

/*.signup-form button {*/
/*  margin-top: 10px;*/
/*  padding: 15px;*/
/*  font-size: 17px;*/
/*  font-weight: 600;*/
/*  border-radius: 6px;*/
/*  border: none;*/
/*  cursor: pointer;*/
/*  color: white;*/
/*  background: linear-gradient(90deg, #002147, #003366);*/
/*  transition: 0.3s ease;*/
/*  letter-spacing: 0.5px;*/
/*}*/

/*.signup-form button:hover {*/
/*  background: linear-gradient(90deg, #001a36, #002147);*/
/*  transform: translateY(-2px);*/
/*}*/

/* ================= FLASH MESSAGE ================= */

/*.flash-message {*/
/*  background: #fff3f3;*/
/*  border-left: 5px solid #cc0000;*/
/*  padding: 12px;*/
/*  margin-bottom: 20px;*/
/*  font-size: 14px;*/
/*  color: #a10000;*/
/*  border-radius: 5px;*/
/*}*/

/* ================= LOGIN LINK ================= */

/*.login-link {*/
/*  margin-top: 25px;*/
/*  text-align: center;*/
/*  font-size: 15px;*/
/*  color: #444;*/
/*}*/

/*.login-link a {*/
/*  color: #002147;*/
/*  font-weight: 600;*/
/*  text-decoration: none;*/
/*}*/

/*.login-link a:hover {*/
/*  text-decoration: underline;*/
/*}*/

/* ================= RESPONSIVE ================= */

/*@media (max-width: 768px) {*/
/*  .signup-container {*/
/*    padding: 35px 25px;*/
/*  }*/

/*  .signup-form {*/
/*    grid-template-columns: 1fr;*/
/*  }*/

/*  .signup-form input,*/
/*  .signup-form button {*/
/*    grid-column: span 1;*/
/*  }*/
/*}*/

/* ================= LOGO AREA ================= */

/*.portal-logo {*/
/*  text-align: center;*/
/*  margin-bottom: 25px;*/
/*}*/

/*.portal-logo img {*/
/*  height: 70px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.portal-name {*/
/*  font-size: 14px;*/
/*  font-weight: 600;*/
/*  color: #002147;*/
/*  letter-spacing: 1px;*/
/*  text-transform: uppercase;*/
/*}*/

/* ================= TOP GOVERNMENT BAR ================= */

/*.gov-topbar {*/
/*    width: 100%;*/
/*    height: 65px;*/
/*    background: #002147;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: 0 40px;*/
/*    box-shadow: 0 4px 15px rgba(0,0,0,0.2);*/
/*}*/

/* Left section */
/*.gov-left {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*}*/

/*.gov-left img {*/
/*    height: 45px;*/
/*}*/

/*.gov-title {*/
/*    color: white;*/
/*    font-size: 16px;*/
/*    font-weight: 600;*/
/*    letter-spacing: 0.5px;*/
/*}*/

/* Right section */
/*.gov-right {*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/* Home Button */
/*.home-btn {*/
/*    padding: 8px 18px;*/
/*    border-radius: 5px;*/
/*    background: linear-gradient(90deg, #ff9933, #ffb347);*/
/*    color: #002147;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    transition: 0.3s ease;*/
/*}*/

/*.home-btn:hover {*/
/*    background: linear-gradient(90deg, #e68900, #ff9933);*/
/*    transform: translateY(-2px);*/
/*}*/



/* ============================================
   ELTS - Signup Page
   Tactical Command-Center Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600&display=swap');

/* ================= RESET ================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep:       #020a06;
  --bg-card:       rgba(4, 15, 8, 0.97);
  --accent-green:  #00ff64;
  --accent-dim:    #00c44e;
  --accent-orange: #ff6a00;
  --text-primary:  #e8ffe0;
  --text-secondary:#7aad8a;
  --text-muted:    #3a6647;
  --border-glow:   rgba(0, 255, 100, 0.25);
  --border-dim:    rgba(0, 255, 100, 0.08);
  --input-bg:      rgba(0, 255, 100, 0.03);
  --font-display:  'Orbitron', monospace;
  --font-body:     'Rajdhani', sans-serif;
}

html, body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  cursor: crosshair;
}

/* ================= TOP BAR ================= */

.gov-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  background: linear-gradient(180deg, rgba(2,10,6,0.98) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
}

.gov-topbar::before {
  content: 'SYS.ONLINE  ●  SIGNAL: STRONG  ●  ENCRYPTION: ACTIVE';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.42rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  white-space: nowrap;
  animation: blink 4s ease-in-out infinite;
}

.gov-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gov-left img {
  height: 38px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 100, 0.3));
}

.gov-title {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.home-btn {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border-glow);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.home-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-green);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.home-btn:hover {
  color: #020a06;
  border-color: var(--accent-green);
  box-shadow: 0 0 16px rgba(0, 255, 100, 0.3);
}

.home-btn:hover::before {
  transform: translateX(0);
}

/* ================= PAGE BACKGROUND ================= */

.signup-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--bg-deep) !important;
  position: relative;
  overflow-x: hidden;
}

/* Animated grid */
.signup-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 100, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 100, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Radar ring */
.signup-page::after {
  content: '';
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 100, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 140px rgba(0, 255, 100, 0.01),
    0 0 0 280px rgba(0, 255, 100, 0.005);
  z-index: 0;
  animation: radarPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 60px;
}

/* ================= SIGNUP CONTAINER ================= */

.signup-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 4px;
  padding: 44px 52px;
  box-shadow:
    0 0 0 1px rgba(0, 255, 100, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 255, 100, 0.04);
}

/* Corner brackets */
.signup-container::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  width: 18px; height: 18px;
  border-top: 2px solid var(--accent-green);
  border-left: 2px solid var(--accent-green);
}

.signup-container::after {
  content: '';
  position: absolute;
  bottom: 10px; right: 10px;
  width: 18px; height: 18px;
  border-bottom: 2px solid var(--accent-green);
  border-right: 2px solid var(--accent-green);
}

/* ================= LOGO ================= */

.portal-logo {
  text-align: center;
  margin-bottom: 24px;
}

.portal-logo img {
  height: 56px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 100, 0.25));
  margin-bottom: 10px;
}

.portal-name {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ================= HEADINGS ================= */

.signup-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
}

.signup-subtitle {
  font-family: var(--font-display);
  text-align: center;
  font-size: 0.46rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 28px;
}

/* ================= FORM LAYOUT ================= */

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.signup-form input[name="home_address"],
.signup-form input[type="date"],
.signup-form button {
  grid-column: span 2;
}

/* ================= INPUTS ================= */

.signup-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 2px;
  border: 1px solid var(--border-dim);
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--input-bg);
  color: var(--text-primary);
  transition: 0.25s ease;
  letter-spacing: 0.5px;
}

.signup-form input::placeholder {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 1.5px;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--accent-green);
  background: rgba(0, 255, 100, 0.04);
  box-shadow: 0 0 0 2px rgba(0, 255, 100, 0.1);
}

/* Date input fix */
.signup-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5) sepia(1) saturate(3) hue-rotate(90deg);
  cursor: pointer;
}

/* ================= BUTTON ================= */

.signup-form button {
  margin-top: 8px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--accent-green);
  cursor: pointer;
  color: #020a06;
  background: var(--accent-green);
  transition: all 0.3s ease;
}

.signup-form button:hover {
  background: transparent;
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 255, 100, 0.25);
  transform: translateY(-2px);
}

/* ================= FLASH MESSAGE ================= */

.flash-message {
  background: rgba(255, 34, 68, 0.08);
  border-left: 3px solid #ff2244;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 1px;
  color: #ff6680;
  border-radius: 2px;
  grid-column: span 2;
}

/* ================= LOGIN LINK ================= */

.login-link {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.login-link a {
  color: var(--accent-dim);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.login-link a:hover {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(0, 255, 100, 0.4);
}

/* ================= ANIMATIONS ================= */

@keyframes gridScroll {
  0%   { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

@keyframes radarPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes blink {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .signup-container { padding: 36px 24px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form input[name="home_address"],
  .signup-form input[type="date"],
  .signup-form button { grid-column: span 1; }
}

@media (max-width: 600px) {
  .gov-topbar { padding: 0 20px; }
  .gov-topbar::before { display: none; }
  .gov-title { display: none; }
  .signup-title { font-size: 1rem; }
}