/* Insights details header: layout and aesthetic (match main content card) */

.insights-details-header-wrap .insights-details-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
}

.insights-details-header-wrap .insights-details-card-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.25rem;
}

.insights-details-header-wrap .insights-details-title {
    font-size: 1rem;
}

.insights-details-header-wrap .insights-details-title small {
    font-size: 0.875rem;
    font-weight: 400;
}

/* Single line meta: P.IVA | ATECO | Sync (like screenshot) */
.insights-details-header-wrap .insights-details-meta {
    font-size: 0.8125rem;
    color: var(--phoenix-gray-600, #6c757d);
    line-height: 1.4;
}

.insights-details-header-wrap .insights-details-meta a {
    color: inherit;
}

.insights-details-header-wrap .insights-details-description-preview {
    font-size: 0.8125rem;
}

.insights-details-header-wrap #company-description-preview {
    line-height: 1.4;
}

/* Light button "Aggiorna Dati Scout" in header */
.insights-details-header-wrap .btn-insights-scout {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--phoenix-gray-700, #495057);
}

.insights-details-header-wrap .btn-insights-scout:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: var(--phoenix-gray-800, #343a40);
}

.insights-details-header-wrap .btn-insights-scout .fa-globe {
    color: var(--phoenix-info-500, #3874ff);
}

/* Chip/badge style: light background, subtle border (like example) */
.insights-details-header-wrap .insights-detail-chip {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    color: var(--phoenix-gray-800, #3e465b);
}

.insights-details-header-wrap .insights-detail-chip i {
    font-size: 0.8rem;
    opacity: 0.85;
}

.insights-details-header-wrap .insights-details-card-body {
    padding: 1.25rem 1.25rem;
}

.insights-details-header-wrap .insights-details-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--phoenix-gray-500, #8a94ad);
}

/* Report aziende: Performance Fatturato / Performance Utile (ECharts) – stili gestiti da chart.js */

/* Report aziende: Ultimi appuntamenti */
.ultimi-appuntamenti-item {
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Dettaglio Analisi: tabella e badge risultato */
.dettaglio-analisi-card .dettaglio-analisi-table td {
    vertical-align: middle;
}
.dettaglio-risultato-badge {
    transition: background-color 0.15s ease;
}
.dettaglio-risultato-badge .cursor-pointer:hover {
    text-decoration: underline;
}
.cursor-pointer {
    cursor: pointer;
}

/* Root */

:root,
:root.light,
:root .light {
    --phoenix-font-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --phoenix-font-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --phoenix-body-font-family: "Nunito Sans", Arial, sans-serif;
    --phoenix-table-data-list-bg-opacity: 0.4;
    --phoenix-navbar-vertical-link-color: var(--phoenix-info-600);
    --phoenix-navbar-vertical-link-active-color: var(--phoenix-info-500);
}

body {
    background-color: rgba(var(--phoenix-info-100-rgb), var(--phoenix-bg-opacity));
    font-family: var(--phoenix-body-font-family);
    color: var(--phoenix-1100);
}

/* Input */

input.form-control,
select.form-control,
textarea.form-control,
.form-control.tom-select {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: var(--phoenix-body-font-size);
    font-weight: 400;
    line-height: 1.49;
    color: var(--phoenix-gray-900);
    background-color: var(--phoenix-input-bg);
    background-clip: padding-box;
    border: 1px solid var(--phoenix-input-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    -webkit-box-shadow: inset 0 1px 2px transparent;
    box-shadow: inset 0 1px 2px transparent;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    margin-bottom: 0;
}

input,
button,
select,
optgroup,
textarea,
label,
.alert,
.badge,
.blockquote-footer,
.btn,
.google-map-control-btn .zoomIn,
.google-map-control-btn .zoomOut,
.tox .tox-dialog__footer .tox-button:last-child,
.tox .tox-dialog__footer .tox-button--secondary,
.tox .tox-button-secondary,
.tox .tox-button,
[data-list] .page,
.table-list .page,
.navbar,
.pagination,
.valid-feedback,
.invalid-feedback {
    font-family: var(--phoenix-body-font-family);
}
.btn.btn-outline-primary:hover {
    color: var(--phoenix-white);
    border-color: var(--phoenix-white);
}

/* Errors */
p.error {
    margin: 0;
}

/* Links */

a {
    cursor: pointer;
    text-decoration: none;
    color: var(--phoenix-1100);
}
a:not(.nav-link):hover {
    opacity: 0.6;
    text-decoration: none;
    color: var(--phoenix-info-600);
}


/* Tom Select */
.ts-control {
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    color: var(--phoenix-input-color);
    font-size: var(--phoenix-body-font-size);
}

/* Card */
.card.backoffice {
    height: 100%;
    box-shadow: 0px 2px 4px -2px rgba(36,40,46,.08);
}

/* Alpine JS */
[x-cloak] {
    display: none !important;
}

/* Tooltip Calc */
.tippy-content:has(.tooltip-calc) {
    padding: 5px;
}
.tooltip-calc {
    display: flex;
    align-items: center;
    font-size: 16px;
}
.tooltip-calc .input {
    outline: none;
    border: 1px solid #CBD0DD;
    border-right: 0;
    -webkit-border-top-left-radius: 3px;
    -moz-border-top-left-radius: 3px;
    -ms-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-bottom-left-radius: 3px;
    -ms-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 5px;
    height: 32px;
}
.tooltip-calc .button {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    border: 1px solid #CBD0DD;
    -webkit-border-top-right-radius: 3px;
    -moz-border-top-right-radius: 3px;
    -ms-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-bottom-right-radius: 3px;
    -ms-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-color: #3874FF;
    color: #FFF;
    padding: 5px;
    height: 32px;
    width: 32px;
}
.tooltip-calc-container {
    position: relative;
    width: auto;
}
.tooltip-calc-container .icon {
    position: absolute;
    bottom: 0.25rem;
    right: 1.25rem;
    cursor: pointer;
}

/* Items Cart Resume */
.items-cart-resume-container {
    height: 75%;
}
.items-cart-resume {
    overflow: auto;
}
.items-cart-resume-box {
    border-bottom: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    padding: 1rem;
}
.items-cart-resume-box:nth-child(odd) {
    background-color: rgba(var(--phoenix-info-rgb), 0.04);
}

/* Blink */
.blink {
    animation-name: blinkout;
    animation-duration: 1s;
    animation-delay: 1s;
}
@keyframes blinkout {
    from {
        background-color: #60c6ff;
    }
    to {
        background-color: transparent;
    }
}

/* Number Input */
input.number-input {
    width: 100%;
    box-sizing: border-box;
}

/* Table Data List */
.table-data-list thead tr {
    background: var(--phoenix-info-200);
    background: linear-gradient(0deg, var(--phoenix-info-100) 0%, var(--phoenix-info-200) 10%);
    border-bottom: 1px solid rgba(var(--phoenix-info-100-rgb), var(--phoenix-table-data-list-bg-opacity));
}
.table-data-list tbody {
    display: block;
    height: 61vh;
    overflow: auto;
}
.table-data-list tbody::-webkit-scrollbar {
    width: 5px;
}
.table-data-list tbody::-webkit-scrollbar-track {
    background-color: rgba(var(--phoenix-info-100-rgb), var(--phoenix-bg-opacity));
    box-shadow: inset 0 0 6px rgba(var(--phoenix-info-600-rgb), var(--phoenix-table-data-list-bg-opacity));
}
.table-data-list tbody::-webkit-scrollbar-thumb {
    background-color: var(--phoenix-info-600);
    border-radius: 2rem;
}
.table-data-list thead,
.table-data-list tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;/* even columns width , fix width of table too*/
}
.table-data-list thead tr {
    background-color: var(--phoenix-info-100);
}
.table-data-list tbody tr:nth-child(odd) {
    background-color: var(--phoenix-white);
}
.table-data-list tbody tr:nth-child(even) {
    background-color: rgba(var(--phoenix-info-100-rgb), var(--phoenix-table-data-list-bg-opacity));
}
.table-data-list thead tr th,
.table-data-list tbody tr td {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.table-data-list-pagination {
    box-shadow: 0px -12px 12px -15px rgba(var(--phoenix-info-600-rgb), var(--phoenix-table-data-list-bg-opacity));
}
/* Ts Control */
.form-floating .ts-wrapper.multi .ts-control > div {
    padding-top: 0;
    padding-bottom: 0;
}
/* Theme Setup */
.theme-setup {
    height: 79vh;
}
.theme-setup .tab-content {
    height: 100%;
}
.theme-setup .tab-content .tab-pane {
    height: inherit;
}
.theme-setup .tab-content .tab-pane {
    height: inherit;
}
.theme-setup .tab-content .tab-pane.tab-message {
    padding-top: 7%;
}
#setupInputAddDuration {
    padding: 0.5rem 1rem;
}
#setupButtonAddDuration {
    padding: 0.125rem 0.5rem;
}
#listInputDurationSearch,
.list-item-coefficient {
    padding: 0.5rem 1rem;
    border: 0 solid var(--phoenix-border-color) !important;
    border-bottom-width: 1px !important;
    width: 100%;
}
.invalid-absolute {
    position: absolute;
    right: 2.5rem;
    width: 11rem;
    top: 0.5rem;
}
td a {
    text-wrap: wrap;
}
.avatar {
    background-color: grey;
    border-radius: 100%;
}
.img-thumbnail {
    background-color: #e0e0e0;
}
.order-status-badge {
    white-space: normal;
    display: inline-block;
    text-align: center;
}

.input-group .reset-btn {
    border: none;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    /* Icon size */
    color: #007bff;
    /* Default color for the icon */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .reset-btn-disabled {
    border: none;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    /* Icon size */
    color: #6c757d;
    /* Neutral gray to indicate disabled state */
    cursor: not-allowed;
    /* Indicates the button is not clickable */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    /* Prevents interaction */
    transition: color 0.3s, opacity 0.3s;
    /* Smooth transition for state change */
}

.input-group .reset-btn:hover {
    color: #0056b3;
    /* Darker color on hover */
}

.input-group .reset-btn:focus {
    outline: none;
}

.input-group .reset-btn i,
.input-group .reset-btn-disabled i {
    margin: 0;
}

.agent-dashboard-table td[data-agent-id] {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

/* Default style */
.agent-dashboard-table td[data-agent-id]:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Light blue background */
    color: #007bff; /* Make text blue */
    font-weight: bold; /* Emphasize the text */
    border-radius: 5px; /* Slight rounding for smooth effect */
}

/* Subtle shadow effect on hover */
.agent-dashboard-table td[data-agent-id]:hover::after {
    content: "🔍"; /* Small search emoji to indicate interactivity */
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.7;
}
/* MVP Card - Horizontal Layout */
.card.mvp-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 50px; /* Set fixed height */
    padding: 5px 10px;
    border-radius: 10px; /* Slight rounding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background: #f8f9fa; /* Light background */
}

/* Icon Styling */
.mvp-card i {
    font-size: 20px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Text Formatting */
.mvp-card-title {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.mvp-card-text {
    font-size: 12px;
    color: #666;
}

/* Responsive Sizing */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Soft green background when order is set */
.bg-soft-green {
    background: url(/assets/img/texture-green.png);
    background-position: center center;
}

.product-image {
    height: 250px;
    width: 100%;
    object-fit: contain;
}

.border-gray {
    border-color: #e3e6ed;
}

/* Alert no visits - stile personalizzato per alert visite mancanti */
.alert-no-visits {
    background-color: #fff6e0;
    border-left: 4px solid #e5780b;
    border-radius: 0.5rem;
    color: #bc3803;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-no-visits i {
    color: #ffc107;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-no-visits a {
    color: inherit;
    text-decoration: underline;
}

.alert-no-visits a:hover {
    opacity: 0.8;
}

/* Appointment Detail Page Styles */
:root {
    --bg-page: #f4f6f8;
    --card-bg: #ffffff;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #475569;
    --ai-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --ai-accent: #7c3aed;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #22c55e;
}

.appointment-detail-page {
    background-color: var(--bg-page);
    min-height: 100vh;
    padding: 30px;
}

.appointment-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-back {
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background: #f8fafc;
    color: var(--text-main);
}

/* Top Grid */
.top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Client Header */
.client-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.client-logo {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #64748b;
    flex-shrink: 0;
}

/* History */
.history-scroller {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}

.history-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}

.history-row:last-child {
    border-bottom: none;
}

/* Meeting Meta Box */
.meeting-meta-box {
    background: #fff;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.input-bare {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 0;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.input-bare:focus {
    border-bottom-color: var(--primary);
}

.label-bare {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* AI Strategy Card */
.ai-strategy-card {
    background: var(--ai-gradient);
    color: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

.ai-title {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-strategy-full {
    transition: all 0.2s;
}

.btn-strategy-full:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateY(-1px);
}

.strategy-content {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.strategy-content::-webkit-scrollbar {
    width: 8px;
}

.strategy-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.strategy-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.strategy-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.key-point {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    padding: 4px 0;
}

.key-point:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.bullet {
    color: #facc15;
    font-weight: bold;
}

.strategy-paragraph {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.strategy-paragraph:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.strategy-paragraph-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #facc15;
}

.strategy-paragraph-content {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    padding-left: 10px;
}

/* AI Actions Grid */
.ai-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-ai-action {
    background: #fff;
    border: 2px solid var(--ai-accent);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ai-accent);
    box-shadow: 0 2px 5px rgba(124, 58, 237, 0.1);
    text-decoration: none;
}

.btn-ai-action:hover {
    background: var(--ai-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.btn-ai-action span {
    font-size: 1.2rem;
}

/* Interlocutor Card */
.interlocutor-card {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.std-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-top: 5px;
    box-sizing: border-box;
}

.std-input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Products */
.product-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.prod-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.slider-group {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 250px;
    flex: 1;
}

.range-slider {
    flex-grow: 1;
    cursor: pointer;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-weight: bold;
    color: var(--primary);
    width: 45px;
    text-align: right;
}

.btn-checklist {
    background: #f0f9ff;
    color: var(--primary);
    border: 1px solid #bae6fd;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-checklist:hover {
    background: #e0f2fe;
}

.notes-area {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    box-sizing: border-box;
}

.notes-area:focus {
    background: #fff;
    border-color: var(--primary);
    outline: none;
}

/* Footer */
.footer-bar {
    margin-top: 40px;
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-save {
    background: var(--success);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.btn-save:hover {
    background: #16a34a;
}

@media (max-width: 768px) {
    .top-grid {
        grid-template-columns: 1fr;
    }
    
    .meeting-meta-box {
        grid-template-columns: 1fr;
    }
    
    .ai-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .prod-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slider-group {
        width: 100%;
    }
}

/* Wizard Profilazione Styles */
.wizard-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #edf2f5;
    border-radius: 12px 0 0 12px;
    padding: 2rem 1.5rem;
}

.wizard-content {
    padding: 2rem;
    position: relative;
}

/* Progress Bar Globale */
.progress-global {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
    margin-bottom: 1.5rem;
}

.progress-global .progress-bar {
    background-color: #3f51b5;
    border-radius: 4px;
}

/* Sidebar Steps & Percentuali */
.step-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf2f5;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-item:hover {
    color: #3f51b5;
    background-color: rgba(63, 81, 181, 0.05);
}

.step-item.active {
    color: #3f51b5;
    font-weight: 700;
    border-right: 3px solid #3f51b5;
}

.step-item .badge-pct {
    background-color: #eef2f7;
    color: #5c6b81;
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: 6px;
}

.step-item.active .badge-pct {
    background-color: #e0e7ff;
    color: #3f51b5;
}

/* Tipografia Domande */
.question-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Radio Buttons a forma di Card (UX migliorata) */
.btn-check-custom {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn-check-custom + .btn {
    border: 1px solid #dce1e7;
    background-color: #fff;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-check-custom:checked + .btn {
    background-color: #eff3ff;
    border-color: #3f51b5;
    color: #3f51b5;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

.btn-check-custom:hover + .btn {
    border-color: #aeb9cc;
    background-color: #fcfcfc;
}

.btn-check-custom:focus + .btn {
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}