/* --- Le CSS Classique et Responsive du Senior --- */
body {
    background-color: #f4f7f6; /* Un gris très clair pour faire ressortir la carte */
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.jukebox-form-wrapper {
    max-width: 650px;
    min-width: 40%;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 6px solid red;
}

.jukebox-form-wrapper h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Les messages de succès */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    border-left: 5px solid #28a745;
}

/* --- Ciblage des champs générés par Symfony --- */

/* Espacement entre chaque champ */
.jukebox-form-wrapper form > div {
    margin-bottom: 1.5rem;
}

/* Le style des labels */
.jukebox-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #34495e;
}

/* Le style des champs texte et nombre */
.jukebox-form-wrapper input[type="text"],
.jukebox-form-wrapper input[type="number"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Évite que le padding dépasse du parent */
}

/* L'effet quand on clique dans un champ (Focus) */
.jukebox-form-wrapper input[type="text"]:focus,
.jukebox-form-wrapper input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Le style spécifique pour les zones d'upload de fichiers */
.jukebox-form-wrapper input[type="file"] {
    width: 100%;
    padding: 0.6rem;
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    color: #7f8c8d;
}

/* Le bouton d'envoi façon Jukebox */
.btn-jukebox {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(
        135deg,
        #e74c3c,
        #c0392b
    ); /* Dégradé rouge rétro */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    margin-top: 1.5rem;
}

/* L'effet au survol du bouton */
.btn-jukebox:hover {
    transform: translateY(-2px); /* Soulève légèrement le bouton */
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* --- Mode Responsive pour les téléphones --- */
@media (max-width: 768px) {
    .jukebox-form-wrapper {
        margin: 1.5rem;
        padding: 1.5rem;
    }
    .jukebox-form-wrapper h1 {
        font-size: 1.5rem;
    }
}
