/* sportplanner-styles.css */

#content-wrapper{
    margin-right:50px;
}

.workshop_image{
    min-width:150px;
    max-height:100px;
    max-width:200px;
    height: auto;
}

.sequence-td:hover{
    
      background-color: #999;  
}
.sequence-div:hover{
    background-color: #999;
}

/* Styles pour le tableau (par défaut) */
/* Styles pour le tableau spécifique */
.sportplanner-sequences-container .sportplanner-table {
    width: 100%;
    border-collapse: collapse;
}




/* Styles pour la liste spécifique sur mobile */
.sportplanner-sequences-container .sportplanner-sequence-list {
    display: none;
    list-style: none;
    padding: 0;
    width:100%;
}

.sportplanner-sequences-container .sportplanner-sequence-list li {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    
}

.sportplanner-sequences-container .sportplanner-sequence-list-title2 li {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #999; /* Fond noir */
    color: #000; /* Texte blanc pour contraster */
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.sportplanner-sequences-container .sportplanner-sequence-list-title2 li:hover {

    background-color: #DDD; /* Fond noir */

}

.sportplanner-sequences-container .sportplanner-sequence-list li img {
    margin-right: 10px;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.sportplanner-sequences-container .sportplanner-sequence-list li span {
    font-weight: bold;
    margin-left: 10px;
}

/* Responsive - cacher le tableau et afficher la liste */
@media (max-width: 768px) {
     .sportplanner-sequences-container .sportplanner-table {
        display: none;
    }
    .planing-table{
        display:none;
    }

    .sportplanner-sequences-container .sportplanner-sequence-list {
        display: block;
    }
}


/* ===== CONTENEUR ===== */
.sportplanner-sequences-container {
    margin-top: 20px;
    margin-right:50px;
    /*overflow-x: auto;*/
}

/* ===== TABLE ===== */
.sportplanner-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-radius: 6px;
    /*overflow: hidden;*/
}

/* ===== HEADER ===== */
.sportplanner-table th {
    background: #1e293b;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 2px solid #0f172a;
}

/* ===== CELLULES ===== */
.sportplanner-table td {
    padding: 10px 12px;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}

/* ===== LIGNES ===== */
.sportplanner-table tr:nth-child(even) {
    background-color: #f9fafb;
    /*font-size: 13px;*/
    
}

.sportplanner-table tr:hover {
    background-color: #eef2ff;
}

/* ===== COLONNE SEQUENCE ===== */
.sequence-div {
    background: #f1f5f9;
    border-right: 2px solid #cbd5f5;
    min-width: 180px;
}

.sequence-td h4 {
    margin: 0;
    font-size: 15px;
    color: #0f172a;
}

.sequence-td {
    font-size: 13px;
    color: #334155;
}

/* Effet interactif */
.sequence-div:hover {
    background: #e0e7ff;
    cursor: pointer;
}

/* ===== WORKSHOP TITLE ===== */
.sportplanner-table td a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.sportplanner-table td a:hover {
    text-decoration: underline;
}

/* ===== IMAGES & VIDEOS ===== */
.workshop_image,
.sportplanner-table video {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-top: 6px;
    max-width: 100%;
}

/* ===== TEXTES LONGS ===== */
.sportplanner-table td:nth-child(3),
.sportplanner-table td:nth-child(4),
.sportplanner-table td:nth-child(6),
.sportplanner-table td:nth-child(7) {
    font-size: 13px;
    line-height: 1.4;
    color: #475569;
}

/* ===== ACTIONS ===== */
.sportplanner-table td:last-child {
    white-space: nowrap;
    font-size: 13px;
}

.sportplanner-table td:last-child a {
    display: inline-block;
    margin-bottom: 6px;
    color: #1e293b;
}

.sportplanner-table td:last-child a:hover {
    color: #dc2626;
}

/* Icônes */
.sportplanner-table i {
    margin-right: 6px;
    opacity: 0.8;
}

/* ===== BOUTONS ===== */
.sportplanner-sequences-container button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.sportplanner-sequences-container button:hover {
    background: #1d4ed8;
}

/* Boutons danger */
.sportplanner-sequences-container .fa-trash {
    color: #dc2626;
}

/* ===== FORMULAIRES INLINE ===== */
.sportplanner-sequences-container input[type="text"],
.sportplanner-sequences-container input[type="number"] {
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #cbd5f5;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sportplanner-table {
        font-size: 13px;
    }

    .sportplanner-table th,
    .sportplanner-table td {
        padding: 8px;
    }
}


