/**
 * Bosch JÖVŐBARÁT Tech Piknik - Registration Styles
 * 
 * Modern, responsive CSS for the complete registration system
 */

/* === Bosch SANS FONTS === */
@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Regular-v5_003.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Italic-v5_003.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Light-v5_003.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-LightItalic-v5_003.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Medium-v5_003.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-MediumItalic-v5_003.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Bold-v5_003.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-BoldItalic-v5_003.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-Black-v5_003.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bosch Sans';
  src: url('../fonts/BoschSans-BlackItalic-v5_003.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* === ROOT VARIABLES === */
:root {
  /* Bosch Brand Colors - Official Palette */
  --bosch-white: #FFFFFF;
  --bosch-black: #000000;
  --bosch-gray: #71767C;
  --bosch-light-gray: #D4DADD;
  --bosch-red: #ED0007;
  --bosch-purple: #9E2896;
  --bosch-blue: #007BC0;
  --bosch-turquoise: #18837E;
  --bosch-green: #00884A;

  /* Typography */
  --font-family-primary: 'Bosch Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-headings: 'Bosch Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Legacy aliases for compatibility */
  --bosch-dark-red: #ED0007;
  --bosch-dark-blue: #007BC0;
  --bosch-light-gray: #D4DADD;
  --bosch-dark: #000000;

  /* Success/Error Colors */
  --success-color: #00884A;
  --error-color: #ED0007;
  --warning-color: #FFC107;
  --info-color: #007BC0;

  /* Background & Text */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-dark: #000000;
  --text-primary: #000000;
  --text-secondary: #71767C;
  --text-light: #FFFFFF;

  /* Borders & Shadows */
  --border-radius: 0px;
  --border-radius-small: 0px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === GENERAL STYLES === */
* {
  font-family: var(--font-family-primary);
}

body {
  font-family: var(--font-family-primary);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-headings);
  font-weight: 600;
}

input,
select,
textarea,
button {
  font-family: var(--font-family-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === HEADER SECTION === */
.header-section {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  position: relative;
}

/* === Bosch SUPERGRAPHIC STRIP === */
.bosch-supergraphic-strip {
  height: 6px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bosch-white);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.supergraphic-image {
  width: 100%;
  height: 6px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-normal);
}

.header-section:hover .supergraphic-image {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.header-background {
  background:
    /* Finom gradiens overlay a logó jobb láthatóságáért */
    linear-gradient(135deg,
      #d1d1d166 0%,
      rgba(255, 255, 255, 0.3) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(0, 0, 0, 0.3) 75%,
      rgba(0, 0, 0, 0.4) 100%),
    /* Függőleges gradiens a jobb átmenetért */
    linear-gradient(to bottom,
      rgba(241, 241, 241, 0.5) 0%,
      rgba(216, 216, 216, 0.3) 30%,
      rgba(155, 155, 155, 0.1) 70%,
      rgba(0, 0, 0, 0.3) 100%),
    url('../img/header_bg.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  25% {
    transform: translateX(-10px) translateY(-5px);
  }

  50% {
    transform: translateX(10px) translateY(-10px);
  }

  75% {
    transform: translateX(-5px) translateY(5px);
  }
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  color: var(--bosch-white);
}

/* === BRAND SECTION === */
.brand-section {
  text-align: center;
  margin-bottom: 3rem;
}

.logo-container {
  margin-top: 1rem;
  margin-bottom: 1rem;
  /* animation: logoGlow 3s ease-in-out infinite alternate; */
}

@keyframes logoGlow {
  from {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }

  to {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
  }
}

.logo-container img {
  max-height: 60px;
  transition: var(--transition-normal);
}

.brand-text {
  position: relative;
}

.main-title {
  font-family: var(--font-family-headings);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  animation: titleSlideIn 1s ease-out;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-name {
  display: block;
  font-size: 0.7em;
  letter-spacing: 0.1em;
  color: var(--bosch-black);
  animation: brandFadeIn 1.5s ease-out 0.3s both;
}

.event-name {
  display: block;
  font-size: 1.2em;
  color: var(--bosch-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: eventSlideIn 1.5s ease-out 0.6s both;
}

.tech-highlight {
  display: block;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  color: var(--bosch-black);
  animation: techFadeIn 1.5s ease-out 0.9s both;
}

@keyframes brandFadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes eventSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes eventGlow {
  from {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  to {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
}

@keyframes techFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.subtitle-section {
  position: relative;
  margin-top: 0.8rem;
}

.subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  animation: subtitleFadeIn 1.5s ease-out 1.2s both;
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle-decoration {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bosch-gray), transparent);
  margin: 0 auto;
  border-radius: 0px;
  animation: decorationGrow 1.5s ease-out 1.5s both;
}

@keyframes decorationGrow {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 100px;
    opacity: 1;
  }
}

/* === EVENT INFO SECTION === */
.event-info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
  animation: cardsSlideUp 1.5s ease-out 1.8s both;
}

@keyframes cardsSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  transition: var(--transition-slow);
}

.event-card:hover::before {
  left: 100%;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-normal);
  color: var(--bosch-blue);
}

.event-card:hover .event-icon {
  background: rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.event-details h4 {
  font-family: var(--font-family-headings);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-details p {
  font-size: 1rem;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  animation: ctaFadeIn 1.5s ease-out 2.1s both;
}

@keyframes ctaFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-style: italic;
}

.cta-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
  cursor: pointer;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* === GAME INFO TEXT === */
.game-info-text {
  background: var(--bg-primary);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.game-info-text .container {
  max-width: 800px;
}

.game-info-text h2 {
  color: var(--bosch-blue);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.game-info-text h3 {
  color: var(--bosch-blue);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.game-info-text p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.game-info-text ul {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.game-info-text li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.game-info-text .cta {
  color: var(--bosch-blue);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 1.5rem;
}

.game-info-text .free-notice {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 0;
}

/* === REGISTRATION STATUS === */
#registration-status {
  margin-bottom: 2rem;
}

#registration-status .alert {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  font-weight: 500;
  display: none;
}

/* === PROGRESS BAR === */
.progress-section {
  margin-bottom: 3rem;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: none;
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.step-indicator {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 200px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 0px;
  background: var(--bosch-gray);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  transition: var(--transition-normal);
}

.step-indicator.active .step-number {
  background: var(--bosch-blue);
  transform: scale(1.1);
}

.step-indicator.completed .step-number {
  background: var(--success-color);
}

.step-text {
  font-weight: 500;
  color: var(--text-secondary);
}

.step-indicator.active .step-text {
  color: var(--bosch-blue);
  font-weight: 600;
}

.progress {
  height: 8px;
  border-radius: 0px;
  background: rgba(108, 117, 125, 0.2);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--bosch-blue) 0%, var(--bosch-red) 100%);
  transition: width var(--transition-slow);
  border-radius: 0px;
}

/* === FORM SECTIONS === */
.form-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: var(--transition-normal);
}

.form-section:hover {
  box-shadow: var(--box-shadow-hover);
}

.form-section-header {
  background: linear-gradient(135deg, var(--bosch-blue) 0%, var(--bosch-blue) 100%);
  color: var(--text-light);
  padding: 1.5rem 2rem;
  border-bottom: 3px solid var(--bosch-turquoise);
}

.form-section-header h3 {
  font-family: var(--font-family-headings);
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-section-header .section-number {
  background: rgba(255, 255, 255, 0.2);
  width: 35px;
  height: 35px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.form-section-body {
  padding: 2rem;
}

/* === FORM CONTROLS === */
.form-label {
  font-family: var(--font-family-primary);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-label .required-star {
  color: var(--error-color);
}

.form-control {
  font-family: var(--font-family-primary);
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius-small);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--bg-primary);
}

.form-control:focus {
  border-color: var(--bosch-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 113, 188, 0.25);
  background: var(--bg-primary);
}

.form-control.is-valid {
  border-color: var(--success-color);
  background: rgba(40, 167, 69, 0.05);
}

.form-control.is-invalid {
  border-color: var(--error-color);
  background: rgba(220, 53, 69, 0.05);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* === VALIDATION FEEDBACK === */
.valid-feedback {
  font-family: var(--font-family-primary);
  display: none;
  color: var(--success-color);
  font-weight: 500;
  margin-top: 0.25rem;
}

.invalid-feedback {
  font-family: var(--font-family-primary);
  display: none;
  color: var(--error-color);
  font-weight: 500;
  margin-top: 0.25rem;
}

.form-control.is-valid~.valid-feedback,
.form-control.is-invalid~.invalid-feedback {
  display: block;
}

/* === TEAM MEMBER CARDS === */
.team-member-card {
  /* background: var(--bg-secondary); */
  background: linear-gradient(135deg, rgba(212, 218, 221, 0.05) 0%, rgba(248, 249, 250, 1) 100%);
  border: 2px solid var(--bosch-blue);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
}

.team-member-card:hover {
  border-color: var(--bosch-blue);
  box-shadow: var(--box-shadow);
}

.team-member-card.leader {
  border-color: var(--bosch-blue);
  background: linear-gradient(135deg, rgba(0, 123, 192, 0.05) 0%, rgba(248, 249, 250, 1) 100%);
}

.team-member-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #E9ECEF;
}

.team-member-number {
  width: 45px;
  height: 45px;
  border-radius: 0px;
  background: var(--bosch-blue);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.team-member-card.leader .team-member-number {
  background: var(--bosch-blue);
}

.leader-badge {
  background: var(--bosch-blue);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 0px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* === TIME SLOTS === */
#timeSlotsContainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* === TIME SLOT STATISTICS === */
.time-slot-stats {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0px;
  border: 1px solid #e9ecef;
  height: 100%;
}

.stat-item i {
  margin-bottom: 0.25rem;
}

.stat-item strong {
  font-size: 1.1rem;
  color: #2c3e50;
}

.stat-item small {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.stat-inline {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #2c3e50;
  justify-content: center;
}

.stat-inline i {
  flex-shrink: 0;
}

.stat-inline strong {
  font-size: 1.1rem;
  color: #2c3e50;
}

/* Mobile specific adjustments */
@media (max-width: 767.98px) {
  .stat-inline {
    justify-content: flex-start;
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }

  .stat-inline strong {
    font-size: 1rem;
  }
}

.time-slot-progress {
  margin: 1rem 0;
  background: #f8f9fa;
  border-radius: 0px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.time-slot-progress-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.time-slot-progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 0px;
  overflow: hidden;
  position: relative;
}

.time-slot-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bosch-blue) 0%, var(--bosch-red) 100%);
  border-radius: 0px;
  transition: width 0.6s ease;
  position: relative;
}

.time-slot-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.time-slot-progress-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

.time-slot-card {
  position: relative;
  cursor: pointer;
  transition: var(--transition-normal);
  width: 100%;
}

.time-slot-card input[type="radio"] {
  display: none;
}

.time-slot-card .card {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  cursor: pointer;
  height: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.time-slot-card .card-body {
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.time-slot-card:hover .card {
  border-color: var(--bosch-blue);
  box-shadow: var(--box-shadow);
  transform: translateY(-2px);
}

.time-slot-card input[type="radio"]:checked+.card {
  border-color: var(--bosch-green);
  background: linear-gradient(135deg, rgba(0, 136, 74, 0.2) 0%, rgba(248, 249, 250, 1) 100%);
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-4px);
}

.time-slot-unavailable .card {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: var(--bosch-gray);
}

.time-slot-unavailable:hover .card {
  transform: none;
  box-shadow: none;
}

.time-display {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bosch-blue);
  margin-bottom: 0.25rem;
}

.duration-info {
  color: var(--text-secondary);
}

.status-badge .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0px;
}

/* === TERMS AND CONDITIONS === */
.terms-section {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid #E9ECEF;
}

.form-check {
  padding: 1rem;
  background: #007BC015;
  border-radius: var(--border-radius-small);
  margin-bottom: 1rem;
  border: 1px solid #E9ECEF;
  transition: var(--transition-fast);
  border: 1px solid var(--bosch-blue);
}

.form-check:hover {
  border-color: var(--bosch-blue);
  border: 1px solid var(--bosch-turquoise);
}

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--bosch-blue);
  border-color: var(--bosch-blue);
}

