/* ─── ATOS INTAKE FORM STYLING ─── */

.intake-container {
  max-width: 900px;
  margin: 9rem auto 5rem;
  padding: 0 2rem;
}

.intake-header {
  text-align: center;
  margin-bottom: 3rem;
}

.intake-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.intake-header h1 span {
  color: var(--teal);
}

.intake-header p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ─── PROGRESS BAR ─── */
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--teal);
  z-index: 2;
  transition: width 0.4s ease;
  width: 0%;
}

.step-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.step-indicator .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--gray);
  transition: all 0.3s ease;
}

.step-indicator.active .circle {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 15px rgba(31, 191, 184, 0.3);
}

.step-indicator.completed .circle {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

.step-indicator .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.8rem;
  color: var(--gray);
  transition: color 0.3s ease;
}

.step-indicator.active .label {
  color: var(--white);
  font-weight: bold;
}

.step-indicator.completed .label {
  color: var(--teal);
}

/* ─── FORM WIZARD PANELS ─── */
.wizard-panel {
  background: var(--navy-mid);
  border: 1px solid rgba(31, 191, 184, 0.15);
  border-radius: 4px;
  padding: 3rem;
  display: none;
}

.wizard-panel.active {
  display: block;
  animation: fadeUp 0.5s ease both;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}

/* ─── CARDS SELECTOR FOR SPORTS ─── */
.sports-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.sport-select-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sport-select-card i {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--gray);
  transition: color 0.3s;
}

.sport-select-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.sport-select-card:hover {
  background: rgba(201, 152, 43, 0.05);
  border-color: rgba(201, 152, 43, 0.3);
}

.sport-select-card.selected {
  background: rgba(201, 152, 43, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 152, 43, 0.2);
}

.sport-select-card.selected i {
  color: var(--gold);
}

/* Dynamic sub-form styles */
.sport-fields-container {
  background: rgba(10, 15, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  display: none;
}

.sport-fields-container.active {
  display: block;
  animation: fadeUp 0.3s ease both;
}

/* File Upload zone */
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-zone:hover {
  border-color: var(--teal);
  background: rgba(31, 191, 184, 0.04);
}

.upload-zone i {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.upload-zone p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── ATOS COMPONENT INTEGRATION CARDS ─── */
.atos-integration-card {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(31, 191, 184, 0.2);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.atos-integration-card .icon {
  background: rgba(31, 191, 184, 0.1);
  color: var(--teal);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.atos-integration-content {
  flex-grow: 1;
}

.atos-integration-content h4 {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atos-integration-content h4 span {
  font-size: 0.65rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(31, 191, 184, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.atos-integration-content p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Toggle Switch Styling */
.switch-control {
  display: flex;
  align-items: center;
  margin-top: 0.6rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  margin-right: 0.8rem;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .slider {
  background-color: var(--teal);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(22px);
}

.switch-label {
  font-size: 0.75rem;
  color: var(--off-white);
  font-weight: 500;
}

/* ─── HOLOGRAPHIC BLOCKCHAIN CREDENTIAL PREVIEW ─── */
.skills-passport-preview-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  perspective: 1000px;
}

/* Holographic card styling */
.hologram-card {
  width: 380px;
  height: 230px;
  background: linear-gradient(135deg, #0A0F1E 0%, #152238 60%, #104C64 100%);
  border: 1px solid rgba(201, 152, 43, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(5, 7, 13, 0.8), 0 0 30px rgba(201, 152, 43, 0.15);
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

/* Hologram shine overlay */
.hologram-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(201, 152, 43, 0.15) 30%,
    rgba(31, 191, 184, 0.2) 40%,
    rgba(201, 152, 43, 0.15) 50%,
    transparent 60%
  );
  background-size: 200% 200%;
  background-position: 0% 0%;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.hologram-card:hover::after {
  background-position: 100% 100%;
}

.hologram-card:hover {
  transform: rotateY(10deg) rotateX(5deg) translateY(-5px);
  box-shadow: 0 25px 45px rgba(5, 7, 13, 0.9), 0 0 40px rgba(31, 191, 184, 0.25);
  border-color: rgba(31, 191, 184, 0.6);
}

.hologram-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0 L30 15 L15 30 L0 15 Z' fill='none' stroke='%23C9982B' stroke-width='1'/%3E%3C/svg%3E");
  z-index: 1;
}

.hologram-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
  position: relative;
}

.hologram-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.hologram-logo span {
  color: var(--white);
}

.hologram-network {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(31, 191, 184, 0.4);
  padding: 0.1rem 0.4rem;
  background: rgba(31, 191, 184, 0.08);
  border-radius: 2px;
}

.hologram-body {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  z-index: 3;
  position: relative;
}

.hologram-photo-mock {
  width: 65px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hologram-photo-mock i {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.15);
}

.hologram-photo-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hologram-info {
  flex-grow: 1;
}

.hologram-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.hologram-sport {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.hologram-details-row {
  display: flex;
  gap: 1.5rem;
}

.hologram-detail-item {
  display: flex;
  flex-direction: column;
}

.hologram-detail-item .lbl {
  font-size: 0.55rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hologram-detail-item .val {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--off-white);
  font-weight: bold;
}

.hologram-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.6rem;
}

.hologram-wallet {
  font-family: monospace;
  font-size: 0.58rem;
  color: var(--gray);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hologram-status-badge {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: var(--gold);
  background: rgba(201, 152, 43, 0.15);
  border: 1px solid rgba(201, 152, 43, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

/* ─── BUTTONS ROW ─── */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

/* ─── RESPONSIVENESS ─── */
@media (max-width: 768px) {
  .wizard-panel {
    padding: 2rem 1.5rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .sports-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hologram-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1.6;
  }
}

@media (max-width: 480px) {
  .sports-selector-grid {
    grid-template-columns: 1fr;
  }
  .progress-steps {
    display: none; /* Hide stepper on very small viewports */
  }
}
