/* Wrapper */
.sb-listing-wrapper.sb-listing-wrapper__table-payments {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Item */
.sb-item.sb-item-one-line {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}
.sb-item.sb-item-one-line:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Obere Zeile -> Logo | Name+Bonus | Buttons */
.sb-top-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  gap: 10px;
}

/* Logo-Spalte (200x200) */
.sb-col-logo {
  display: flex;
  align-items: center;
  position: relative;
}
.sb-logo-box {
  width: 200px;
  height: 200px;
  position: relative;
  background: #f0f0f0;
}
.sb-rank-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: #f00;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.sb-rating-badge {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
}
.circle-bg-wrap {
  position: relative;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
}
.circular-chart {
  width: 40px;
  height: 40px;
  transform: rotate(-90deg);
}
.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 4;
}
.circle-progress {
  fill: none;
  stroke: #900; 
  stroke-width: 4;
  stroke-dasharray: 100,100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.6s ease;
}
.circle-percentage {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Logo-Button */
.sb-logo-button {
  position: absolute;
  top: 0; left: 0;
  width: 200px;
  height: 200px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.sb-logo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name + Bonus */
.sb-col-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.sb-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
}
.sb-bonus {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

/* Buttons (in einer Zeile, rechts) */
.sb-col-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.sb-button {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.sb-btn-red {
  background: #c00;
}
.sb-btn-red:hover {
  background: #900;
}
.sb-btn-dark {
  background: #000;
}
.sb-btn-dark:hover {
  background: #333;
}

/* Toggle-Fußleiste */
.sb-bottom-row {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 10px;
  text-align: right;
}
.sb-toggle {
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
}
.toggle-icon {
  margin-left: 5px;
}

/* Ausklappbare Details */
.sb-details {
  display: none;
  border-top: 1px solid #eee;
  background: #fafafa;
  padding: 15px;
}
.sb-detail-row {
  margin-bottom: 15px;
  display: flex;
  gap: 8px;
}
.detail-label {
  font-weight: 600;
  color: #333;
  min-width: 150px;
}
.detail-value {
  color: #555;
}
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.more-methods {
  font-size: 0.8rem;
  color: #666;
}

/* Bonus-Code (falls vorhanden) */
.sb-warning-row {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px;
}

/* Responsiv */
@media (max-width: 768px) {
  .sb-top-row {
    flex-wrap: wrap;
  }
  .sb-col-logo {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .sb-logo-box {
    margin: 0 auto;
  }
  .sb-col-info {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .sb-col-buttons {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  /* Generell: Die gesamte obere Zeile wrappt in mehrere Zeilen */
  .sb-top-row {
    flex-wrap: wrap;
  }

  /* Name & Bonus: bitte block/untereinander */
  .sb-col-info {
    width: 100%;           /* volle Breite */
    display: block;        /* statt flex: block anordnen */
    margin-bottom: 10px;   /* etwas Abstand darunter */
    text-align: center;    /* zentriert, wenn gewünscht */
  }

  /* Buttons: gestapelt (column) statt nebeneinander */
  .sb-col-buttons {
    width: 100%;
    display: flex;             /* geht auch block; flex aber + column = stapeln */
    flex-direction: column;    /* vertikal stapeln */
    gap: 10px;                 /* Abstand zw. den Buttons */
    justify-content: center;   /* zentrieren, falls gewünscht */
    align-items: center;       /* Buttons mittig, optional */
    margin-bottom: 10px;       /* Abstand darunter, falls nötig */
  }
}
/* =====================
   OPTIONAL MOBILE CSS
   ===================== */
@media (max-width: 768px) {
  .sb-top-row {
    flex-wrap: wrap;
  }
  .sb-col-info {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }
  .sb-col-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
}