/* ===== MY TOURNAMENTS (I Miei Tornei) ===== */
#my-tournaments {
    text-align: center;
    padding: 2rem 1rem 3rem;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#my-tournaments h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

#my-tournaments p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

#my-tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 720px;
    max-height: 60vh;
    overflow-y: auto;
    margin: 0 auto 1.5rem;
    text-align: left;
    padding-right: 0.3rem;
}

.my-tournament-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #95a5a6;
    border-radius: 8px;
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.my-tournament-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.my-tournament-card.tipo-individuale { border-left-color: #2980b9; }
.my-tournament-card.tipo-squadre     { border-left-color: #16a085; }
.my-tournament-card.stato-concluso   { opacity: 0.75; }

.my-tournament-info {
    flex: 1;
    min-width: 220px;
}

.my-tournament-nome {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.15rem;
}

.my-tournament-meta {
    font-size: 0.78rem;
    color: #7f8c8d;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}

.my-tournament-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.my-tournament-badge.in-corso {
    background: #fdebd0;
    color: #b9770e;
}

.my-tournament-badge.concluso {
    background: #d5f5e3;
    color: #1e8449;
}

.my-tournament-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.my-tournament-actions button {
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.my-tournament-actions button:hover {
    opacity: 0.85;
}

.btn-apri-torneo {
    background: #2980b9;
    color: white;
}

.btn-rinomina-torneo {
    background: #ecf0f1;
    color: #555;
}

.btn-elimina-torneo {
    background: #fceae9;
    color: #c0392b;
}

.my-tournaments-empty {
    color: #95a5a6;
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.my-tournaments-nuovo-btn {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.my-tournaments-nuovo-btn:hover {
    opacity: 0.88;
}
