.tournament_row_tournament-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 1rem;
}

.tournament_row_match-data-title {
    text-align: center;
    margin-bottom: 3rem;
}

.tournament_row_match-data-title h1 {
    color: #1d1c1cff;
    font-weight: 700;
    font-size: 3rem;
}

.tournament_row_match-data-title p {
    color: #272727ff;
    font-size: 1.2rem;
    font-weight: 300;
}

.tournament_row_search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    align-items: center;
}

.tournament_row_search-bar {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.tournament_row_search-bar input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border-radius: 6px;
    border: 1px solid #b0b0b0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tournament_row_search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.tournament_row_search-bar input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    outline: none;
}

.tournament_row_filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tournament_row_filter-bar select {
    padding: 0.9rem 2.5rem 0.9rem 1rem;
    border-radius: 6px;
    border: 1px solid #b0b0b0;
    font-size: 1rem;
    min-width: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: white;
}

.tournament_row_filter-bar select:focus {
    border-color: #dc3545;
    outline: none;
}

.tournament_row_tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament_row_tournament-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tournament_row_tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.tournament_row_tournament-card img {
    width: 100%;
    max-height: auto;
    object-fit: cover;
}

.tournament_row_tournament-content {
    padding: 1.8rem;
}

.tournament_row_tournament-card h3 {
    color: #dc3545;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.tournament_row_tournament-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.tournament_row_info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.tournament_row_info-item i {
    width: 20px;
    color: #dc3545;
}

.tournament_row_info-item.tournament_row_date {
    color: #28a745;
    font-weight: 600;
}

.tournament_row_info-item.tournament_row_location {
    color: #6c757d;
}

.tournament_row_tournament-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.tournament_row_meta-item {
    text-align: center;
    flex: 1;
}

.tournament_row_meta-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tournament_row_meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    margin-top: 0.3rem;
}

.action-button {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tournament_row_btn-details {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 2rem;
    background: #dc3545;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}



.tournament_row_btn-register {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 2rem;
    background: #28a745;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}


.tournament_row_register-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.tournament_row_register-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 3rem;
    background: #28a745;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}



.tournament_row_no-results {
    text-align: center;
    padding: 3rem;
    color: #ffffff;
    font-size: 1.2rem;
    display: none;
}

@media (max-width: 768px) {
    .tournament_row_tournament-container {
        max-width: 95%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    .tournament_row_match-data-title h1 {
        font-size: 2.5rem;
    }
    .tournament_row_tournament-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tournament_row_search-filter-bar {
        padding: 1rem;
    }
    .tournament_row_filter-bar {
        width: 100%;
    }
    .tournament_row_filter-bar select {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .tournament_row_tournament-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    .tournament_row_match-data-title h1 {
        font-size: 2rem;
    }
    .tournament_row_tournament-card h3 {
        font-size: 1.5rem;
    }
    .tournament_row_tournament-card img {
        height: 180px;
    }
    .tournament_row_tournament-content {
        padding: 1.2rem;
    }
}