/* Spielbörse (freundschaftsspiele.php) — Buttons und Grundtypografie kommen aus style.css */
.boerse-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin: 28px 0 14px;
  padding: 18px;
  background: var(--sf-gray-50);
  border: 1px solid var(--sf-gray-100);
  border-radius: var(--sf-radius);
}

.boerse-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 1 150px;
  min-width: 0;
}

.boerse-field--grow {
  flex: 1 1 240px;
}

.boerse-field--btn {
  flex: 0 0 auto;
}

.boerse-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sf-gray-600);
}

/* 16px: kein Auto-Zoom auf dem iPhone */
.boerse-field .input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #c9d5e5;
  border-radius: 10px;
  background: var(--sf-white);
  color: var(--sf-navy);
}

.boerse-note {
  margin: 0 0 18px;
  color: var(--sf-gray-600);
}

.boerse-note--err {
  color: #b42318;
}

.boerse-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.boerse-list > .muted {
  grid-column: 1 / -1;
}

.boerse-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--sf-gray-100);
  border-radius: var(--sf-radius);
  background: var(--sf-white);
  box-shadow: 0 6px 18px rgba(15, 26, 46, 0.06);
}

.boerse-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.boerse-card h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

.boerse-club,
.boerse-facts {
  color: var(--sf-gray-600);
  font-size: 0.95rem;
}

.boerse-place {
  text-align: right;
  font-size: 0.95rem;
  flex: 0 0 auto;
  max-width: 45%;
}

.boerse-distance {
  display: block;
  font-weight: 700;
  color: var(--sf-blue-dark);
}

.boerse-slots {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.boerse-slots li {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--sf-gray-50);
  font-weight: 600;
}

.boerse-slots .boerse-slot--tournament {
  background: #f1ecff;
  border-left: 4px solid #6d4bd8;
}

.boerse-slots li span {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--sf-gray-600);
}

.boerse-slots .boerse-slots-more {
  background: none;
  font-weight: 400;
  color: var(--sf-gray-600);
  padding: 0 10px;
}

.boerse-card .btn {
  align-self: flex-start;
}

.boerse-how {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--sf-gray-100);
  max-width: 760px;
}

.boerse-how h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.boerse-how ol {
  margin: 0 0 16px 1.2rem;
}

.boerse-how li,
.boerse-how p {
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .boerse-field,
  .boerse-field--btn {
    flex: 1 1 100%;
  }

  .boerse-field--btn .btn {
    width: 100%;
  }

  .boerse-card-head {
    flex-direction: column;
    gap: 4px;
  }

  .boerse-place {
    text-align: left;
    max-width: none;
  }
}

.boerse-empty {
  grid-column: 1 / -1;
  padding: 1.4rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 127, 212, 0.1), rgba(107, 198, 40, 0.14));
}

.boerse-empty h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.boerse-empty p {
  margin: 0 auto 0.9rem;
  max-width: 34rem;
}

.boerse-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

/* Landingpage mannschaft-eintragen.php */
.boerse-reg-hero {
  padding: 1.8rem 1.3rem;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 127, 212, 0.1), rgba(107, 198, 40, 0.16));
}

.boerse-reg-hero h1 {
  margin: 0.2rem 0 0.7rem;
}

.boerse-reg-hero .lead {
  max-width: 40rem;
  margin: 0 auto 1.3rem;
}

.boerse-reg-cta {
  font-size: 1.08rem;
  padding: 0.95rem 1.8rem;
}

.boerse-reg-sub {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  color: var(--sf-gray-600);
}

.boerse-reg-h2 {
  margin: 2.2rem 0 1rem;
  font-size: 1.35rem;
}

.boerse-reg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.boerse-reg-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--sf-gray-100);
  border-radius: var(--sf-radius);
  background: var(--sf-white);
}

.boerse-reg-num {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1a7fd4, #6bc628);
}

.boerse-reg-steps h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.05rem;
}

.boerse-reg-steps p {
  margin: 0;
  color: var(--sf-gray-600);
}

.boerse-reg-benefits {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.boerse-reg-benefits li {
  position: relative;
  padding-left: 1.8rem;
}

.boerse-reg-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0.2rem;
  font-weight: 800;
  color: #4a9a18;
}
