/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Styles pour les pages de combattants */
.mma-fighter-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.mma-fighter-details h1 {
    text-align: center;
    margin-bottom: 20px;
}

.fighter-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.mma-fighter-details ul {
    list-style: none;
    padding: 0;
}

.mma-fighter-details li {
    margin: 10px 0;
    font-size: 18px;
}

.fighter-description {
    margin-top: 30px;
    font-size: 16px;
}

/* Styles pour les pages de combats */
.mma-fight-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.mma-fight-details h1 {
    text-align: center;
    margin-bottom: 20px;
}

.mma-fight-details ul {
    list-style: none;
    padding: 0;
}

.mma-fight-details li {
    margin: 10px 0;
    font-size: 18px;
}

.fight-description {
    margin-top: 30px;
    font-size: 16px;
}

/* Styles pour les pages de catégories */
.mma-category-details {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.mma-category-details h1 {
    text-align: center;
    margin-bottom: 30px;
}

.category-description {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.mma-fighters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mma-fighter-card {
    width: calc(33% - 20px);
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.2s;
}

.mma-fighter-card:hover {
    transform: scale(1.05);
}

.mma-fighter-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.mma-fighter-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

/* Styles supplémentaires */
.updated {
    background-color: #dff0d8;
    border-left: 4px solid #3c763d;
    padding: 10px;
    margin: 20px 0;
}

.mma-archive {
    margin: 20px;
}

.mma-archive h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.mma-archive ul {
    list-style: none;
    padding: 0;
}

.mma-archive li {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.mma-archive a {
    text-decoration: none;
    color: inherit;
}

.mma-archive .fighter-photo img {
    max-width: 100px;
    height: auto;
}


.fight-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fight-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.fight-details p, .fight-result p, .fight-stats p {
    font-size: 1.1rem;
    color: #555;
}

.fight-date, .fight-time, .fight-category {
    font-style: italic;
}

.winner {
    color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.no-winner {
    color: #dc3545;
    font-weight: bold;
    text-align: center;
}

.fight-stats h3 {
    margin-top: 20px;
    text-align: center;
    color: #007bff;
}

.no-stats {
    text-align: center;
    color: #999;
}

.fight-details-link {
    text-align: center;
    margin-top: 20px;
}

.details-link {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.details-link:hover {
    background-color: #0056b3;
}


.fight-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fight-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.fight-details p, .fight-result p, .fight-stats p {
    font-size: 1.1rem;
    color: #555;
}

.fight-date, .fight-time, .fight-category {
    font-style: italic;
}

.winner {
    color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.no-winner {
    color: #dc3545;
    font-weight: bold;
    text-align: center;
}

.fight-stats {
    margin-top: 20px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.stats-table th, .stats-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.stats-table th {
    background-color: #007bff;
    color: white;
}

.stats-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.stats-table tr:hover {
    background-color: #ddd;
}

.no-stats {
    text-align: center;
    color: #999;
}

.fight-details-link {
    text-align: center;
    margin-top: 20px;
}

.details-link {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.details-link:hover {
    background-color: #0056b3;
}

/* Styles pour les pages d'équipes */
.mma-team-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.team-header h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.team-intro {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card-inner {
    padding: 20px;
    text-align: center;
}

.team-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f5f5f5;
}

.team-logo img {
    max-width: 100%;
    max-height: 100%;
}

.no-logo {
    background-color: #e0e0e0;
}

.team-initials {
    font-size: 2.5rem;
    font-weight: bold;
    color: #444;
}

.team-name {
    font-size: 1.6rem;
    margin: 10px 0;
    color: #222;
}

.team-meta {
    color: #666;
    font-size: 0.9rem;
}

.fighter-count {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 20px;
}

.no-teams {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: #444;
    transition: background-color 0.2s ease;
}

.pagination .page-numbers.current {
    background-color: #007bff;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #e0e0e0;
}

/* Page détaillée d'une équipe */
.mma-team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mma-team {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mma-team .team-header {
    background-color: #f8f8f8;
    padding: 30px;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.team-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.team-header .team-logo {
    width: 150px;
    height: 150px;
    margin: 0 30px 0 0;
    flex-shrink: 0;
}

.team-title-info {
    flex: 1;
}

.team-title-info h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
}

.team-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1rem;
    color: #555;
}

.team-location, .team-foundation, .team-coach {
    display: flex;
    align-items: center;
}

.team-meta-info i {
    margin-right: 8px;
    color: #007bff;
}

.team-description {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.team-description h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.team-description-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.team-fighters-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.team-fighters-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}

.team-fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.fighter-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fighter-card:hover {
    transform: translateY(-5px);
}

.fighter-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fighter-card-inner {
    padding: 15px;
    text-align: center;
}

.fighter-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
}

.fighter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fighter-name {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #222;
}

.fighter-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.fighter-weight, .fighter-record {
    background-color: #eee;
    padding: 3px 8px;
    border-radius: 4px;
}

.no-fighters {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.team-upcoming-fights {
    padding: 30px;
}

.team-upcoming-fights h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}

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

.upcoming-fight-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.fight-date {
    font-size: 1rem;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.fight-matchup {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.vs {
    display: inline-block;
    margin: 0 10px;
    color: #999;
    font-size: 0.9rem;
}

.fight-details-link {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.fight-details-link:hover {
    background-color: #0056b3;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .team-header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .team-header .team-logo {
        margin: 0 auto 20px;
    }
    
    .team-meta-info {
        justify-content: center;
    }
    
    .teams-grid, .team-fighters-grid, .upcoming-fights-list {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

/* Styles responsifs pour tous les écrans */
@media screen and (max-width: 768px) {
    .mma-fighter-details, .mma-fight-details, .mma-category-details {
        padding: 15px;
    }
    
    .mma-fighter-card, .fight-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mma-fighter-details h1, .mma-fight-details h1, .mma-category-details h1 {
        font-size: 26px;
        text-align: center;
    }
    
    .fight-title {
        font-size: 1.5rem;
    }
    
    .fight-details p, .fight-result p, .fight-stats p {
        font-size: 1rem;
    }
    
    .mma-fighter-card {
        width: 100%;
    }
    
    .mma-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media screen and (max-width: 480px) {
    .mma-fighter-details h1, .mma-fight-details h1, .mma-category-details h1 {
        font-size: 22px;
    }
    
    .fighter-image img {
        max-width: 200px;
        margin: 0 auto 15px;
    }
    
    .mma-fighter-details li, .mma-fight-details li {
        font-size: 16px;
    }
    
    .fighter-description, .fight-description, .category-description {
        font-size: 14px;
    }
    
    .mma-fighter-card {
        width: 100%;
    }
    
    .mma-fighter-card img {
        width: 120px;
        height: 120px;
    }
    
    .mma-fighter-card h3 {
        font-size: 16px;
    }
}
