/* =================================================================== */
/* Übersicht der CSS-Abschnitte:                                       */
/*   0) Reset                                                           */
/*   1) Statusbox                                                      */
/*   2) Timestamp                                                      */
/*   3) Infobox                                                        */
/*   4) Tooltip                                                        */
/*   5) Mobile Overrides                                               */
/* =================================================================== */

/* =================================================================== */
/* 0) RESET für Tabelle & Zellen ====================================== */
.status-wrapper .status-table,
.status-wrapper .status-table tr,
.status-wrapper .status-table td {
  margin: 0;
  padding: 0;
}

/* =================================================================== */
/* 1) Grafik & Button ======================================================= */
.payment-section {
  text-align: center;
  margin: 2em 0;
}

.payment-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.payment-button-wrapper {
  margin-top: 1em;
}

.payment-button {
  all: unset;
  display: inline-block;
  background-color: rgba(8, 176, 80, 1.0);
  color: #005f73;
  font-size: 1.0em;
  font-weight: 300;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.payment-button:hover {
  background-color: rgba(8, 176, 80, 0.8);
}



/* =================================================================== */
/* 3) INFOBOX ========================================================= */
.custom-textbox {
  background-color: #e0f2f1;
  font-size: 0.75em;
  color: #005f73;
  border-radius: 8px;
  padding: 1.2em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  line-height: 1.5;
}

.step-list p {
  line-height: 1.1; /* oder z.B. 1.0 für noch kompaktere Darstellung */
  margin-bottom: 0.3em; /* optional: reduziert Abstand zwischen den <p>-Elementen */
}

/* =================================================================== */
/* 4) TOOLTIP ========================================================= */
.tooltip-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1em;
  position: relative;
  cursor: help;
}

.info-circle {
  background-color: #005f73;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
}

.infobox-label {
  font-size: 0.8em;
  font-weight: 600;
  color: #005f73;
  margin: 0;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 95, 115, 0.85);
  color: #fff;
  padding: 1em;
  border-radius: 6px;
  width: 500px;
  max-width: 90vw;
  font-size: 0.85em;
  line-height: 1.4;
  text-align: left;
  z-index: 10000;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.tooltip-text ul {
  list-style-type: disc;
  list-style-position: inside;
  margin: 0;
  padding-left: 1em;
}

.tooltip-text ul li {
  margin-bottom: 0.5em;
}

.tooltip-inline:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -48%);
}

@media (max-width: 600px) {
  /* Timestamp auf 1em zurücksetzen */
  #timestamp {
    font-size: 1.2em !important;
  }
}

/* =================================================================== */
/* 6) MODALS: Zahlung erfolgreich / fehlgeschlagen ==================== */
/* =================================================================== */

.modal-content {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  font-family: 'Aboreto', sans-serif;
  padding: 0.5em;
}

.modal-header {
  border-bottom: none;
  padding: 1em 1em 0.5em;
}

.modal-title {
  font-size: 1.2em;
  font-weight: 500;
  font-family: 'Aboreto', sans-serif;
  margin: 0;
}

.modal-body {
  font-size: 0.85em;
  line-height: 1.5;
  font-family: 'Aboreto', sans-serif;
  padding: 1em;
}

.btn-close-white {
  filter: invert(1);
}

.success-modal {
  background-color: #08b050;
  color: #fff;
}

.failed-modal {
  background-color: #d32f2f;
  color: #fff;
}

.modal-content.success-modal {
  background-color: rgba(8, 176, 80, 0.9); /* leicht transparentes Grün */
  color: #fff !important;
}

.modal-content.failed-modal {
  background-color: rgba(211, 47, 47, 0.9); /* leicht transparentes Rot */
  color: #fff !important;
}

