/* ========== ARTWORK SUM UP ========== */
#artworkSumUp {
    padding: 12px;
    border-radius: 15px;
    margin: 10px;background-color: var(--theme-color);
    filter: brightness(0.95);
}

/* En-tête compact avec flèche */
.sumup-header {
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 2px 2px 7px 0px rgba(0, 0, 0, 0.4);
}

.sumup-details-inline {
    margin: 0;
}

.sumup-summary {
    display: flex;
    justify-content: space-between;
    align-items: start;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.sumup-summary::-webkit-details-marker {
    display: none;
}

.sumup-title-block {
    flex: 1;
}

.sumup-arrow {
float: right;
}

.sumup-details-inline[open] .sumup-arrow {
    transform: rotate(180deg);
}

.sumup-header h2 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sumup-badge {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 0.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sumup-meta {
    font-size: 0.8em;
    opacity: 0.9;
    margin-top: 4px;
}

.sumup-subtitle {
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 3px;
    font-style: italic;
}

/* Détails déroulants */
.sumup-extra {
    padding: 10px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.extra-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    padding: 6px 8px;
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    align-items: start;
}

.extra-label {
    font-size: 0.7em;
    font-weight: 700;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 4px;
    text-align: left;
}

.extra-label i {
    font-size: 1em;
    margin-right: 4px;
    opacity: 0.8;
}

.extra-value {
    font-size: 0.85em;
    line-height: 1.3;
}

/* Vues existantes - notes sur même ligne */
.sumup-views {
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 2px 2px 7px 0px rgba(0, 0, 0, 0.4);
}

.sumup-views h3 {
    font-size: 0.85em;
    font-weight: 600;
    opacity: 0.8;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sumup-view-item {
    padding: 8px;
    /*background: rgba(0, 0, 0, 0.1);*/
    margin-bottom: 8px;
    border-radius: 8px;
}

.sumup-view-item:last-child {
    margin-bottom: 0;
}

.view-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    gap: 8px;
}

.view-header-compact strong {
    font-weight: 600;
}

.view-grades-inline {
    display: flex;
    gap: 6px;
    font-size: 0.95em;
}

.view-platform {
    opacity: 0.8;
    margin-left: auto;
}

.view-review-new-view {
    font-size: 0.85em;
    line-height: 1.3;
    text-align: left;
}

/* Formulaire nouvelle vue */
.form-page {
    padding: 15px;
}

.form-page h2 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

#newView {
    box-shadow: 0 0 9px 2px rgb(0 0 0 / 36%);
    border-radius: 20px;
    margin: 0 15px 10px 15px;
}