/* ==========================================================================
   SIMUPHISH CYBERVERSE GUARDIAN CERTIFICATION STYLESHEET
   Clean full-viewport hero screen, centered access card, no clutter
   ========================================================================== */

:root {
  --primary-purple: #6332a8;
  --purple-light: #7c3aed;
  --purple-border: #d8b4fe;
  --purple-bg-pill: #f3e8ff;
  --text-navy: #1e1b4b;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.cyberverse-exact {
  font-family: var(--font-body);
  background-color: #f7f9fd;
  color: var(--text-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   FULL-SCREEN HERO SECTION (Edge-to-Edge Cyberverse Corridor)
   ========================================================================== */
.hero-fullwidth-section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: #f7f9fd;
  background-image: url('assets/cyberverse-hq.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Center Content: Title + Guardian Access Card */
.hero-center-content {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

/* Header typography */
.hero-titles-block {
  margin-bottom: 18px;
}

.simuphish-header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.brand-wordmark-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(99, 50, 168, 0.16));
  transition: transform 0.25s ease;
}

.brand-wordmark-img:hover {
  transform: scale(1.03);
}

.brand-tagline-letters {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: var(--primary-purple);
  text-transform: uppercase;
}

.main-cyber-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 6px 0 4px;
}

.main-cyber-title .gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.byline-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px auto 8px;
  max-width: 360px;
}

.byline-divider .rule {
  flex: 1;
  height: 1.5px;
  background: #475569;
}

.byline-divider .by-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.mission-tagline-text {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  padding: 5px 18px;
  border-radius: 9999px;
  display: inline-block;
  border: 1px solid rgba(203, 213, 225, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   THE WHITE "GUARDIAN ACCESS" CARD
   ========================================================================== */
.guardian-access-card {
  width: 380px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 24px 26px 20px;
  text-align: left;
}

/* Card Header: —— GUARDIAN ACCESS —— */
.access-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.access-header-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c084fc, #9333ea);
}

.access-header-divider .line.right {
  background: linear-gradient(90deg, #9333ea, #c084fc, transparent);
}

.access-header-divider .title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-purple);
}

/* Form Alert Box */
.form-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  display: none;
}

.form-alert.danger {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-alert.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

/* Form Fields */
.access-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.1px;
}

.field-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color 0.2s;
}

.exact-input {
  width: 100%;
  padding: 9.5px 12px 9.5px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-navy);
  background: #ffffff;
  border: 1.2px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.exact-input::placeholder {
  color: #a0aec0;
  font-size: 12.5px;
}

.exact-input:hover {
  border-color: #a855f7;
}

.exact-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.exact-input:focus + .field-icon,
.input-box:focus-within .field-icon {
  color: var(--purple-light);
}

/* Field Errors */
.has-error .exact-input {
  border-color: #ef4444 !important;
  background-color: #fff8f8;
}

.has-error .field-icon {
  color: #ef4444;
}

.field-error-msg {
  font-size: 11px;
  color: #dc2626;
  font-weight: 500;
  display: none;
  margin-top: 2px;
}

.has-error .field-error-msg {
  display: block;
}

/* Submit Button: Submit → */
.btn-exact-submit {
  position: relative;
  width: 100%;
  margin-top: 6px;
  padding: 11px 18px;
  background: var(--primary-purple);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(99, 50, 168, 0.32);
  transition: all 0.2s ease;
}

.btn-exact-submit:hover {
  background: #522394;
  box-shadow: 0 6px 18px rgba(99, 50, 168, 0.42);
  transform: translateY(-1px);
}

.btn-exact-submit:active {
  transform: translateY(0);
}

.btn-exact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Sub-row: Remember Me / SQLite Records */
.form-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.remember-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.remember-label input[type="checkbox"] {
  accent-color: var(--purple-light);
  cursor: pointer;
}

.link-admin-records {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.link-admin-records:hover {
  color: var(--primary-purple);
  text-decoration: underline;
}

/* Simple Clean Success State */
.form-alert.success {
  display: block;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #14532d;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.08);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .hero-fullwidth-section {
    padding: 24px 16px;
  }

  .main-cyber-title {
    font-size: 26px;
  }

  .guardian-access-card {
    width: 100%;
    padding: 20px 16px 18px;
  }
}
