/* static/css/tournament/structure.css
   The structure page's own styles, moved out of the page unchanged. */

.structure-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem;
    font-family: 'Roboto', sans-serif;
}

.structure-page h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.s-tournament {
    margin-bottom: 2rem;
    border: 2px solid #1a2a6c;
    border-radius: 8px;
    overflow: hidden;
}

.s-tournament-header {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    font-weight: 700;
}

.s-tournament-dates {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.85;
    margin-left: 0.5rem;
}

.s-group {
    padding: 0;
    border-top: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.s-group-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.s-match {
    margin-left: 1rem;
    margin-bottom: 0.6rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: 0.75rem;
}

.s-match-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
}

.s-match-dates {
    font-size: 0.875rem;
    color: #555;
    margin-left: 0.4rem;
}

.s-rounds {
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.s-round {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    border: none;
    background: #4a5568;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
}

.s-round:hover {
    background: #2d3748;
    color: #fff;
}

.s-round.voted {
    background: #276749;
    color: #fff;
}

.s-round.not-voted {
    background: #c05621;
    color: #fff;
}

.back-row {
    text-align: center;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .structure-page {
        padding: 0;
    }
    .s-match {
        margin-left: 0.5rem;
    }
}

/* "No rounds / matches / groups yet" and "No tournaments found" */
.st-note { font-size: 0.875rem; color: #777; }
.st-note--indent { margin-left: 1rem; }
.st-center { text-align: center; color: #777; }
