/* ── EKS GameChanger Application Form ─────────────────────────────────────── */

:root {
  --eks-navy:        #003057;
  --eks-navy-dark:   #00213d;
  --eks-navy-light:  #0a4a7a;
  --eks-accent:       #2196F3;
  --eks-accent-dark:  #1976D2;
  --eks-white:       #ffffff;
  --eks-gray-50:     #f8f9fa;
  --eks-gray-100:    #f0f2f5;
  --eks-gray-200:    #e4e8ed;
  --eks-gray-400:    #9ca3af;
  --eks-gray-600:    #6b7280;
  --eks-gray-800:    #1f2937;
  --eks-error:       #dc2626;
  --eks-error-bg:    #fef2f2;
  --eks-success:     #16a34a;
  --eks-success-bg:  #f0fdf4;
  --eks-warn-bg:     #fffbeb;
  --eks-warn-border: #fcd34d;
  --eks-radius:      10px;
  --eks-radius-sm:   6px;
  --eks-shadow:      0 4px 24px rgba(0,48,87,0.10);
  --eks-shadow-sm:   0 2px 8px rgba(0,48,87,0.07);
  --eks-transition:  0.2s ease;
  --eks-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Wrapper ─────────────────────────────────────────────────────────────── */

.eks-gc-wrap {
  font-family: var(--eks-font);
  color: var(--eks-gray-800);
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

.eks-gc-wrap *, .eks-gc-wrap *::before, .eks-gc-wrap *::after {
  box-sizing: border-box;
}

/* ── Waitlist Banner ─────────────────────────────────────────────────────── */

.eks-gc-waitlist-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--eks-radius);
  background: var(--eks-warn-bg);
  border: 1.5px solid var(--eks-warn-border);
  margin-bottom: 8px;
  line-height: 1.6;
}

.eks-gc-waitlist-banner__icon {
  color: #b45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.eks-gc-waitlist-banner p {
  font-size: 14px;
  color: #92400e;
  margin: 0 0 6px;
}

.eks-gc-waitlist-banner p:last-child {
  margin-bottom: 0;
}

/* ── Progress Steps ──────────────────────────────────────────────────────── */

.eks-gc-progress {
  padding: 28px 0 32px;
}

.eks-gc-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.eks-gc-ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.eks-gc-ps__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--eks-gray-200);
  background: var(--eks-white);
  color: var(--eks-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--eks-transition);
  line-height: 1;
}

.eks-gc-ps__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--eks-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--eks-transition);
  white-space: nowrap;
}

.eks-gc-ps--active .eks-gc-ps__dot {
  background: var(--eks-navy);
  border-color: var(--eks-navy);
  color: var(--eks-white);
  box-shadow: 0 0 0 4px rgba(0,48,87,0.12);
}

.eks-gc-ps--active .eks-gc-ps__label {
  color: var(--eks-navy);
  font-weight: 700;
}

.eks-gc-ps--done .eks-gc-ps__dot {
  background: var(--eks-accent);
  border-color: var(--eks-accent);
  color: var(--eks-white);
  font-size: 0;
}

.eks-gc-ps--done .eks-gc-ps__dot::after {
  content: '✓';
  font-size: 15px;
}

.eks-gc-ps--done .eks-gc-ps__label {
  color: var(--eks-accent);
}

.eks-gc-ps__line {
  flex: 1;
  height: 2px;
  background: var(--eks-gray-200);
  margin: 0 6px;
  margin-bottom: 22px;
  min-width: 24px;
  transition: background var(--eks-transition);
}

.eks-gc-ps__line--done {
  background: var(--eks-accent);
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.eks-gc-step {
  background: var(--eks-white);
  border: 1px solid var(--eks-gray-200);
  border-radius: var(--eks-radius);
  padding: 32px;
  box-shadow: var(--eks-shadow);
  animation: eksGcFadeIn 0.25s ease;
}

.eks-gc-step--hidden {
  display: none !important;
}

@keyframes eksGcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eks-gc-step__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--eks-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.eks-gc-step__desc {
  font-size: 15px;
  color: var(--eks-gray-600);
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ── Notice ──────────────────────────────────────────────────────────────── */

.eks-gc-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--eks-radius-sm);
  font-size: 14px;
  margin: 16px 0 0;
  line-height: 1.5;
}

.eks-gc-notice--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.eks-gc-notice__icon {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1.5;
}

