body {
    background: #181818;
    color: #f4f4f4;
    font-family: 'Inter', Arial, sans-serif;
}
.edit-film-main {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding: 0 12px;
}
.edit-film-gauche {
    background: #232323;
    border-radius: 20px;
    padding: 36px 32px 24px 32px;
    flex: 1.4;
    min-width: 340px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.22);
}
.edit-film-gauche h1 {
    font-size: 2.0rem;
    margin-bottom: 22px;
    color: #fff;
    text-align: left;
    letter-spacing: 1px;
}
.form-bloc { margin-bottom: 16px; }
.form-flex {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.form-flex > .form-bloc { flex: 1 1 0px; }
input[type="text"], input[type="date"], select {
    width: 100%;
    background: #1c1c1c;
    border: 1px solid #444;
    color: #fafafa;
    border-radius: 8px;
    font-size: 1rem;
    padding: 8px 12px;
    margin-top: 5px;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="date"]:focus, select:focus {
    border: 1.5px solid #38a3ff;
    outline: none;
}
label { font-size: 1.08rem; color: #ccc; }
.btn-enregistrer {
    margin-top: 32px;
    background: #32c15b;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 11px;
    font-size: 1.1rem;
    padding: 12px 36px;
    box-shadow: 0 3px 13px rgba(50,193,91,0.14);
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
}
.btn-enregistrer:hover { background: #21a344; color: #e8ffe5; }

.edit-film-droite {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.bloc-droite {
    background: #232323;
    border-radius: 16px;
    padding: 20px 18px 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.13);
}
.bloc-droite h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}
.acteurs-list, .sagas-list {
    margin-bottom: 18px;
}
.acteur-edit, .saga-edit {
    background: #191919;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.acteur-img {
    width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
    border: 2px solid #303030;
    margin-right: 10px;
}
.btn-suppr {
    background: #c22;
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    margin-left: auto;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-suppr:hover { background: #f33; }
.btn-ajouter {
    background: #297fff;
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 7px;
    padding: 7px 15px;
    margin-top: 4px;
    cursor: pointer;
    transition: background 0.16s;
}
.btn-ajouter:hover { background: #44b2ff; }
.btn-retour {
    display: inline-block;
    background: #313131;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 20px;
    margin: 16px 0 22px 12px;
    font-size: 1.06rem;
    transition: background 0.13s;
}
.btn-retour:hover { background: #191919; color: #38a3ff; }
.affiche-preview {
    margin-top: 14px;
    text-align: left;
}
.affiche-preview img {
    border-radius: 10px;
    box-shadow: 0 4px 14px #0007;
    max-width: 140px;
    max-height: 180px;
}
@media (max-width: 950px) {
    .edit-film-main { flex-direction: column; gap: 20px; }
    .edit-film-gauche, .edit-film-droite { min-width: unset; width: 100%; }
}
