/* ========== POPUP EDITION CREATEUR - Styles spécifiques ========== */

/* Doit s'afficher par-dessus la popup créateur */
#editCreatorPopup {
    z-index: 1100;
}

.creator-edit-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.55em;
    color: #666;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s;
}

.creator-edit-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

#editCreatorPopupContent {
    padding: 6px;
}

.edit-creator-form {
    /* Même violet que le formulaire de login (--color-book), au lieu du bleu par défaut de --theme-color */
    --theme-color: var(--color-book);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px 12px;
}

.edit-creator-error {
    color: #c0392b;
    font-size: 0.85em;
    min-height: 1.2em;
    margin: 4px 0 0;
}

.edit-creator-submit-btn {
    margin-top: 8px;
    padding: 10px 16px;
    background: var(--theme-color, #8a7a5a);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-creator-submit-btn:hover {
    filter: brightness(1.1);
}

.edit-creator-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