.eks-gc-notice a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.eks-gc-notice a:hover {
  opacity: 0.8;
}

/* ── Custom Checkbox ─────────────────────────────────────────────────────── */

.eks-gc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  border: 2px solid var(--eks-gray-200);
  border-radius: var(--eks-radius-sm);
  transition: border-color var(--eks-transition), background var(--eks-transition);
  margin: 8px 0 0;
}

.eks-gc-checkbox:hover {
  border-color: var(--eks-navy);
  background: var(--eks-gray-50);
}

.eks-gc-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.eks-gc-checkbox__box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--eks-gray-400);
  border-radius: 5px;
  background: var(--eks-white);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--eks-transition);
}

.eks-gc-checkbox input:checked + .eks-gc-checkbox__box {
  background: var(--eks-navy);
  border-color: var(--eks-navy);
}

.eks-gc-checkbox input:checked + .eks-gc-checkbox__box::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.eks-gc-checkbox__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--eks-gray-800);
  line-height: 1.5;
}

.eks-gc-checkbox__link {
  color: var(--eks-navy-light);
  font-weight: 600;
  text-decoration: underline;
}

.eks-gc-checkbox__link:hover {
  opacity: 0.8;
}

/* ── Privacy Policy Modal ───────────────────────────────────────────────── */

.eks-gc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.eks-gc-modal {
  background: var(--eks-white);
  border-radius: var(--eks-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eks-gc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--eks-gray-200);
}

.eks-gc-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--eks-navy);
  margin: 0;
}

.eks-gc-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--eks-gray-400);
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all var(--eks-transition);
}

.eks-gc-modal__close:hover {
  color: var(--eks-gray-800);
  background: var(--eks-gray-100);
}

.eks-gc-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--eks-gray-800);
}

.eks-gc-modal__body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--eks-navy);
  margin: 20px 0 8px;
}

.eks-gc-modal__body h3:first-of-type {
  margin-top: 12px;
}

.eks-gc-modal__body p {
  margin: 0 0 12px;
}

.eks-gc-modal__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.eks-gc-modal__body li {
  margin-bottom: 6px;
}

.eks-gc-modal__body a {
  color: var(--eks-navy-light);
  font-weight: 600;
  text-decoration: underline;
}

.eks-gc-modal__body a:hover {
  opacity: 0.8;
}

.eks-gc-modal__footer {
  padding: 16px 24px;
  border-top: 1.5px solid var(--eks-gray-200);
  display: flex;
  justify-content: flex-end;
}

/* ── Fields ──────────────────────────────────────────────────────────────── */

.eks-gc-field {
  margin-bottom: 18px;
}

.eks-gc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--eks-navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.eks-gc-required {
  color: var(--eks-error);
  margin-left: 2px;
}

.eks-gc-optional {
  color: var(--eks-gray-400);
  font-weight: 400;
}

.eks-gc-input,
.eks-gc-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--eks-gray-200);
  border-radius: var(--eks-radius-sm);
  font-family: var(--eks-font);
  font-size: 15px;
  color: var(--eks-gray-800);
  background: var(--eks-white);
  transition: border-color var(--eks-transition), box-shadow var(--eks-transition);
  appearance: none;
  -webkit-appearance: none;
}

.eks-gc-input:focus {
  outline: none;
  border-color: var(--eks-navy);
  box-shadow: 0 0 0 3px rgba(0,48,87,0.10);
}

.eks-gc-input::placeholder {
  color: var(--eks-gray-400);
}

.eks-gc-input--error {
  border-color: var(--eks-error) !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
}

.eks-gc-field__error {
  display: block;
  font-size: 12px;
  color: var(--eks-error);
  margin-top: 5px;
  min-height: 17px;
  font-weight: 500;
}

/* ── Custom select display ─────────────────────────────────────────────── */

.eks-gc-select-wrap {
  position: relative;
}

/* The real select: invisible but covers the full area for click/tap.
   Reset Flatsome theme styles (height, box-shadow, padding) that cause clipping. */
.eks-gc-select-wrap .eks-gc-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  box-shadow: none !important;
}

