.slt-vote {
    text-align: center;
    margin: 0px 0;
    padding: 0px;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* background: #f9f9f9; */
	display: flex;
    flex-direction: row;
    align-items: center;
}
.out-class-vote{
	    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: left;
    line-height: 10px;
}
.text-vote > p {
    margin-bottom: 0px;
	margin-top: 10px;
    
}
.slt-stars { 
    display: inline-block; 
    margin: 10px 0;
}

.slt-star { 
    font-size: 1.7rem; 
    color: #ccc; 
    cursor: pointer; 
    margin: 0 5px;
    transition: color 0.2s ease;
}

.slt-star.active { 
    color: gold; 
}

.slt-star:hover {
    color: #ffd700;
}

.slt-save { 
    padding: 8px 16px; 
    background: #0073aa; 
    color: white; 
    border: none; 
    cursor: pointer; 
    border-radius: 4px;
    margin-top: 0px;
	margin-bottom:0px !important;
    font-size: 14px;
}

.slt-save:hover { 
    background: #005d87; 
}

.slt-status { 
    margin-top: 10px; 
    font-size: 0.9rem; 
}

.slt-progress { 
    margin-top: 20px; 
}

.slt-filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 120px;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.slt-filter-form > * {
    display: flex;
    flex-direction: column;
}

.slt-filter-form label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slt-filter-form input[type="date"],
.slt-filter-form select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: white;
}

.slt-filter-form input[type="date"]:focus,
.slt-filter-form select:focus {
    border-color: #0073aa;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 170, 0.25);
}

.slt-filter-form button[type="submit"] {
    background: linear-gradient(135deg, #0073aa 0%, #005d87 100%);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slt-filter-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #005d87 0%, #004a6b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Content Selector Styles - CoreUI Multi-Select */
.slt-content-selector {
    position: relative;
}

.slt-content-selector .form-multi-select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.15s ease-in-out;
}

.slt-content-selector .form-multi-select:focus {
    border-color: #0073aa;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 170, 0.25);
}

/* Override CoreUI styles to match our theme */
.form-multi-select .form-multi-select-selection {
    min-height: 40px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: white;
}

.form-multi-select .form-multi-select-selection:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 170, 0.25);
}

.form-multi-select .form-multi-select-tag {
    background: #0073aa;
    color: white;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 2px;
    font-size: 13px;
}

.form-multi-select .form-multi-select-tag-remove {
    color: white;
    margin-left: 5px;
    cursor: pointer;
}

.form-multi-select .form-multi-select-dropdown {
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
}

.form-multi-select .form-multi-select-option:hover {
    background-color: #f8f9fa;
}

.form-multi-select .form-multi-select-option.selected {
    background-color: #e3f2fd;
    color: #0073aa;
    font-weight: 600;
}

/* Empty state for content list */
.slt-content-empty {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

/* Loading state */
.slt-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.slt-graph { 
    margin-top: 20px; 
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 500px;
    min-height: 500px;
    overflow: hidden;
}

.slt-chart-canvas { 
    width: 100%; 
    height: 400px !important;
    max-height: 400px;
}

.slt-graphs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.slt-graph-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.slt-graph-categories:empty {
    display: none;
}

.slt-graph-categories {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 18px;
    margin: 2px 0 12px;
    padding: 0 6px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    color: #334155;
}

.slt-graph-cat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.15s ease;
}

.slt-graph-cat-item:focus-visible {
    outline: 1px dotted currentColor;
    outline-offset: 4px;
}

.slt-graph-cat-item--hidden {
    opacity: 0.45;
}