.form-check-label {
  cursor: pointer;
  font-weight: 500;
  line-height: 1.5;
}

/* === Bosch EMPLOYEE CHECKBOX MOBILE FIX === */
@media (max-width: 767.98px) {
  .team-member-card .d-flex.align-items-center {
    padding: 1rem;
    background: rgba(0, 123, 192, 0.05);
    border: 1px solid rgba(0, 123, 192, 0.2);
    margin-top: 1.5rem !important;
  }

  .team-member-card .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }

  .team-member-card .form-check-label {
    font-size: 0.95rem;
    font-weight: 600;
    padding-left: 10px;
  }
}

/* === BUTTONS === */
.btn {
  font-family: var(--font-family-primary);
  border-radius: var(--border-radius-small);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bosch-green) 0%, var(--bosch-green) 100%);
  color: var(--text-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--bosch-green) 0%, var(--bosch-turquoise) 100%);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-success {
  background: linear-gradient(135deg, var(--bosch-green) 0%, var(--bosch-green) 100%);
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--bosch-green) 0%, var(--bosch-turquoise) 100%);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(0.3);
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  filter: grayscale(0.3);
}

.btn-outline-secondary {
  border: 2px solid var(--bosch-gray);
  background: transparent;
  color: var(--bosch-gray);
}

