/* ========================================================= */
/* 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) BUTTONS =============================================== */
.payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 50px;
  padding: 0.75em 1.5em;
  background-color: rgba(8, 176, 80, 0.5);
  color: #005f73;
  font-size: 0.75em;
  font-family: 'Aboreto', sans-serif;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

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

.payment-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Deaktivierter Button */
.payment-button.inactive-button {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  border: 1px solid #aaa;
}

/* C2A-Checkbox unterhalb des Buttons */
.c2a-wrapper {
  margin-top: 1rem;
  text-align: center;
}

.c2a-wrapper label {
  font-size: 0.85em;
  font-weight: 400;
}

/* ========================================================= */
/* 2) TIMESTAMP ============================================= */
#timestamp {
  font-size: 1.2em;
}

/* ========================================================= */
/* 3) INFOBOX =============================================== */
.infobox-label {
  font-size: 0.8em;
  font-weight: 600;
  color: #005f73;
  margin: 0;
}

/* ========================================================= */
/* 4) TOOLTIP =============================================== */
.tooltip-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  
  position: relative;
  cursor: help;
  justify-content: center;
  text-align: center;
  width: fit-content;
}

.tooltip-wrapper {
  display: flex;
  justify-content: center;
}

.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.9em;
  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: 1.5em;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  font-size: 1.0em;
  line-height: 1.6;
  text-align: left;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Zentrierung auch für Listen und Absätze */
.tooltip-text p,
.tooltip-text ul,
.tooltip-text li {
  text-align: left;
  margin: 0.5em 0;
}

/* Listen-Stil */
.tooltip-text ul {
  list-style-type: none;
  padding: 0;
}

.tooltip-text ul li::before {
  content: "• ";
  color: #fff;
  font-weight: bold;
}

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

/* ========================================================= */
/* 5) MODALS: Erfolg / Fehler & Zahlungshinweis ============ */
.modal {
  z-index: 11000 !important;
}

.modal-backdrop {
  z-index: 10990 !important;
}

.modal-dialog {
  margin: 0 auto !important;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}

.modal-content {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-family: 'Aboreto', sans-serif;
  padding: 1.5em;
  background-color: rgba(255, 255, 255, 0.95);
  text-align: center;
  position: relative;
}

/* MODAL: Zahlungshinweis (grün) */
#c2aModal .modal-content {
  background-color: #28a745;
  color: white;
  border-radius: 8px;
  padding: 1rem;
  border: none;
}

#c2aModal .modal-title {
  font-weight: bold;
  font-size: 1.25rem;
}

#c2aModal .modal-body {
  font-size: 1rem;
  text-align: center;
  border: none;
}

.modal-hinweistext {
  margin-bottom: 2rem;
  text-align: center;
}

/* MODAL: Schließen-Button */
#c2aModal .custom-close,
.custom-close {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 95, 115, 0.3);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* MODAL: Erfolg / Fehler */
.success-modal {
  background-color: rgba(8, 176, 80, 0.9);
  color: #fff !important;
}

.failed-modal {
  background-color: rgba(211, 47, 47, 0.9);
  color: #fff !important;
}

/* ========================================================= */
/* 6) MOBILE OVERRIDES ====================================== */
@media (max-width: 600px) {
  .modal-dialog {
    max-width: 95vw !important;
    margin: 0 auto;
  }

  .modal-content {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .tooltip-text {
    width: 90vw;
  }

  .payment-button {
    width: 300px;
  }

  .payment-button-wrapper {
    justify-content: center;
  }

  #timestamp {
    font-size: 1.2em !important;
  }
}

