/* ==========================================================================
    ITC Leiden Alumni Reunion - Official Brand-Aligned Stylesheet
    ========================================================================== */

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1340px;
  margin: 0 auto;
  background-color: black;
  color: white;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper {
  width: 100%;
}

/* ─── HEADER SECTION (Matching itc-leiden.nl/le26 layout) ───── */
.header-header {
  display: flex;
  height: 133px;
  gap: 15px;
}

.header-logo {
  width: 244px;
  height: 133px;
  margin-left: 10px;
  background-color: #bb1d1c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
}

.header-banner {
  flex: 1 1;
  height: 133px;
  overflow: hidden;
  margin-right: 10px;
  border-bottom: 1px solid white;
  padding-bottom: 20px;
}

.header-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── CONTACT SECTION ──────────────────────────────────────── */
.contact-container {
  padding-top: 32px;
  display: flex;
  gap: 15px;
}

.contact-contact {
  width: 244px;
  flex-shrink: 0;
  padding-top: 10px;
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  padding-right: 10px;
}

.contact-contact p {
  margin-bottom: 4px;
}

.contact-title {
  flex: 1 1;
  font-family: serif;
  font-size: 54px;
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* ─── CONTENT GRID SECTION ────────────────────────────────── */
.content-container {
  display: flex;
  gap: 15px;
  padding-top: 32px;
  padding-left: 0;
  padding-right: 10px;
}

.content-spacer {
  width: 244px;
  flex-shrink: 0;
  padding-top: 10px;
}

.content-block {
  flex: 1 1;
  background-color: white;
  color: black;
  padding: 30px 40px;
  box-sizing: border-box;
}

/* Main title & subtitle on page */
.main-page-title {
  font-family: serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #111111;
  margin-bottom: 8px;
  border-bottom: 1px solid #e1dc3bc2;
  padding-bottom: 12px;
}

.main-page-subtitle {
  font-family: serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #bb1d1c;
  margin-bottom: 30px;
}

/* Two-column sub-grid inside the white content sheet */
.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: start;
}

/* ─── PROGRAM COLUMN (Left Side) ───────────────────────────── */
.program-column {
  border-right: 1px solid #eeeeee;
  padding-right: 25px;
}

.section-heading {
  font-family: serif;
  font-size: 1.6rem;
  color: #111111;
  margin-bottom: 6px;
}

.section-divider {
  height: 2px;
  width: 40px;
  background-color: #bb1d1c;
  margin-bottom: 20px;
}

.program-day h4 {
  font-family: serif;
  font-size: 1.25rem;
  color: #bb1d1c;
  margin-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 6px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.time-block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
  border-left: 2px solid #e0e0e0;
  padding-left: 12px;
}

.time {
  font-weight: 700;
  color: #111111;
}

.event-title {
  font-weight: 700;
  display: block;
}

.meta-info {
  display: block;
  font-size: 0.85rem;
  color: #555555;
  font-style: italic;
  margin-top: 2px;
}

.location {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 1px 6px;
  font-size: 0.8rem;
  border-radius: 2px;
  margin-top: 3px;
}

.bullet-details {
  list-style-type: square;
  margin-left: 18px;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #555555;
}

.special-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bb1d1c;
  margin-top: 3px;
}

/* ─── FORM COLUMN (Right Side) ────────────────────────────── */
.form-column {
  padding-left: 5px;
}

/* Form Wizard steps */
.academic-steps {
  display: flex;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
}

.step-indicator {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 4px;
  color: #777777;
  border-bottom: 2px solid transparent;
  cursor: default;
}

.step-indicator.active {
  color: #bb1d1c;
  border-bottom-color: #bb1d1c;
}

/* Wizard Steps content switching */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.step-title {
  font-family: serif;
  font-size: 1.25rem;
  color: #111111;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 20px;
}

/* Input Fields and Labels */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #333333;
}

.form-group .question-label {
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #111111;
}

.required {
  color: #bb1d1c;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid #cccccc;
  border-radius: 2px;
  background-color: #ffffff;
  color: #111111;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #bb1d1c;
  box-shadow: 0 0 0 2px rgba(187, 29, 28, 0.15);
}

.hidden {
  display: none !important;
}