.btn-outline-secondary:hover {
  background: var(--bosch-gray);
  color: var(--text-light);
}

/* === ALERTS === */
.alert {
  font-family: var(--font-family-primary);
  border-radius: var(--border-radius);
  border: none;
  padding: 1.5rem;
  font-weight: 500;
  display: block;
  line-height: 1.6;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

.alert:hover {
  transform: translateY(-1px);
  box-shadow: var(--box-shadow-hover);
}

.alert .alert-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.8;
}

.alert .alert-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
  font-size: 1.1rem;
  color: inherit;
}

.alert .alert-content {
  margin: 0;
  display: block;
  opacity: 0.9;
}

.alert .alert-content ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.alert .alert-content li {
  margin-bottom: 0.25rem;
}

.alert-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
  color: var(--success-color);
  border-left: 4px solid var(--success-color);
}

.alert-success .alert-icon {
  color: var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
  color: var(--error-color);
  border-left: 4px solid var(--error-color);
}

.alert-danger .alert-icon {
  color: var(--error-color);
}

.alert-warning {
  background: linear-gradient(135deg, rgba(0, 136, 74, 0.2) 0%, rgb(248, 250, 248) 100%);
  color: black;
  border-left: 4px solid var(--bosch-green);
}

.alert-warning .alert-icon {
  color: var(--warning-color);
}

