.dashboard-page .bigslam-page-title-wrap.bigslam-style-medium .bigslam-page-title-content {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dashboard-page .bigslam-page-title-wrap.bigslam-style-medium .bigslam-page-title {
    font-size: 36px;
}


.dashboard-container {
    display: flex;
    flex-direction: column; /* Empiler les éléments sur les petits écrans */
}

.sidebar {
    width: 100%; /* Largeur pleine pour les petits écrans */
    max-width: 250px; /* Largeur maximale pour les grands écrans */
    background-color: #2c3e50;
    padding: 20px;
    margin-bottom: 20px; /* Ajouter un espace sous la sidebar */
}

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

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    text-align: center;
    padding: 10px 20px; /* Assurer un bon padding pour les liens */
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #ecf0f1;
    margin-left: 0; /* Supprimer la marge gauche */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.header h1 {
    margin: 0;
}

.header .user-info {
    display: flex;
    align-items: center;
}

.header .user-info span {
    margin-right: 20px;
}

.header .user-info a {
    color: #3498db;
    text-decoration: none;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les sections */
}

.section {
    width: calc(50% - 10px); /* Deux colonnes sur les grands écrans */
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Assurer un espace en dessous des sections */
}

.section h2 {
    margin-top: 0;
}

.button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}

.player-card, .team-card {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 4px;
    margin: 10px 0;
}

.player-card img, .team-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.player-info, .team-info {
    flex-grow: 1;
}

.player-info h3, .team-info h3 {
    margin: 0;
}

.player-info p, .team-info p {
    margin: 5px 0 0;
}

.add-player-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.add-player-form .form-group {
    flex: 1;
    min-width: 45%;
    margin-right: 10px;
}

.add-player-form .form-group label {
    margin-bottom: 5px;
}

.add-player-form .form-group:last-child {
    margin-right: 0;
}

.add-player-form .form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.add-player-form .form-check-input {
    margin-right: 10px;
}

.add-player-form .button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column; /* Empiler les éléments sur les petits écrans */
    }

    .main-content {
        margin-left: 0;
        padding: 10px; /* Réduire le padding pour maximiser l'espace disponible */
    }

    .content {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .section {
        width: 100%; /* Occupe toute la largeur sur les petits écrans */
        margin-bottom: 20px;
    }

    .player-card {
        flex-direction: column; /* Empiler l'image et le texte */
        text-align: center;
    }

    .player-card img {
        width: 100%;
        max-width: 150px; /* Limiter la taille maximale de l'image */
        margin-bottom: 10px;
    }

    .sidebar {
        width: 100%; /* Prend toute la largeur disponible */
        margin-bottom: 20px;
        padding: 15px; /* Réduire le padding pour maximiser l'espace disponible */
    }

    .sidebar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar ul li {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .sidebar ul li a {
        width: 100%;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .header .user-info {
        justify-content: center;
    }

    .header .user-info span {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.player-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.player-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.player-info {
    flex: 1;
}

.player-note {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

