.mod_eb_mincalendar_table tbody td {
    font-weight: 400;
    padding: 13px 2px;
}

/* Event Booking - Registration complete (nowoczesny wygląd) */
#eb-registration-complete-page.eb-container{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}

/* Nagłówek strony + przycisk druku */
#eb-registration-complete-page .eb-page-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  font-size: 20px;
  line-height: 1.2;
}

#eb-registration-complete-page #pop-print{
  margin: 0 !important;
}

#eb-registration-complete-page #pop-print a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  text-decoration: none;
}

#eb-registration-complete-page #pop-print a:hover{
  background: #eef2ff;
  border-color: #c7d2fe;
}

/* Główny komunikat / karta */
#eb-registration-complete-page #eb-message.eb-message{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.08);
  padding: 18px 18px 8px 18px;
}

/* Pierwszy akapit "Dziękujemy..." jako czytelny lead */
#eb-registration-complete-page #eb-message > p:first-of-type{
  margin: 0 0 14px 0;
  padding: 12px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  line-height: 1.45;
}

/* Formularz z danymi jako lista wierszy */
#eb-registration-complete-page #adminForm{
  margin: 0;
}

/* każdy wiersz: label + wartość */
#eb-registration-complete-page #adminForm .form-row{
  margin: 0 0 10px 0;
  padding: 12px 12px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #ffffff;
}

#eb-registration-complete-page #adminForm .form-row:hover{
  border-color: #e5e7eb;
  background: #fbfdff;
}

/* label */
#eb-registration-complete-page #adminForm .form-control-label,
#eb-registration-complete-page #adminForm .col-md-3.form-control-label{
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
  padding-top: 0;
}

/* wartość */
#eb-registration-complete-page #adminForm .eb-form-control,
#eb-registration-complete-page #adminForm .col-md-9.eb-form-control{
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
}

/* puste wartości ( ) jako delikatne */
#eb-registration-complete-page #adminForm .eb-form-control:empty{
  opacity: 0.6;
}

/* link maila - bez "krzykliwej" stylizacji */
#eb-registration-complete-page joomla-hidden-mail a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Twoje duże "pudełko" z wybranymi miejscami ma inline style,
   ale możemy je lekko dopieścić przez selektor po elemencie w środku */
#eb-registration-complete-page .eb-seat-summary{
  letter-spacing: 0.2px;
}

/* Mobile: układ wierszy label/wartość w jedną kolumnę */
@media (max-width: 768px){
  #eb-registration-complete-page.eb-container{
    padding: 12px;
  }

  #eb-registration-complete-page .eb-page-heading{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
  }

  #eb-registration-complete-page #adminForm .form-row{
    padding: 12px;
  }

  #eb-registration-complete-page #adminForm .col-md-3,
  #eb-registration-complete-page #adminForm .col-md-9{
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #eb-registration-complete-page #adminForm .col-md-3.form-control-label{
    margin-bottom: 6px;
    opacity: 0.9;
  }
}

/* Kontener mapy: bez ucinania + płynny scroll na mobile */
#eb-seatmap{
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 10px;
}

/* Żeby mapa była wyśrodkowana, gdy się mieści,
   ale nadal mogła być przewijana gdy jest szersza */
#eb-seatmap{
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile: trzymamy czytelny rozmiar miejsc (bez skalowania całego bloku) */
@media (max-width: 768px){
  /* sensowny rozmiar na telefonie */
  #eb-seatmap .eb-seat{
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 12px !important;
    border-radius: 6px;
  }

  #eb-seatmap .eb-seatmap-rowlabel{
    width: 18px !important;
    font-size: 12px !important;
    line-height: 28px !important;
  }

  /* jeśli masz przerwy/gapy – zostawiamy małe */
  #eb-seatmap .eb-seatmap-row{
    gap: 3px;
  }

  #eb-seatmap .eb-seatmap-stage,
  #eb-seatmap .eb-seatmap-sep{
    margin: 8px 0;
  }
}

/* Bardzo małe telefony: minimalnie mniejsze miejsca, ale nadal czytelne */
@media (max-width: 380px){
  #eb-seatmap .eb-seat{
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 11px !important;
  }
  #eb-seatmap .eb-seatmap-rowlabel{
    width: 16px !important;
    line-height: 24px !important;
  }
}