/* Step 1 Choice Cards */
.radio-card-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  padding: 10px 12px;
  cursor: pointer;
  background-color: #ffffff;
}

.radio-card input[type="radio"] {
  margin-top: 3px;
}

.radio-card.active {
  border-color: #bb1d1c;
  background-color: rgba(187, 29, 28, 0.02);
}

.radio-card-text strong {
  display: block;
  font-size: 0.85rem;
  color: #111111;
}

.radio-card-text span {
  font-size: 0.75rem;
  color: #666666;
}

/* Horizontal Radio group */
.radio-options-horizontal {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Highlight boxes for conditionals */
.conditional-group {
  background-color: #fafafa;
  border-left: 3px solid #bb1d1c;
  padding: 12px 15px;
  border-radius: 0 2px 2px 0;
  margin-top: 12px;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  border-top: 1px solid #eeeeee;
  padding-top: 15px;
}

.btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #bb1d1c;
  color: white;
}

.btn-primary:hover {
  background-color: #9e1817;
}

.btn-secondary {
  background-color: transparent;
  border-color: #cccccc;
  color: #666666;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
  color: #333333;
}

.btn-success {
  background-color: #27ae60;
  color: white;
}

.btn-success:hover {
  background-color: #219653;
}

/* ─── SUCCESS AND FINAL SUMMARY ────────────────────────────── */
.success-banner {
  text-align: center;
  margin-bottom: 20px;
}

.success-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.success-banner h3 {
  font-family: serif;
  color: #bb1d1c;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.submission-summary {
  background-color: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  padding: 15px;
}

.submission-summary h4 {
  font-family: serif;
  color: #111111;
  border-bottom: 1px dashed #dddddd;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.summary-item .label {
  font-weight: 600;
  color: #555555;
}

.summary-item .value {
  color: #111111;
}

/* ─── FOOTER STYLING (Matching itc-leiden.nl/le26 layout) ───── */
.footer-container {
  display: flex;
  gap: 15px;
  padding-top: 32px;
  padding-right: 10px;
  padding-bottom: 40px;
}

.footer-spacer {
  width: 244px;
  flex-shrink: 0;
}

.footer-footer {
  flex: 1 1;
  background-color: #bb1d1c;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footerLinkButton-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  color: white;
  border: 1px solid white;
  padding: 10px;
  margin: 5px 10px;
  transition: all 0.2s ease;
}

.footerLinkButton-button:hover {
  background-color: white;
  color: #bb1d1c;
}

.admin-link-footer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-left: 10px;
}

.admin-link-footer a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.admin-link-footer a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE SYSTEM (1024px Breakpoint) ────────────────── */
@media (max-width: 1024px) {
  body {
    padding: 0 10px;
  }
  
  .header-header {
    display: block;
    height: 133px;
    gap: 0;
  }
  
  .header-logo {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    padding-left: 25px;
  }
  
  .header-banner {
    display: none;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 16px;
    padding-left: 10px;
  }
  
  .contact-title {
    order: 1;
    margin-right: 0;
    font-size: 36px;
  }
  
  .contact-contact {
    order: 2;
    width: 100%;
    margin-left: 0;
    padding-top: 0;
    text-align: left;
  }
  
  .content-container {
    flex-direction: column;
    gap: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .content-spacer {
    display: none;
  }
  
  .content-block {
    order: 2;
    width: auto;
    margin: 0;
    padding: 20px 15px;
    text-align: left;
  }
  
  .content-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .form-column {
    order: 1;
  }
  
  .program-column {
    order: 2;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 25px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .footer-spacer {
    display: none;
  }
  
  .footer-footer {
    justify-content: center;
    text-align: center;
  }
}

/* ─── CUSTOM ALERT MODAL STYLES ───────────────────────────── */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal-box {
  position: relative;
  width: 90%;
  max-width: 440px;
  background-color: #ffffff;
  color: #111111;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  overflow: hidden;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 18px 24px 12px 24px;
  border-bottom: 1px solid #eeeeee;
}

.modal-header h4 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #bb1d1c;
}

.modal-body {
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
}

.modal-footer {
  padding: 12px 24px 18px 24px;
  display: flex;
  justify-content: flex-end;
}

.modal-footer .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}
