/* ==========================================================================
   VAL DI FIEMME 26/27 - ACCREDITATION PASS & PRINT STYLES
   ========================================================================== */

.pass-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Badge Outer Container (Lanyard card format) */
.accreditation-badge {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(165deg, #0f192e 0%, #080d19 100%);
  border-radius: 24px;
  border: 2px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
              0 0 30px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  padding: 30px 24px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Holographic / Shimmer Top Border Effect */
.accreditation-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #f59e0b, #34d399, #38bdf8);
  background-size: 200% 100%;
  animation: holoShift 4s linear infinite;
}

@keyframes holoShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Lanyard Slot Cutout */
.badge-lanyard-hole {
  width: 50px;
  height: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  margin-top: -12px;
  margin-bottom: 20px;
}

/* Badge Event Brand */
.badge-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.badge-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-brand-logo img {
  width: 20px;
  height: 20px;
}

.badge-brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-event-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

/* Attendee Name & Role */
.badge-avatar-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.4));
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.badge-attendee-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.badge-attendee-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.badge-role-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.badge-role-tag.role-O {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.badge-role-tag.role-G {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.badge-role-tag.role-P {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Badges Detail Mini Grid */
.badge-details-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.badge-detail-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-detail-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.badge-detail-val {
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  margin-top: 2px;
}

/* QR Code Display */
.badge-qr-box {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.badge-qr-canvas {
  width: 110px;
  height: 110px;
  display: block;
}

.badge-id-code {
  font-family: monospace;
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
}

/* Pass Actions */
.pass-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.pass-actions-row button {
  flex: 1;
}

/* Print Stylesheet */
@media print {
  body * {
    visibility: hidden;
  }
  .modal-overlay,
  .modal-box,
  .accreditation-badge,
  .accreditation-badge * {
    visibility: visible;
  }
  .modal-overlay {
    position: absolute;
    inset: 0;
    background: none;
    padding: 0;
  }
  .modal-box {
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    max-width: 100%;
  }
  .modal-close-btn,
  .pass-actions-row {
    display: none !important;
  }
  .accreditation-badge {
    margin: 40px auto;
    border: 2px solid #000;
    color: #000;
    background: #fff !important;
    box-shadow: none !important;
  }
  .badge-attendee-name,
  .badge-brand-text {
    color: #000 !important;
  }
  .badge-details-grid {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
  }
  .badge-detail-val {
    color: #000 !important;
  }
}