.alert-info {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
  color: var(--info-color);
  border-left: 4px solid var(--info-color);
}

.alert-info .alert-icon {
  color: var(--info-color);
}

/* === MODAL === */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--success-color) 0%, var(--bosch-green) 100%);
  color: var(--text-light);
  border-bottom: none;
  border-radius: 0px;
}

.modal-title {
  font-family: var(--font-family-headings);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-body {
  font-family: var(--font-family-primary);
  padding: 2rem;
  text-align: center;
}

.start-code-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bosch-black);
  background: var(--bg-secondary);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  border: 2px dashed var(--bosch-black);
  margin: 1.5rem 0;
  letter-spacing: 0.1em;
}

.modal-footer {
  border-top: none;
  padding: 1rem 2rem 2rem;
}

/* === LOADING STATES === */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--bosch-red);
  border-radius: 0px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }

  /* Header Mobile Styles */
  .bosch-supergraphic-strip {
    height: 6px;
  }

  .supergraphic-image {
    height: 6px;
  }

  .header-content {
    padding: 2rem 1rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .brand-name {
    font-size: 0.6em;
  }

  .event-name {
    font-size: 1.1em;
  }

  .tech-highlight {
    font-size: 0.7em;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .event-info-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-card {
    padding: 1rem;
  }

  .event-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .cta-text {
    font-size: 1rem;
  }

  /* Game Info Text Mobile */
  .game-info-text {
    padding: 2rem 0;
  }

  .game-info-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .game-info-text h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  .game-info-text p {
    font-size: 0.95rem;
  }

  .game-info-text li {
    font-size: 0.95rem;
  }

  .game-info-text .cta {
    font-size: 1rem;
  }

  .form-section-body {
    padding: 1.5rem;
  }

  .step-indicators {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-indicator {
    min-width: auto;
  }

  #timeSlotsContainer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .team-member-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .team-member-number {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0.75rem 0.25rem;
  }

  .header-content {
    padding: 1.5rem 0.75rem;
  }

  .main-title {
    font-size: 1.75rem;
  }

  /* Game Info Text Extra Small Mobile */
  .game-info-text {
    padding: 1.5rem 0;
  }

  .game-info-text h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .game-info-text h3 {
    font-size: 1rem;
    margin-top: 1.25rem;
  }

  .game-info-text p {
    font-size: 0.9rem;
  }

  .game-info-text li {
    font-size: 0.9rem;
  }

  .game-info-text .cta {
    font-size: 0.95rem;
  }

  .game-info-text .free-notice {
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-content {
    padding: 2.5rem 1.5rem;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .event-info-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  #timeSlotsContainer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

@media (min-width: 1025px) {
  .header-content {
    padding: 4rem 2rem;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .event-info-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  #timeSlotsContainer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }

  .time-slot-card .card {
    min-height: 70px;
  }

  .time-display {
    font-size: 1.2rem;
  }
}

/* === PRINT STYLES === */
@media print {
  .container {
    margin: 0;
    padding: 0;
  }

  .header-section,
  .progress-section,
  .btn,
  #registration-status {
    display: none !important;
  }

  .form-section {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus indicators */
*:focus {
  outline: 2px solid var(--bosch-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .form-control {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === DEVELOPMENT MODE STYLES === */
.dev-mode-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--warning-color);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  font-weight: 700;
  z-index: 9998;
  box-shadow: var(--box-shadow);
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bosch-gray);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bosch-blue);
}

/* === FOOTER STYLES === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid #dee2e6;
  margin-top: auto;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link {
  font-family: var(--font-family-primary);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--bosch-blue);
  text-decoration: underline;
}

.footer-separator {
  color: var(--text-secondary);
  font-size: 0.875rem;
}