/* Container de la page */
.edit-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Carte centrale style Verre dépoli */
.edit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    max-width: 550px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* En-tête */
.edit-header {
    text-align: center;
    margin-bottom: 20px;
}
.edit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 5px;
}
.edit-card h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}
.edit-subtitle {
    color: #ffd700;
    margin: 5px 0 0 0;
    font-size: 1rem;
}
.edit-separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    margin: 20px 0;
}

/* Message d'information sur les fichiers bloqués */
.info-locked-files {
    background: rgba(0, 123, 255, 0.15);
    border-left: 4px solid #007bff;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}
.info-locked-files p {
    margin: 0;
    color: #e0f0ff;
}

/* Style du Formulaire et des Inputs */
.modern-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}
.modern-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #dddddd;
}
.modern-form .form-control {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.modern-form .form-control:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

/* Zone des boutons */
.button-zone {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.btn-save {
    flex: 2;
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}
.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}
.btn-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive Mobile (Portrait) */
@media (max-width: 576px) {
    .edit-card {
        padding: 20px;
    }
    .edit-card h1 {
        font-size: 1.6rem;
    }
    .button-zone {
        flex-direction: column;
        gap: 10px;
    }
    .btn-save, .btn-cancel {
        width: 100%;
        padding: 12px;
    }
}