* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container, .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

nav {
    text-align: center;
    margin-top: 20px;
}

nav a {
    display: inline-block;
    padding: 12px 25px;
    margin: 0 10px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

nav a:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.song-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.song-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.song-composer {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 10px;
}

.song-key {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-right: 10px;
}

.chords-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 0.9em;
    border-left: 4px solid #3498db;
}

.guitar-tabs {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 0.9em;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2980b9;
}

.btn-success { background: #27ae60; }
.btn-success:hover { background: #229954; }

.btn-warning { background: #f39c12; }
.btn-warning:hover { background: #d68910; }

.btn-danger { background: #e74c3c !important; }
.btn-danger:hover { background: #c0392b !important; }

.btn-outline-danger { background: transparent; border: 1px solid #e74c3c; color: #e74c3c; }
.btn-outline-danger:hover { background: #e74c3c; color: white; }

th {
    white-space: nowrap;
}

/* Alignement vertical au milieu pour les cellules de tableaux */
td, th {
    vertical-align: middle;
}

/* Disposition en deux colonnes pour les sections */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr; /* Par défaut : une colonne */
    gap: 30px;
}

@media (min-width: 500px) {
    .two-column-layout {
        grid-template-columns: 1fr 1fr; /* Deux colonnes de largeur égale */
    }
}

/* Styles des onglets */
.tabs {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-navigation {
    display: flex;
    border-bottom: 1px solid #ddd;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tab-button {
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0 5px;
    border: none;
    background-color: transparent;
    color: #666666;
}

.tab-button.is-active {
    background-color: #3498db; /* Bleu */
    color: #ffffff;
    border-radius: 5px;
}

.tab-pane {
    display: none;
}

.tab-pane.is-active {
    display: block;
    margin-top: 20px;
}

.sticky-playback {
    position: sticky;
    top: 10px; /* Distance par rapport au sommet */
    z-index: 1000; /* Assure la priorité d'affichage */
    background-color: white; /* Pour contraste */
    padding: 10px; /* Ajoute un espace intérieur pour style */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optionnel : style */
    max-height: calc(100vh - 20px); /* Limite la hauteur pour contenir à l'écran */
    overflow-y: auto; /* Barre de défilement si nécessaire */
}

.video-container {
    height: auto; /* Ajuste automatiquement la hauteur */
}

.video-container iframe {
    width: 100%; /* Occupe toute la largeur du conteneur */
    min-height: 200px; /* Hauteur minimale (modifiable selon vos besoins) */
    max-height: 100%; /* Empêche l'iframe de déborder */
}
.video-section {
    overflow: visible; /* Ne pas masquer les éléments enfants */
}