/* Visible span that renders the selected value as normal text */
.eks-gc-select-display {
  display: block;
  width: 100%;
  padding: 11px 14px;
  padding-right: 32px;
  border: 1.5px solid var(--eks-gray-200);
  border-radius: var(--eks-radius-sm);
  font-family: var(--eks-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--eks-gray-800);
  background: var(--eks-white);
  transition: border-color var(--eks-transition), box-shadow var(--eks-transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.eks-gc-select-display--placeholder {
  color: var(--eks-gray-400);
}

/* Focus: real select is focused → style the visible span */
.eks-gc-select-wrap:focus-within .eks-gc-select-display {
  border-color: var(--eks-navy);
  box-shadow: 0 0 0 3px rgba(0,48,87,0.10);
}

/* Error: class is added to the select → style the visible span */
.eks-gc-select-wrap:has(.eks-gc-input--error) .eks-gc-select-display {
  border-color: var(--eks-error) !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
}

/* Dropdown arrow */
.eks-gc-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--eks-gray-600);
  pointer-events: none;
  font-size: 13px;
}

/* ── "Other" field slide-in ──────────────────────────────────────────────── */
.eks-gc-field--other {
  margin-top: -8px;
  margin-bottom: 18px;
  animation: eksGcSlideDown 0.2s ease;
}

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

/* ── Row layouts ─────────────────────────────────────────────────────────── */

.eks-gc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.eks-gc-row--city {
  grid-template-columns: 1fr 170px 100px;
}

.eks-gc-field--grow { flex: 1; }
.eks-gc-field--state { min-width: 0; }
.eks-gc-field--zip   { min-width: 0; }

@media (max-width: 500px) {
  .eks-gc-row {
    grid-template-columns: 1fr;
  }
  .eks-gc-row--city {
    grid-template-columns: 1fr 1fr;
  }
  .eks-gc-row--city .eks-gc-field--grow {
    grid-column: 1 / -1;
  }
}

/* ── Navigation buttons ──────────────────────────────────────────────────── */

.eks-gc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 12px;
}

.eks-gc-nav--right {
  justify-content: flex-end;
}

