/* ============================
   TEMA LADY TENNIS - Tweener
   Rosa / Viola / Lilla / Bianco
   ============================ */

/* Sfondo generale */
body {
  background: linear-gradient(180deg, #ffffff 0%, #fff5fd 100%);
  color: #4a004e;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  background-color: #ffeaf5;
  box-sizing: border-box;
  width: 100%;
}

/* Pulsanti principali */
.btn,
.btn-toolset,
.btn-toolmai {
  background: #8f63dd ;
  border: none;
  color: #ffffff !important;
  border-radius: 30px;
  padding: 10px 18px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(163, 85, 200, 0.3);
  font-weight: 500;
}

.btn:hover,
.btn-toolset:hover,
.btn-toolmai:hover {
  background: #a52aff;
  transform: scale(1.05);
  border: 0px; /* Bordo arancione al passaggio del mouse */
}

/* Tabella classifica */
.table-container {
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
}

.table-container table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

.table-container th {
  background: #feeef6;
  color: #fff;
  text-align: center;
}

.table-container td {
  border-bottom: 1px solid #f0c5ea;
  padding: 8px 10px;
  color: #4a004e;
}

/* Riga evidenziata al passaggio */
.table-container tr:hover {
  background-color: #f8dff2;
  cursor: pointer;
}

/* Sezioni torneo */
.table-container tr td[colspan="6"] {
  background-color: #d57bc4 !important;
  color: #fff;
  font-size: 18px;
  border-top: 3px solid #fff;
}

/* LIVE indicator */
.live-box {
  display: inline-flex;
  align-items: center;
  background: #d0008f;
  border-radius: 25px;
  padding: 5px 15px;
  color: #fff;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

.live-dot {
  height: 10px;
  width: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 6px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 150, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 150, 0); }
}

/* Badge gruppi (A, B, C...) */
.badge-gruppo {
  background-color: #c064c8;
  color: #fff;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 6px;
  margin-left: 6px;
}

/* Finestra modale */
.modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #f0b0e0;
}

.modal-header {
  background: linear-gradient(90deg, #e47ab1, #b86cb8);
  color: #fff;
}

.modal-footer {
  background-color: #fbe5f3;
}

/* Bottoni login */
.btn-success {
  background: linear-gradient(135deg, #da70c4, #b264c7);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #f285cc, #b876d4);
}

/* Footer */
p {
  color: #a55ba9;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .site-title {
    font-size: 18px;
  }

  .btn,
  .btn-toolset,
  .btn-toolmai {
    font-size: 14px;
    padding: 8px 12px;
  }

  .table-container table {
    width: 100%;
  }
}

.btn-stat {
  background: #ffd3ea ;
  border: none;
  color: #673ab7 !important;
  border-radius: 30px;
  padding: 10px 18px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(163, 85, 200, 0.3);
  font-weight: 500;
}

.btn-stat:hover {
  background: #dcacff;
  border: 0px; /* Bordo arancione al passaggio del mouse */
}