.slt-graph-cat-item--hidden .slt-graph-cat-name {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.slt-graph-cat-item--hidden .slt-graph-cat-swatch {
    opacity: 0.38;
    filter: grayscale(0.75);
}

.slt-graph-cat-swatch {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 11px;
    height: 11px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--slt-swatch, #475569);
}

.slt-graph-cat-swatch--circle {
    border-radius: 50%;
}

.slt-graph-cat-swatch--rect {
    width: 7px;
    height: 11px;
    border-radius: 2px;
}

.slt-graph-cat-swatch--rectRounded {
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.slt-graph-cat-swatch--rectRot {
    width: 9px;
    height: 9px;
    border-radius: 1px;
    transform: rotate(45deg);
    margin: 0 2px;
}

.slt-graph-cat-swatch--triangle {
    width: 12px;
    height: 10px;
    border-radius: 0;
    border: none;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.slt-graph-cat-swatch--dash {
    width: 14px;
    height: 4px;
    border-radius: 2px;
}

.slt-graph-cat-swatch--cross,
.slt-graph-cat-swatch--crossRot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    border: none;
    background: transparent !important;
    position: relative;
}

.slt-graph-cat-swatch--cross::before,
.slt-graph-cat-swatch--cross::after,
.slt-graph-cat-swatch--crossRot::before,
.slt-graph-cat-swatch--crossRot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--slt-swatch, #475569);
}

.slt-graph-cat-swatch--cross::before,
.slt-graph-cat-swatch--crossRot::before {
    width: 10px;
    height: 2px;
}

.slt-graph-cat-swatch--cross::after,
.slt-graph-cat-swatch--crossRot::after {
    width: 2px;
    height: 10px;
}

.slt-graph-cat-swatch--crossRot {
    transform: rotate(45deg);
}

.slt-graph-cat-swatch--star {
    width: 14px;
    height: 14px;
    border-radius: 0;
    border: none;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.slt-graph-cat-name {
    word-break: break-word;
}

.slt-graph[class*="slt-graph-style-"]:not(.slt-graph-style-1) .slt-graph-categories {
    color: var(--slt-label-color, #334155);
}

/* Legenda categorie: tipografia variabile (pesi leggeri) + campioni forma come i punti Chart.js */
.slt-graph-style-1 .slt-graph-categories {
    font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    gap: 6px 14px;
}

.slt-graph-style-2 .slt-graph-categories {
    font-family: system-ui, "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    gap: 6px 12px;
}

.slt-graph-style-3 .slt-graph-categories {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    gap: 8px 14px;
}

.slt-graph-style-4 .slt-graph-categories {
    font-family: Cambria, "Palatino Linotype", serif;
    font-size: 0.78rem;
    font-weight: 500;
    font-variant-caps: petite-caps;
    letter-spacing: 0.06em;
}

.slt-graph-style-5 .slt-graph-categories {
    font-family: system-ui, sans-serif;
    font-size: 0.79rem;
    font-weight: 400;
    gap: 7px 16px;
}

.slt-graph-style-6 .slt-graph-categories {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    gap: 8px 16px;
}

.slt-graph-style-7 .slt-graph-categories {
    font-family: "Palatino Linotype", Palatino, serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    gap: 6px 14px;
}

.slt-graph-style-8 .slt-graph-categories {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.07em;
}

.slt-graph-style-8 .slt-graph-cat-swatch {
    border-color: rgba(207, 250, 254, 0.35);
}

.slt-graph-style-9 .slt-graph-categories {
    font-family: Georgia, serif;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 400;
    gap: 8px 15px;
}

.slt-graph-style-10 .slt-graph-categories {
    font-family: system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    gap: 6px 12px;
}

.slt-graph-style-10 .slt-graph-cat-swatch {
    border-color: rgba(224, 242, 254, 0.4);
}

.slt-graph-style-11 .slt-graph-categories {
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 0.77rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    gap: 7px 14px;
}

.slt-graph-style-12 .slt-graph-categories {
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    font-variant: small-caps;
    letter-spacing: 0.08em;
}

.slt-graph-style-13 .slt-graph-categories {
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    gap: 6px 14px;
}

.slt-graph-style-14 .slt-graph-categories {
    font-family: system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    gap: 6px 12px;
}

.slt-graph-style-15 .slt-graph-categories {
    font-family: system-ui, sans-serif;
    font-size: 0.79rem;
    font-weight: 400;
    gap: 8px 16px;
}

.slt-graph-style-16 .slt-graph-categories {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.75rem;
    font-weight: 400;
    gap: 7px 15px;
    border-bottom: 1px solid rgba(6, 182, 212, 0.28);
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.slt-graph-style-17 .slt-graph-categories {
    font-family: Charter, "Bitstream Charter", Georgia, serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    gap: 8px 14px;
}

.slt-graph-style-18 .slt-graph-categories {
    font-family: system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.slt-graph-style-18 .slt-graph-cat-swatch {
    border-color: rgba(237, 233, 254, 0.35);
}

.slt-graph-style-19 .slt-graph-categories {
    font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    font-size: 0.77rem;
    font-weight: 400;
    gap: 8px 16px;
}

.slt-graph-style-20 .slt-graph-categories {
    font-family: "Franklin Gothic Medium", "Arial Narrow", sans-serif;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    gap: 6px 13px;
}

.slt-graph-style-20 .slt-graph-cat-swatch {
    border-color: rgba(255, 228, 230, 0.35);
}

.slt-embed-chart-root .slt-graph-categories {
    margin-top: 0;
}

.slt-graph[class*="slt-graph-style-"]:not(.slt-graph-style-1) {
    --slt-card-bg: linear-gradient(140deg, #f8fafc, #e2e8f0);
    --slt-card-border: #94a3b8;
    --slt-card-shadow: 0 10px 24px rgba(148, 163, 184, 0.24);
    --slt-label-color: #0f172a;
    --slt-loading-bg: rgba(241, 245, 249, 0.9);
    background: var(--slt-card-bg) !important;
    border-color: var(--slt-card-border);
    box-shadow: var(--slt-card-shadow);
    border-radius: 14px;
}

.slt-graph[class*="slt-graph-style-"]:not(.slt-graph-style-1) .slt-graph-label,
.slt-graph[class*="slt-graph-style-"]:not(.slt-graph-style-1) .slt-loading {
    color: var(--slt-label-color);
}

.slt-graph[class*="slt-graph-style-"]:not(.slt-graph-style-1) .slt-loading {
    background: var(--slt-loading-bg);
}

.slt-graph-style-2, .slt-graph-style-3, .slt-graph-style-4, .slt-graph-style-5, .slt-graph-style-6,
.slt-graph-style-7, .slt-graph-style-8, .slt-graph-style-9, .slt-graph-style-10, .slt-graph-style-11,
.slt-graph-style-12, .slt-graph-style-13, .slt-graph-style-14, .slt-graph-style-15, .slt-graph-style-16,
.slt-graph-style-17, .slt-graph-style-18, .slt-graph-style-19, .slt-graph-style-20 {
    background: var(--slt-card-bg) !important;
}

.slt-graph-style-2  { --slt-card-bg: linear-gradient(140deg, #f0f9ff, #e0f2fe); --slt-card-border: #38bdf8; --slt-label-color: #0c4a6e; --slt-card-shadow: 0 12px 26px rgba(14,165,233,.18); }
.slt-graph-style-3  { --slt-card-bg: linear-gradient(140deg, #fefce8, #fef3c7); --slt-card-border: #eab308; --slt-label-color: #713f12; --slt-card-shadow: 8px 8px 0 #f59e0b; }
.slt-graph-style-4  { --slt-card-bg: linear-gradient(140deg, #eef2ff, #e0e7ff); --slt-card-border: #818cf8; --slt-label-color: #312e81; --slt-card-shadow: 0 12px 24px rgba(99,102,241,.2); }
.slt-graph-style-5  { --slt-card-bg: linear-gradient(140deg, #fff1f2, #ffe4e6); --slt-card-border: #fb7185; --slt-label-color: #9f1239; --slt-card-shadow: 0 12px 24px rgba(244,63,94,.2); }
.slt-graph-style-6  { --slt-card-bg: linear-gradient(140deg, #ecfdf5, #d1fae5); --slt-card-border: #34d399; --slt-label-color: #065f46; --slt-card-shadow: 0 12px 24px rgba(16,185,129,.2); }
.slt-graph-style-7  { --slt-card-bg: linear-gradient(140deg, #faf5ff, #f3e8ff); --slt-card-border: #c084fc; --slt-label-color: #6b21a8; --slt-card-shadow: 0 12px 24px rgba(168,85,247,.2); }
.slt-graph-style-8  { --slt-card-bg: linear-gradient(145deg, #0f172a, #1e293b); --slt-card-border: #06b6d4; --slt-label-color: #cffafe; --slt-loading-bg: rgba(15, 23, 42, 0.55); --slt-card-shadow: 0 12px 24px rgba(6,182,212,.25); }
.slt-graph-style-9  { --slt-card-bg: linear-gradient(145deg, #f5f3ff, #ede9fe); --slt-card-border: #a78bfa; --slt-label-color: #4c1d95; --slt-card-shadow: 0 12px 24px rgba(139,92,246,.2); }

/* Liquid glass variant */
.slt-graph-style-10 {
    --slt-card-bg: linear-gradient(145deg, rgba(14, 116, 144, 0.38), rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.18));
    --slt-card-border: rgba(186, 230, 253, 0.55);
    --slt-label-color: #e0f2fe;
    --slt-loading-bg: rgba(15, 23, 42, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 34px rgba(8, 47, 73, 0.35);
    backdrop-filter: blur(10px) saturate(130%);
    position: relative;
}

.slt-graph-style-10::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02) 40%);
}

.slt-graph-style-11 { --slt-card-bg: linear-gradient(145deg, #f0fdfa, #ccfbf1); --slt-card-border: #14b8a6; --slt-label-color: #134e4a; --slt-card-shadow: 0 12px 24px rgba(20,184,166,.2); }
.slt-graph-style-12 { --slt-card-bg: linear-gradient(145deg, #fff7ed, #ffedd5); --slt-card-border: #fb923c; --slt-label-color: #7c2d12; --slt-card-shadow: 0 12px 24px rgba(251,146,60,.2); }
.slt-graph-style-13 { --slt-card-bg: linear-gradient(145deg, #f5f3ff, #ddd6fe); --slt-card-border: #8b5cf6; --slt-label-color: #4c1d95; --slt-card-shadow: 0 12px 24px rgba(139,92,246,.2); }
.slt-graph-style-14 { --slt-card-bg: linear-gradient(145deg, #ffffff, #f8fafc); --slt-card-border: #334155; --slt-label-color: #0f172a; --slt-card-shadow: 0 0 0 3px #cbd5e1, 10px 10px 0 #e2e8f0; }
.slt-graph-style-15 { --slt-card-bg: linear-gradient(145deg, #fdf2f8, #fce7f3); --slt-card-border: #f472b6; --slt-label-color: #831843; --slt-card-shadow: 0 12px 24px rgba(244,114,182,.2); }
.slt-graph-style-16 { --slt-card-bg: linear-gradient(145deg, #ecfeff, #cffafe); --slt-card-border: #06b6d4; --slt-label-color: #164e63; --slt-card-shadow: 0 12px 24px rgba(6,182,212,.2); }
.slt-graph-style-17 { --slt-card-bg: linear-gradient(145deg, #fffbeb, #fef08a); --slt-card-border: #facc15; --slt-label-color: #713f12; --slt-card-shadow: 0 12px 24px rgba(250,204,21,.2); }
.slt-graph-style-18 { --slt-card-bg: linear-gradient(145deg, #312e81, #4c1d95); --slt-card-border: #a78bfa; --slt-label-color: #ede9fe; --slt-loading-bg: rgba(49, 46, 129, 0.55); --slt-card-shadow: 0 12px 24px rgba(124,58,237,.28); }
.slt-graph-style-19 { --slt-card-bg: linear-gradient(145deg, #dcfce7, #bbf7d0); --slt-card-border: #4ade80; --slt-label-color: #14532d; --slt-card-shadow: 0 12px 24px rgba(74,222,128,.2); }
.slt-graph-style-20 { --slt-card-bg: linear-gradient(145deg, #881337, #be123c); --slt-card-border: #fb7185; --slt-label-color: #ffe4e6; --slt-loading-bg: rgba(136, 19, 55, 0.55); --slt-card-shadow: 0 12px 24px rgba(244,63,94,.3); }

/* Add stronger visual separation between cards */
.slt-graph-style-2 { border-left: 8px solid #0ea5e9; }
.slt-graph-style-3 { border-left: 8px solid #eab308; }
.slt-graph-style-4 { border-left: 8px solid #6366f1; }
.slt-graph-style-5 { border-left: 8px solid #f43f5e; }
.slt-graph-style-6 { border-left: 8px solid #10b981; }
.slt-graph-style-7 { border-left: 8px solid #a855f7; }
.slt-graph-style-8 { border-left: 8px solid #f59e0b; }
.slt-graph-style-9 { border-left: 8px solid #8b5cf6; }
.slt-graph-style-10 { border-left: 8px solid rgba(125, 211, 252, 0.9); }
.slt-graph-style-11 { border-left: 8px solid #14b8a6; }
.slt-graph-style-12 { border-left: 8px solid #fb923c; }
.slt-graph-style-13 { border-left: 8px solid #8b5cf6; }
.slt-graph-style-14 { border-left: 8px solid #334155; }
.slt-graph-style-15 { border-left: 8px solid #f472b6; }
.slt-graph-style-16 { border-left: 8px solid #06b6d4; }
.slt-graph-style-17 { border-left: 8px solid #eab308; }
.slt-graph-style-18 { border-left: 8px solid #a78bfa; }
.slt-graph-style-19 { border-left: 8px solid #4ade80; }
.slt-graph-style-20 { border-left: 8px solid #fb7185; }

/* Extra frame variety (border style, radius, outline) — pairs with JS colors */
.slt-graph-style-1 { border-style: solid; border-width: 2px; border-radius: 10px; }
.slt-graph-style-2 { border-style: dashed; border-width: 2px; border-radius: 18px 6px 18px 6px; }
.slt-graph-style-3 { border-style: solid; border-width: 3px; border-radius: 6px; outline: 2px dashed rgba(234, 179, 8, 0.35); outline-offset: 4px; }
.slt-graph-style-4 { border-style: double; border-width: 4px; border-radius: 20px; }
.slt-graph-style-5 { border-style: solid; border-width: 2px 2px 2px 12px; border-radius: 4px 16px 4px 16px; }
.slt-graph-style-6 { border-style: solid; border-width: 1px; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25); }
.slt-graph-style-7 { border-style: dotted; border-width: 3px; border-radius: 14px; }
.slt-graph-style-8 { border-style: solid; border-width: 2px; border-radius: 4px 18px 4px 18px; }
.slt-graph-style-9 { border-style: solid; border-width: 2px; border-radius: 16px; transform: rotate(-0.2deg); }
.slt-graph-style-10 { border-style: solid; border-width: 2px; border-radius: 22px; }
.slt-graph-style-11 { border-style: solid; border-width: 2px 3px 3px 2px; border-radius: 0 22px 0 22px; }
.slt-graph-style-12 { border-style: dashed; border-width: 2px; border-radius: 8px; }
.slt-graph-style-13 { border-style: solid; border-width: 2px; border-radius: 12px; box-shadow: 4px 4px 0 rgba(139, 92, 246, 0.35); }
.slt-graph-style-14 { border-style: solid; border-width: 0; border-radius: 0; box-shadow: 0 0 0 3px #334155, 12px 12px 0 #e2e8f0; }
.slt-graph-style-15 { border-style: solid; border-width: 2px; border-radius: 30px 8px 30px 8px; }
.slt-graph-style-16 { border-style: double; border-width: 5px; border-radius: 10px; }
.slt-graph-style-17 { border-style: solid; border-width: 2px; border-radius: 6px; outline: 3px solid rgba(250, 204, 21, 0.4); outline-offset: 2px; }
.slt-graph-style-18 { border-style: solid; border-width: 2px; border-radius: 4px 20px 4px 20px; }
.slt-graph-style-19 { border-style: solid; border-width: 2px; border-radius: 16px; }
.slt-graph-style-20 { border-style: solid; border-width: 2px; border-radius: 8px; transform: rotate(0.15deg); }

.slt-embed-chart-root {
    height: auto;
    min-height: 420px;
}

/* Incorporato: dimensioni solo da CSS (niente width/height inline) così Chart.js non scala il canvas in modo errato su mobile. */
.slt-embed-chart-root .slt-chart-canvas.slt-embed-chart-canvas {
    box-sizing: border-box;
    width: 100%;
    height: 380px;
    max-height: 420px;
}

.slt-graph-style-1 .slt-loading {
    background: #f8f9fa;
}

.slt-user-form {
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.slt-user-form label {
    font-weight: bold;
}

.slt-user-form select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.slt-user-form button {
    padding: 5px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.slt-user-form button:hover {
    background: #005d87;
}

.slt-user-form p {
    margin: 0;
    font-style: italic;
    color: #666;
    width: 100%;
}

/* Modal Styles */
.slt-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.slt-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slt-modal-close { 
    float: right; 
    font-size: 24px; 
    cursor: pointer; 
    color: #999;
}

.slt-modal-close:hover { 
    color: #f00; 
}

.slt-modal-content h3 { 
    margin-top: 0; 
    margin-bottom: 15px;
}

.slt-modal-content input { 
    width: 100%; 
    padding: 8px; 
    margin: 5px 0; 
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.slt-modal-content button { 
    padding: 8px 15px; 
    margin: 10px 10px 0 0; 
    background: #0073aa; 
    color: white; 
    border: none; 
    cursor: pointer; 
    border-radius: 4px;
}

.slt-modal-content button:hover { 
    background: #005d87; 
}

#sltModalDelete { 
    background: #dc3232; 
}

#sltModalDelete:hover { 
    background: #b32d2e; 
}

/* User Form Styles */
.slt-user-form {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.slt-user-form label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.slt-user-form select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    min-width: 200px;
    background: white;
    font-size: 14px;
}

.slt-user-form button {
    padding: 8px 20px;
    background: linear-gradient(135deg, #0073aa 0%, #005d87 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.slt-user-form button:hover {
    background: linear-gradient(135deg, #005d87 0%, #004a6b 100%);
    transform: translateY(-1px);
}

.slt-user-form p {
    margin: 0;
    font-style: italic;
    color: #6c757d;
    font-size: 13px;
    width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
	.out-class-vote{
	    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: left;
    line-height: 10px;
}
    .slt-star { 
        font-size: 2.5rem; 
        margin: 0 8px; 
    }
    
    .slt-save { 
        padding: 12px 24px; 
        font-size: 16px;
    }

    .slt-filter-form {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .slt-filter-form button[type="submit"] {
        padding: 12px;
        font-size: 16px;
    }

    .slt-chart-canvas { 
        height: 340px !important;
        max-height: 340px;
    }
    .slt-graphs-grid {
        grid-template-columns: 1fr;
    }

    /* Chart.js: niente micro-rotazioni sul contenitore (su mobile sfocano il canvas). */
    .slt-graph-style-9,
    .slt-graph-style-20 {
        transform: none;
    }

    /* WebKit/iOS: backdrop-filter sul contenitore rende spesso sfocati canvas e testo figli. */
    .slt-graph-style-10 {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Legenda categorie: tipografia decorativa → stack di sistema, niente varianti che i browser mobili rendono male. */
    .slt-graph .slt-graph-categories,
    .slt-graph .slt-graph-cat-name {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        font-variant: normal !important;
        font-variant-caps: normal !important;
        font-style: normal !important;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
    }

    .slt-graph .slt-graph-categories {
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        font-size: 14px;
        font-weight: 500;
    }

    .slt-embed-chart-root .slt-chart-canvas.slt-embed-chart-canvas {
        height: min(320px, 52vh) !important;
        max-height: 55vh !important;
    }

    .slt-graph {
        height: 440px;
        min-height: 440px;
    }
	
.text-vote > p {
    margin-bottom: 10px;
    letter-spacing: 1px;
}
    
    .slt-modal-content { 
        width: 95%; 
        margin: 10px; 
        box-sizing: border-box; 
    }

    .slt-user-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .slt-user-form select {
        min-width: 0;
        width: 100%;
    }

    /* CoreUI multi-select mobile adjustments */
    .slt-content-selector .form-multi-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

@media (max-width: 480px) {
	.out-class-vote{
	    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: left;
    line-height: 10px;
}
    .slt-star {
        font-size: 1.3rem;
        margin: 0 5px;
    }

.text-vote > p {
    margin-bottom: 10px;
    letter-spacing: 1px;
}
    .slt-chart-canvas { 
        height: 300px !important;
        max-height: 300px;
    }

    .slt-vote {
        padding: 0px;
        margin: 0px 0;
        display: flex;
        flex-direction: row;
        width: 400px;
        justify-content: flex-start;
    }

    .slt-filter-form {
        padding: 15px;
        margin-bottom: 15px;
    }

    .slt-graph {
        padding: 15px;
        margin-top: 15px;
        height: 400px;
        min-height: 400px;
    }

    .slt-modal-content {
        padding: 15px;
        margin: 5px;
    }

    /* Ensure CoreUI multi-select works well on very small screens */
    .slt-content-selector .form-multi-select {
        min-height: 44px;
        font-size: 16px;
    }
}

/* --- Questionnaire (aligned with self-learning-tracker-questionnaire) --- */

.sltq-questionnaire-wrap {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.08rem;
    --sltq-inline: clamp(18px, 5vw, 56px);
}

.sltq-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.sltq-form {
    padding-left: var(--sltq-inline);
    padding-right: var(--sltq-inline);
    box-sizing: border-box;
}

.sltq-step-counter {
    font-weight: 600;
    color: #333;
}

.sltq-skip-link {
    cursor: pointer;
    text-decoration: underline;
    color: #0073aa;
    user-select: none;
}

.sltq-skip-link:focus {
    outline: 1px dotted #0073aa;
    outline-offset: 2px;
}

/* Altezza = solo il passo attivo (relative); gli altri sono absolute e non spingono Back/Next */
.sltq-steps-stack {
    position: relative;
}

.sltq-steps-stack .sltq-step:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity 0.57s ease,
        filter 0.57s ease,
        transform 0.57s ease,
        visibility 0s linear 0.57s;
}

.sltq-steps-stack .sltq-step.is-active {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    filter: blur(0);
    transform: translateY(0);
    pointer-events: auto;
    transition:
        opacity 0.57s ease,
        filter 0.57s ease,
        transform 0.57s ease,
        visibility 0s linear 0s;
}

.sltq-form.sltq-form--transitioning .sltq-nav-row .sltq-back-link,
.sltq-form.sltq-form--transitioning .sltq-nav-row .sltq-next-btn,
.sltq-form.sltq-form--transitioning .sltq-nav-row .sltq-save-btn {
    pointer-events: none;
    opacity: 0.65;
}

.sltq-questionnaire-wrap.sltq-wrap--transitioning .sltq-skip-link {
    pointer-events: none;
    opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
    .sltq-steps-stack .sltq-step,
    .sltq-steps-stack .sltq-step.is-active {
        transition-duration: 0.01ms;
        filter: none;
        transform: none;
    }
}

.sltq-prompt {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.45;
    font-weight: 600;
    color: #222;
}

.sltq-options {
    margin-top: 8px;
    display: grid;
    gap: 10px;
    font-size: 1.06rem;
    line-height: 1.4;
}

.sltq-options label {
    cursor: pointer;
}

/* Passo 3: risposte una sotto l'altra (colonna singola), scope sul wrap per CoreUI/tema */
.sltq-questionnaire-wrap .sltq-options.sltq-checkboxes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
    column-gap: 0;
}

.sltq-questionnaire-wrap .sltq-options.sltq-checkboxes label {
    display: flex;
    align-items: flex-start;
    gap: 0.45em;
    margin: 0;
    min-width: 0;
}

.sltq-questionnaire-wrap .sltq-options.sltq-checkboxes label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.2em;
}

.sltq-other-wrap {
    margin-top: 12px;
}

.sltq-other-wrap.is-hidden {
    display: none;
}

.sltq-other-label {
    display: block;
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.sltq-other-detail {
    width: 100%;
    max-width: 420px;
    padding: 8px 10px;
    font-size: 1.05rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.sltq-nav-row {
    margin-top: 20px;
    margin-left: calc(-1 * var(--sltq-inline));
    margin-right: calc(-1 * var(--sltq-inline));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.sltq-back-link {
    cursor: pointer;
    text-decoration: underline;
    color: #0073aa;
    user-select: none;
    font-size: 1.02rem;
}

.sltq-back-link.is-invisible {
    visibility: hidden;
    pointer-events: none;
}

.sltq-back-link:focus {
    outline: 1px dotted #0073aa;
    outline-offset: 2px;
}

.sltq-nav-right {
    margin-left: auto;
}

.sltq-next-btn,
.sltq-save-btn {
    border: none;
    border-radius: 6px;
    background: #0073aa;
    color: #fff;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 1.02rem;
}

.sltq-next-btn[disabled],
.sltq-save-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sltq-status {
    margin-top: 12px;
    min-height: 20px;
}

.sltq-starting-point {
    margin-top: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fafafa;
}

.sltq-starting-point summary {
    cursor: pointer;
    font-weight: 600;
}

body.sltq-has-loader-overlay {
    overflow: hidden;
}

.sltq-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    animation: sltq-loader-fade-in 0.35s ease;
}

@keyframes sltq-loader-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sltq-loader-inner {
    text-align: center;
    max-width: 90vw;
}

.sltq-loader-visual {
    position: relative;
    width: min(104px, 32vw);
    height: min(104px, 32vw);
    max-width: 104px;
    max-height: 104px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sltq-loader-svg-frames {
    width: min(104px, 32vw);
    height: min(104px, 32vw);
    max-width: 104px;
    max-height: 104px;
    flex-shrink: 0;
}

.sltq-loader-svg-root {
    display: block;
    width: 100%;
    height: 100%;
}

.sltq-loader-css-spin {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: sltq-spin 0.85s linear infinite;
    display: none;
}

.sltq-loader-visual.sltq-loader-pending .sltq-loader-css-spin,
.sltq-loader-visual.sltq-svg-fail .sltq-loader-css-spin {
    display: block;
}

.sltq-loader-visual.sltq-svg-ok .sltq-loader-css-spin {
    display: none;
}

@keyframes sltq-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sltq-loader-css-spin {
        animation-duration: 1.4s;
    }

}

.sltq-loader-caption {
    margin: 0;
    font-size: 1.08rem;
    color: #333;
    letter-spacing: 0.02em;
}