.eks-gc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border: none;
  border-radius: var(--eks-radius-sm);
  font-family: var(--eks-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--eks-transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.eks-gc-btn--primary {
  background: var(--eks-navy);
  color: var(--eks-white);
}

.eks-gc-btn--primary:hover:not(:disabled) {
  background: var(--eks-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,48,87,0.25);
}

.eks-gc-btn--primary:disabled {
  background: var(--eks-gray-200);
  color: var(--eks-gray-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.eks-gc-btn--secondary {
  background: transparent;
  color: var(--eks-gray-600);
  border: 1.5px solid var(--eks-gray-200);
}

.eks-gc-btn--secondary:hover {
  background: var(--eks-gray-50);
  border-color: var(--eks-gray-400);
}

.eks-gc-btn--verify {
  background: var(--eks-accent);
  color: var(--eks-white);
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
}

.eks-gc-btn--verify:hover:not(:disabled) {
  background: var(--eks-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(77,184,72,0.30);
}

.eks-gc-btn--verify:disabled {
  background: var(--eks-gray-200);
  color: var(--eks-gray-400);
  cursor: not-allowed;
}

.eks-gc-btn--submit {
  background: var(--eks-navy);
  color: var(--eks-white);
}

.eks-gc-btn--submit:hover:not(:disabled) {
  background: var(--eks-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,48,87,0.25);
}

.eks-gc-btn--submit:disabled {
  background: var(--eks-gray-200);
  color: var(--eks-gray-400);
  cursor: not-allowed;
}

.eks-gc-btn__arrow {
  transition: transform var(--eks-transition);
}

.eks-gc-btn:hover .eks-gc-btn__arrow {
  transform: translateX(3px);
}

/* Spinner inside button */
.eks-gc-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: eksGcSpin 0.7s linear infinite;
  flex-shrink: 0;
}

.eks-gc-spinner--dark {
  border-color: rgba(0,48,87,0.2);
  border-top-color: var(--eks-navy);
}

@keyframes eksGcSpin {
  to { transform: rotate(360deg); }
}

/* ── Upload Area ─────────────────────────────────────────────────────────── */

.eks-gc-upload {
  border: 2px dashed var(--eks-gray-200);
  border-radius: var(--eks-radius);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--eks-transition);
  margin: 0 0 16px;
}

.eks-gc-upload:hover,
.eks-gc-upload--dragover {
  border-color: var(--eks-navy);
  background: #f0f4f8;
}

.eks-gc-upload__icon {
  color: var(--eks-gray-400);
  margin-bottom: 12px;
}

.eks-gc-upload--dragover .eks-gc-upload__icon {
  color: var(--eks-navy);
}

.eks-gc-upload__text {
  font-size: 15px;
  color: var(--eks-gray-600);
  margin: 0 0 6px;
  line-height: 1.5;
}

.eks-gc-upload__link {
  color: var(--eks-navy);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.eks-gc-upload__hint {
  font-size: 13px;
  color: var(--eks-gray-400);
  margin: 0;
}

/* ── File Preview ────────────────────────────────────────────────────────── */

.eks-gc-file-preview {
  border: 1.5px solid var(--eks-gray-200);
  border-radius: var(--eks-radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.eks-gc-file-preview__thumb-wrap {
  padding: 12px;
  background: var(--eks-gray-100, #e9ecef);
  display: flex;
  justify-content: center;
}

.eks-gc-file-preview__thumb {
  max-width: 100%;
  max-height: 240px;
  border-radius: 4px;
  object-fit: contain;
}

.eks-gc-file-preview__pdf {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 4px;
}

.eks-gc-file-preview__info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--eks-gray-50);
}

.eks-gc-file-preview__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.eks-gc-file-preview__meta {
  flex: 1;
  min-width: 0;
}

.eks-gc-file-preview__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--eks-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eks-gc-file-preview__size {
  display: block;
  font-size: 12px;
  color: var(--eks-gray-400);
  margin-top: 2px;
}

.eks-gc-file-preview__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--eks-gray-400);
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all var(--eks-transition);
  flex-shrink: 0;
}

.eks-gc-file-preview__remove:hover {
  color: var(--eks-error);
  background: var(--eks-error-bg);
}

.eks-gc-verify-trigger {
  padding: 14px 16px;
  border-top: 1.5px solid var(--eks-gray-200);
}

/* ── Verification Status ─────────────────────────────────────────────────── */

.eks-gc-verify-status {
  padding: 14px 16px;
  border-radius: var(--eks-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.eks-gc-verify-status--checking {
  background: var(--eks-gray-100);
  color: var(--eks-gray-600);
  border: 1.5px solid var(--eks-gray-200);
}

.eks-gc-verify-status--valid {
  background: var(--eks-success-bg);
  color: var(--eks-success);
  border: 1.5px solid #bbf7d0;
}

.eks-gc-verify-status--invalid {
  background: var(--eks-error-bg);
  color: var(--eks-error);
  border: 1.5px solid #fecaca;
}

/* ── Post-failure options ────────────────────────────────────────────────── */

.eks-gc-verify-failed__hint {
  font-size: 14px;
  color: var(--eks-gray-600);
  margin: 0 0 14px;
  text-align: center;
}

#eks-gc-upload-different-btn {
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

/* ── Support link ────────────────────────────────────────────────────────── */

.eks-gc-support {
  text-align: center;
  margin-bottom: 16px;
}

.eks-gc-support p {
  font-size: 13px;
  color: var(--eks-gray-600);
  margin: 0;
}

.eks-gc-support a {
  color: var(--eks-navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Confirmation ────────────────────────────────────────────────────────── */

.eks-gc-confirmation {
  background: var(--eks-white);
  border: 1px solid var(--eks-gray-200);
  border-radius: var(--eks-radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--eks-shadow);
  animation: eksGcFadeIn 0.35s ease;
}

.eks-gc-confirmation__check {
  color: var(--eks-accent);
  margin-bottom: 20px;
}

.eks-gc-confirmation__check svg {
  animation: eksGcCheckPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes eksGcCheckPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.eks-gc-confirmation__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--eks-navy);
  margin: 0 0 12px;
}

.eks-gc-confirmation__greeting {
  font-size: 18px;
  color: var(--eks-gray-800);
  margin-bottom: 20px;
}

.eks-gc-confirmation p {
  font-size: 15px;
  color: var(--eks-gray-600);
  line-height: 1.7;
  margin: 8px 0;
}

.eks-gc-confirmation__note {
  margin-top: 20px !important;
  font-size: 13px !important;
  color: var(--eks-gray-400) !important;
  font-style: italic;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .eks-gc-step {
    padding: 24px 18px;
  }
  .eks-gc-confirmation {
    padding: 36px 20px;
  }
  .eks-gc-ps__label {
    display: none;
  }
  .eks-gc-step__title {
    font-size: 19px;
  }
}
