/*
--------------------------------------------------
DOSSIER/PRATICHE CSS
--------------------------------------------------
Stili per la gestione delle pratiche e task.
Questo file contiene tutti gli stili delle card:
- Info pratica
- Pratica abbinata
- Promemoria/notifica
- Note
- Allegati
- Documenti da produrre
- Documenti predefiniti
- Steps/operazioni
- Campi aggiuntivi
- Tessera contatto
--------------------------------------------------
*/


/* 
--------------------------------------------------
*** INFORMAZIONI PRATICA - DESIGN MODERNO ***
--------------------------------------------------
*/
.info-pratica-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: hidden;
}

.info-pratica-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.info-pratica-card-header:hover {
	background: #fafafa;
}

.info-pratica-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.info-pratica-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.info-pratica-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.info-pratica-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.info-pratica-card-body {
	padding: 20px;
}

/* Sezioni e campi */
.info-pratica-section {
	margin-bottom: 20px;
}

.info-pratica-field-label {
	font-size: 11px;
	color: #626262;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
    font-family: 'Montserrat';
}

.info-pratica-field-label .required {
	color: #e53935;
}

.info-pratica-input {
	border-radius: 8px !important;
	border: 1px solid #e0e0e0 !important;
	background: #fff !important;
	height: 42px !important;
	padding: 10px 14px !important;
	font-size: 14px;
}

.info-pratica-input:focus {
	border-color: #1976d2 !important;
	box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1) !important;
}

/* Riga di campi */
.info-pratica-fields-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.info-pratica-field-col {
	flex: 1;
	min-width: 200px;
}

/* Select2 dentro info-pratica */
.info-pratica-field-col .select2-container .select2-choice {
	border-radius: 8px !important;
	background: #fff !important;
	border: 1px solid #e0e0e0 !important;
	height: 42px !important;
	line-height: 40px !important;
	padding-left: 12px;
}

.info-pratica-field-col .select2-container .select2-choice .select2-arrow {
	border-radius: 0 8px 8px 0 !important;
	background: #fff !important;
	border: none !important;
}

/* Date picker */
.info-pratica-date-picker {
	border-radius: 8px !important;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	background: #fff;
}

.info-pratica-date-picker .form-control {
	border: none !important;
	border-radius: 0 !important;
	height: 40px !important;
	box-shadow: none !important;
}

.info-pratica-date-picker .input-group-addon {
	border: none !important;
	background: #fff !important;
	padding: 6px 12px;
	color: #666;
}

/* Editor descrizione e note */
.info-pratica-editor,
.note-editor-wrapper {
	border-radius: 10px !important;
	overflow: hidden;
	border: 1px solid #e0e0e0 !important;
	margin-bottom: 16px;
}

.info-pratica-editor .tox-tinymce,
.note-editor-wrapper .tox-tinymce {
	border: none !important;
	border-radius: 10px !important;
	overflow: hidden;
}

.info-pratica-editor .tox-editor-header,
.note-editor-wrapper .tox-editor-header {
	border-bottom: 1px solid #f0f0f0 !important;
	background: #fafafa !important;
	border-radius: 10px 10px 0 0 !important;
}

.info-pratica-editor .tox-toolbar-overlord,
.note-editor-wrapper .tox-toolbar-overlord,
.info-pratica-editor .tox-toolbar__primary,
.note-editor-wrapper .tox-toolbar__primary {
	background: #fafafa !important;
	border-radius: 10px 10px 0 0 !important;
}

.info-pratica-editor .tox-edit-area,
.note-editor-wrapper .tox-edit-area {
	border-radius: 0 0 10px 10px !important;
}

.info-pratica-editor .tox-edit-area__iframe,
.note-editor-wrapper .tox-edit-area__iframe {
	border-radius: 0 0 10px 10px !important;
}

/* Contatto */
.info-pratica-contact-search {
	display: flex;
	gap: 12px;
	align-items: center;
}

.info-pratica-contact-search .select2-container {
	flex: 1;
}

.info-pratica-btn-create {
	white-space: nowrap;
	border-radius: 8px !important;
	padding: 10px 16px !important;
	font-size: 13px !important;
}

.info-pratica-contact-selected {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.info-pratica-contact-badge {
	background: #e8f4fd;
	color: #1a73e8;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
}

.info-pratica-btn-reassign {
	border-radius: 8px !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
}

/* In evidenza */
.info-pratica-highlight-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
}

.info-pratica-highlight-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-pratica-highlight-icon {
	color: #f59e0b;
	font-size: 18px;
}

.info-pratica-highlight-label {
	font-size: 14px;
	font-weight: 500;
	color: #92400e;
}

.info-pratica-highlight-right {
	display: flex;
	align-items: center;
}

/* Date info */
.info-pratica-dates-info {
	background: #fafafa;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 0;
}

.info-pratica-date-value {
	font-size: 14px;
	color: #333;
	margin: 0;
}


/*
--------------------------------------------------
*** PRATICA ABBINATA - DESIGN MODERNO ***
--------------------------------------------------
*/
/* Card principale pratica */
.pratica-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: visible;
	position: relative;
}

.pratica-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.pratica-card:has(.pratica-card-body.collapse:not(.in)) .pratica-card-header {
	border-radius: 12px;
}

.pratica-card-header:hover {
	background: #fafafa;
}

.pratica-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pratica-card-icon {
	font-size: 18px;
	color: #f5a623;
}

.pratica-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.pratica-card-badge {
	background: #e8f4fd;
	color: #1a73e8;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pratica-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pratica-card-toggle {
	color: #999;
	transition: transform 0.3s;
}

/* Rotazione freccia quando contenitore è chiuso */
[data-toggle="collapse"].collapsed .pratica-card-toggle,
.pratica-card-toggle.collapsed {
	transform: rotate(180deg);
}

.pratica-card-body {
	padding: 20px;
}

/* Fix border quando pratica card è collassata - rimuovi border-bottom dell'header */
.pratica-card .pratica-card-header.collapsed,
.pratica-card .pratica-card-header[data-toggle="collapse"].collapsed,
.pratica-card .pratica-card-header[aria-expanded="false"] {
	border-bottom: none;
}

/* Fix pratica-card con body collassato */
.pratica-card:has(.pratica-card-body.collapse:not(.in)) .pratica-card-header {
	border-bottom: none;
}

/* Card prezzi */
.pratica-prices-row {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}

.pratica-price-card {
	flex: 1;
	background: #fafafa;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	padding: 16px;
	transition: all 0.2s;
}

.pratica-price-card.active {
	border-color: #4caf50;
	background: #f1f8e9;
}

.pratica-price-card.standard {
	border-color: #e0e0e0;
}

.pratica-price-label {
	font-size: 12px;
	color: #626262;
	margin-bottom: 6px;
	font-weight: 600;
	font-family: 'Montserrat';
}

.pratica-price-value {
	font-size: 24px;
	font-weight: 700;
	color: #333;
}

.pratica-price-card.active .pratica-price-value {
	color: #4caf50;
}

.pratica-price-sublabel {
	font-size: 11px;
	color: #999;
	margin-top: 4px;
}

/* Sezioni pagamento/fattura */
.pratica-section {
	margin-bottom: 24px;
	padding: 16px;
	border-radius: 10px;
	background: #e3f2fd;
	border: 1px solid #bbdefb;
}

.pratica-section.invoice {
	background: #e8f5e9;
	border-color: #c8e6c9;
}

.pratica-section-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.pratica-section-icon {
	width: 28px;
	height: 28px;
	background: #1976d2;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
}

.pratica-section-icon.invoice {
	background: #388e3c;
	color: #fff;
}

.pratica-section-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.pratica-fields-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.pratica-field {
	flex: 1;
	min-width: 140px;
}

.pratica-field-label {
	font-size: 11px;
	color: #626262;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
    font-family: 'Montserrat';
}

.pratica-field .form-control {
	border-radius: 8px !important;
	border: 1px solid #e0e0e0 !important;
	background: #fff !important;
	height: 42px !important;
}

.pratica-field .form-control:focus {
	border-color: #1976d2 !important;
	background: #fff !important;
}

/* Input group styling per importi */
.pratica-field .input-group {
	border-radius: 8px !important;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	background: #fff;
}

.pratica-field .input-group .form-control {
	border: none !important;
	border-radius: 0 !important;
	height: 40px !important;
	box-shadow: none !important;
}

.pratica-field .input-group .input-group-addon {
	border: none !important;
	background: #fff !important;
	padding: 6px 12px;
	color: #666;
}

/* Select2 fix double border */
.pratica-field .select2-container {
	border: none !important;
	background: transparent !important;
}

.pratica-field .select2-container .select2-choice {
	border-radius: 8px !important;
	background: #fff !important;
	border: 1px solid #e0e0e0 !important;
	height: 42px !important;
	line-height: 40px !important;
	padding-left: 12px;
}

.pratica-field .select2-container .select2-choice .select2-arrow {
	border-radius: 0 8px 8px 0 !important;
	background: #fff !important;
	border: none !important;
}

/* Pulsante elimina pratica */
.pratica-footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
	margin-top: 8px;
}

.btn-delete-pratica {
	background: #fff;
	color: #e53935;
	border: 1px solid #e53935;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-delete-pratica:hover {
	background: #fef2f2;
	border-color: #c62828;
	color: #c62828;
}

.btn-delete-pratica:disabled {
	background: #fafafa;
	color: #f5a5a5;
	border-color: #f5a5a5;
	cursor: not-allowed;
}

.btn-delete-pratica i {
	font-size: 14px;
}


/*
--------------------------------------------------
*** PROMEMORIA NOTIFICA - DESIGN MODERNO ***
--------------------------------------------------
*/
.promemoria-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: hidden;
}

.promemoria-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.promemoria-card-header:hover {
	background: #fafafa;
	border-radius: 12px 12px 0 0;
}

.promemoria-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.promemoria-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.promemoria-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.promemoria-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.promemoria-card-body {
	padding: 20px;
}

/* Toggle switch promemoria */
.promemoria-toggle-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.promemoria-toggle-label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

/* Switch stile iOS */
.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 28px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .3s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .3s;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
	background-color: #1976d2;
}

input:checked + .slider:before {
	transform: translateX(22px);
}

.slider.round {
	border-radius: 28px;
}

.slider.round:before {
	border-radius: 50%;
}

/* Badge promemoria attivo nell'header */
.promemoria-card-badge-active {
	background: linear-gradient(135deg, #4caf50, #66bb6a);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.promemoria-card-badge-active i {
	font-size: 10px;
}

/* Container promemoria già impostato */
.promemoria-active-container {
	background: #f8fdf8;
	border: 1px solid #c8e6c9;
	border-radius: 10px;
	padding: 16px;
}

.promemoria-active-header {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: linear-gradient(135deg, #e8f5e9, #dcedc8);
	border-radius: 8px;
	margin-bottom: 14px;
}

.promemoria-active-header i {
	font-size: 18px;
	color: #43a047;
	margin-top: 2px;
}

.promemoria-active-header span {
	font-size: 13px;
	color: #2e7d32;
	line-height: 1.5;
}

.promemoria-active-header strong {
	color: #1b5e20;
	font-weight: 700;
}

.promemoria-active-icon {
	font-size: 18px;
	color: #43a047;
}

.promemoria-active-section {
	margin-bottom: 12px;
	clear: both;
	display: block;
}

.promemoria-active-label {
	font-size: 10px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
	clear: both;
}

.promemoria-active-section #notification_assigned_admins {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.promemoria-active-section #notification_assigned_admins > div {
	float: none !important;
	margin: 0 !important;
}

.promemoria-active-message {
	color: #333;
	font-size: 14px;
	line-height: 1.5;
}

.promemoria-active-footer {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e0e0e0;
	text-align: right;
}

.btn-promemoria-delete {
	background: #fff;
	color: #e53935;
	border: 1px solid #e53935;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-promemoria-delete:hover {
	background: #e53935;
	color: #fff;
}

/* Pills per selezione quando */
.promemoria-pills-container {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.promemoria-pill {
	padding: 10px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 25px;
	background: #fff;
	color: #666;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.promemoria-pill:hover {
	border-color: var(--gc-primary-color, #1976d2);
	color: var(--gc-primary-color, #1976d2);
}

.promemoria-pill.active {
	background: var(--gc-primary-color, #1976d2);
	border-color: var(--gc-primary-color, #1976d2);
	color: #fff;
}

.promemoria-pill input[type="radio"] {
	display: none;
}

/* Sezioni promemoria */
.promemoria-section {
	margin-bottom: 20px;
}

.promemoria-section-label {
	font-size: 11px;
	color: #626262;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
    font-family: 'Montserrat';	
}

.promemoria-fields-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.promemoria-field {
	flex: 1;
	min-width: 200px;
}



/* 
--------------------------------------------------
*** NOTE CARD - DESIGN MODERNO ***
--------------------------------------------------
*/
.note-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: hidden;
}

.note-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.note-card-header:hover {
	background: #fafafa;
	border-radius: 12px 12px 0 0;
}

.note-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.note-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.note-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.note-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.note-card-body {
	padding: 20px;
}

/* Editor nota */
.note-editor-wrapper {
	background: #fff;
	margin-bottom: 20px;
}

/* Contenitore pulsante aggiungi nota */
.note-card-body .text-right.m-b-20 {
	margin-top: 8px;
}

/* Contatore note */
.note-card-count {
	background: #e3f2fd;
	color: #1976d2;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

/* Pulsante aggiungi nota */
.btn-add-nota {
	background: var(--gc-primary-color, #1976d2);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-add-nota:hover {
	filter: brightness(0.9);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Lista note precedenti */
.note-precedenti-label {
	font-size: 10px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 20px 0 16px 0;
	font-weight: 600;
}


/* 
--------------------------------------------------
*** PULSANTIERA FOOTER MODAL PRATICA ***
--------------------------------------------------
*/
.modal-pratica-footer {
	background: #f8f9fa;
	border-top: 1px solid #e8e8e8;
	padding: 16px 20px;
	margin: 30px -15px -15px -15px;
	border-radius: 0 0 12px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.modal-pratica-footer-left,
.modal-pratica-footer-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Pulsante Salva primario */
.btn-pratica-save {
	background: var(--gc-primary-color, #1976d2);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-pratica-save:hover {
	filter: brightness(0.9);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.btn-pratica-save:disabled {
	background: #ccc;
	box-shadow: none;
	cursor: not-allowed;
	filter: none;
}

/* Pulsante Annulla secondario */
.btn-pratica-cancel {
	background: #fff;
	color: #666;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-pratica-cancel:hover {
	background: #f5f5f5;
	border-color: #ccc;
	color: #333;
}

/* Pulsanti azione (Invia email, Stampa, Archivia) - stile come Annulla */
.btn-pratica-action {
	background: #fff;
	color: #666;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-pratica-action:hover {
	background: #f5f5f5;
	border-color: #ccc;
	color: #333;
}

.btn-pratica-action:disabled {
	background: #fafafa;
	color: #bbb;
	border-color: #e8e8e8;
	cursor: not-allowed;
}

.btn-pratica-action i {
	font-size: 14px;
}

/* Pulsante Azioni nelle righe delle tabelle - stile come btn-pratica-action */
.btn-azioni-tabella,
.btn-azioni-tabella.dropdown-toggle {
	background: #fff !important;
	color: #666 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-azioni-tabella:hover,
.btn-azioni-tabella:focus,
.btn-azioni-tabella:active,
.open > .btn-azioni-tabella,
.open > .btn-azioni-tabella.dropdown-toggle,
.btn-group.open .btn-azioni-tabella,
.btn-group.open .btn-azioni-tabella.dropdown-toggle,
.open.dropdown-default .btn-azioni-tabella,
.open.dropdown-default .btn-azioni-tabella.dropdown-toggle {
	background: #f5f5f5 !important;
	border-color: #ccc !important;
	color: #333 !important;
	z-index: 9999!important;
}

.btn-azioni-tabella .caret {
	margin-left: 4px;
}

.note-item {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
}

.note-item:last-child {
	border-bottom: none;
}

.note-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e3f2fd;
	color: #1976d2;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	flex-shrink: 0;
}

.note-content {
	flex: 1;
}

.note-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.note-author {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.note-date {
	font-size: 12px;
	color: #888;
	display: flex;
	align-items: center;
	gap: 4px;
}

.note-text {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
}


/*
--------------------------------------------------
*** ALLEGATI CARD - DESIGN MODERNO  ***
--------------------------------------------------
*/
.allegati-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: visible;
}

.allegati-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.allegati-card-header:hover {
	background: #fafafa;
}

/* Fix border quando allegati card è collassata */
.allegati-card .allegati-card-header.collapsed,
.allegati-card .allegati-card-header[data-toggle="collapse"].collapsed,
.allegati-card .allegati-card-header[aria-expanded="false"] {
	border-bottom: none;
	border-radius: 12px;
}

.allegati-card:has(.allegati-card-body.collapse:not(.in)) .allegati-card-header {
	border-bottom: none;
	border-radius: 12px;
}

.allegati-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.allegati-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.allegati-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.allegati-card-count {
	background: #e3f2fd;
	color: #1976d2;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.allegati-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.allegati-card-body {
	padding: 20px;
}

/* Label allegati caricati */
.allegati-label {
	font-size: 10px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	font-weight: 600;
}

/* Lista allegati */
.allegato-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	margin-bottom: 10px;
	transition: all 0.2s;
}

.allegato-item:hover {
	background: #f5f5f5;
	border-color: #e0e0e0;
}

.allegato-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.allegato-icon {
	width: 36px;
	height: 36px;
	background: #e3f2fd;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1976d2;
	font-size: 16px;
}

.allegato-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.allegato-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.allegato-meta {
	font-size: 12px;
	color: #888;
}

.allegato-actions {
	display: flex;
	gap: 8px;
}

.allegato-action-btn {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: #888;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.allegato-action-btn:hover {
	background: #e0e0e0;
	color: #333;
}

.allegato-action-btn.delete:hover {
	background: #ffebee;
	color: #e53935;
}

/* Dropzone allegati */
.allegati-dropzone {
	border: 2px dashed #d0d0d0;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	background: #fafafa;
	transition: all 0.2s;
	cursor: pointer;
	margin-top: 16px;
}

.allegati-dropzone:hover {
	border-color: #1976d2;
	background: #e3f2fd;
}

.allegati-dropzone-icon {
	width: 50px;
	height: 50px;
	background: #e3f2fd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
	color: #1976d2;
	font-size: 20px;
}

.allegati-dropzone-text {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 4px;
}

.allegati-dropzone-hint {
	font-size: 12px;
	color: #888;
}

/* Footer allegati */
.allegati-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
}

.btn-carica-esistente {
	background: #fff;
	color: #666;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-carica-esistente:hover {
	background: #f5f5f5;
	border-color: #ccc;
}

/* Margine tra tabella/paginazione e dropzone */
#task_attachments_container_edit,
#task_attachments_container_create {
	margin-bottom: 20px;
}

#table_task_attachments_container_edit .dataTables_paginate,
#table_task_attachments_container_create .dataTables_paginate {
	margin-bottom: 20px;
}

/* Margine tra dropzone e footer */
#multi_upload_file_create_task_container,
#multi_upload_file_edit_task_container {
	margin-bottom: 16px;
}

/* 
--------------------------------------------------
*** NOTE MODERNE - LISTA CON AVATAR  ***
--------------------------------------------------
*/

.note-list-modern {
	margin-top: 10px;
}

.note-item-modern {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
}

.note-item-modern:last-child {
	border-bottom: none;
}

.note-item-modern .note-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	flex-shrink: 0;
	text-transform: uppercase;
}

.note-content-wrapper {
	flex: 1;
	min-width: 0;
}

.note-header-modern {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
	flex-wrap: wrap;
	gap: 8px;
}

.note-header-modern .note-author {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	order: 1;
}

.note-date-modern {
	font-size: 12px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 5px;
	order: 2;
}

.note-date-modern i {
	font-size: 11px;
}

.note-item-modern .note-text {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	word-wrap: break-word;
}


/* 
--------------------------------------------------
*** DATI TESSERA CONTATTO - DESIGN MODERNO ***
--------------------------------------------------
*/
.tessera-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: hidden;
}

.tessera-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.tessera-card-header:hover {
	background: #fafafa;
	border-radius: 12px 12px 0 0;
}

.tessera-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tessera-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.tessera-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.tessera-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tessera-card-badge {
	background: linear-gradient(135deg, #1976d2, #42a5f5);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tessera-card-badge i {
	font-size: 11px;
}

.tessera-card-body {
	padding: 20px;
}

.tessera-fields-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tessera-fields-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.tessera-field {
	flex: 1;
	min-width: 180px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 14px 16px;
}

.tessera-field-highlight {
	background: #e3f2fd;
	border-color: #bbdefb;
}

.tessera-field-label {
	font-size: 10px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	font-weight: 600;
}

.tessera-field-value {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.tessera-field-highlight .tessera-field-value {
	color: #1976d2;
}

.tessera-field-date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: #555;
}

.tessera-field-date i {
	color: #888;
	font-size: 14px;
}

.tessera-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	background: #e8f5e9;
	color: #4caf50;
}

.tessera-status-badge.expired {
	background: #ffebee;
	color: #e53935;
}

.tessera-status-badge.pending {
	background: #fff3e0;
	color: #ff9800;
}


/* 
--------------------------------------------------
*** CAMPI AGGIUNTIVI - DESIGN MODERNO  ***
--------------------------------------------------
*/
.campi-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: hidden;
}

.campi-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.campi-card-header:hover {
	background: #fafafa;
	border-radius: 12px 12px 0 0;
}

.campi-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.campi-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.campi-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.campi-card-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.campi-card-body {
	padding: 20px;
}


/*
--------------------------------------------------
*** DOCUMENTI DA PRODURRE - DESIGN MODERNO ***
--------------------------------------------------
*/
.documenti-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: visible;
}

/* Fix border-radius per documenti-card */
.documenti-card-header {
	border-radius: 12px 12px 0 0;
}

.documenti-card:has(.documenti-card-body.collapse:not(.in)) .documenti-card-header,
.documenti-card:has(.collapse:not(.in)) .documenti-card-header {
	border-radius: 12px;
}

.documenti-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
}

.documenti-card-header:hover {
	background: #fafafa;
}

/* Fix border quando documenti card è collassata */
.documenti-card .documenti-card-header.collapsed,
.documenti-card .documenti-card-header[data-toggle="collapse"].collapsed,
.documenti-card .documenti-card-header[aria-expanded="false"] {
	border-bottom: none;
}

.documenti-card:has(.documenti-card-body.collapse:not(.in)) .documenti-card-header {
	border-bottom: none;
}

.documenti-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.documenti-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.documenti-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.documenti-card-count {
	background: #e3f2fd;
	color: #1976d2;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.documenti-card-body {
	padding: 0;
}

/* Progress bar documenti */
.documenti-progress-container {
	padding: 16px 20px;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}

.documenti-progress-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.documenti-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #1976d2, #42a5f5);
	border-radius: 4px;
	transition: width 0.5s ease;
}

/* Documenti pronti/predefiniti - stile standard */
.documenti-card-ready {
	/* Stesso stile degli altri contenitori */
}

.documenti-icon-ready {
	color: #1976d2 !important;
}

.documenti-count-ready {
	background: #e3f2fd !important;
	color: #1976d2 !important;
}

/* Riga documento */
.documento-row {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #f5f5f5;
	transition: background 0.2s;
}

.documento-row:last-child {
	border-bottom: none;
}

.documento-row:hover {
	background: #fafafa;
}

.documento-status-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 14px;
	flex-shrink: 0;
}

.documento-status-icon.completed {
	background: #e8f5e9;
	color: #4caf50;
}

.documento-status-icon.pending {
	background: #fff3e0;
	color: #ff9800;
}

.documento-status-icon.missing {
	background: #fce4ec;
	color: #e91e63;
}

.documento-info {
	flex: 1;
	min-width: 0;
}

.documento-name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 4px;
}

.documento-name .doc-number {
	color: #888;
	font-weight: 400;
}

.documento-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.documento-folder {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #1976d2;
}

.documento-folder i {
	font-size: 10px;
}

.documento-filename {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: #f5a623;
}

.documento-accessible {
	text-align: center;
	min-width: 80px;
}

.documento-accessible-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
}

.documento-accessible-badge.yes {
	background: #e8f5e9;
	color: #4caf50;
}

.documento-accessible-badge.no {
	background: #f5f5f5;
	color: #999;
}

/* 
--------------------------------------------------
*** DOCUMENTO ROW CONTENT - DESIGN MODERNO ***
--------------------------------------------------
*/
.doc-row-content {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 8px 0;
}

.doc-row-content--pending {
	align-items: center;
}

.doc-status-indicator {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 14px;
}

.doc-status-indicator--completed {
	background: linear-gradient(135deg, #4caf50, #66bb6a);
	color: #fff;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.doc-status-indicator--pending {
	background: #f5f5f5;
	color: #bdbdbd;
	border: 2px dashed #e0e0e0;
}

.doc-info {
	flex: 1;
	min-width: 0;
}

.doc-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
	line-height: 1.3;
}

.doc-row-content--uploaded .doc-name {
	color: #2e7d32;
}

.doc-row-content--pending .doc-name {
	color: #616161;
}

.doc-folder-path {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #1976d2;
	margin-bottom: 6px;
	padding: 3px 8px;
	background: #e3f2fd;
	border-radius: 4px;
	width: fit-content;
}

.doc-folder-path i {
	font-size: 10px;
}

.doc-filename {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #f57c00;
	margin-top: 4px;
	padding: 4px 10px;
	background: #fff3e0;
	border-radius: 4px;
	width: fit-content;
}

.doc-filename .fiv-sqo {
	font-size: 16px;
}

.doc-row-content--uploaded .doc-filename {
	background: #e8f5e9;
	color: #388e3c;
}

.doc-required-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	color: #e53935;
	margin-top: 6px;
	padding: 2px 8px;
	background: #ffebee;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
}

.doc-required-badge i {
	font-size: 8px;
}

/* Stile riga tabella documenti */
#tableTaskDocumentsChecklistEdit tbody tr td:first-child,
#tableTaskDocumentsChecklistCreate tbody tr td:first-child {
	padding-left: 20px !important;
}

#tableTaskDocumentsChecklistEdit tbody tr,
#tableTaskDocumentsChecklistCreate tbody tr {
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.2s ease;
}

#tableTaskDocumentsChecklistEdit tbody tr:hover,
#tableTaskDocumentsChecklistCreate tbody tr:hover {
	background: #fafafa;
}

.doc-row-content--uploaded + td,
.doc-row-content--uploaded ~ td {
	background: rgba(232, 245, 233, 0.3);
}

.documento-date {
	text-align: center;
	min-width: 120px;
	font-size: 12px;
	color: #666;
}

.documento-actions {
	min-width: 100px;
	text-align: right;
}

.btn-upload-doc {
	background: linear-gradient(135deg, #ff9800, #f57c00);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.btn-upload-doc:hover {
	background: linear-gradient(135deg, #f57c00, #ef6c00);
	color: #fff;
}

.btn-actions-doc {
	background: #f5f5f5;
	color: #666;
	border: none;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 500;
}

.btn-actions-doc:hover {
	background: #e0e0e0;
}

/* Footer documenti */
.documenti-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 16px 20px;
	background: #fafafa;
	border-top: 1px solid #f0f0f0;
}

.btn-load-doc {
	background: #fff;
	color: #666;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-load-doc:hover {
	background: #f5f5f5;
	border-color: #ccc;
}


/* ================================================== */
/* OPERAZIONI/STEPS DA ESEGUIRE - DESIGN MODERNO      */
/* ================================================== */

.steps-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e0e0e0;
	margin-bottom: 20px;
	overflow: visible;
}

.steps-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	border-radius: 12px 12px 0 0;
}

.steps-card-header:hover {
	background: #fafafa;
	border-radius: 12px 12px 0 0;
}

.steps-card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.steps-card-icon {
	font-size: 18px;
	color: #1976d2;
}

.steps-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.steps-card-progress-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.steps-card-count {
	background: #e3f2fd;
	color: #1976d2;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.steps-card-body {
	padding: 0;
}

/* Progress bar steps */
.steps-progress-container {
	padding: 16px 20px;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}

.steps-progress-bar {
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.steps-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #4caf50, #8bc34a);
	border-radius: 4px;
	transition: width 0.5s ease;
}

/* Riga step */
.step-row {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #f5f5f5;
	transition: background 0.2s;
}

.step-row:last-child {
	border-bottom: none;
}

.step-row:hover {
	background: #fafafa;
}

.step-checkbox-wrapper {
	margin-right: 14px;
	flex-shrink: 0;
}

.step-checkbox-custom {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.step-checkbox-custom.checked {
	background: #4caf50;
	border-color: #4caf50;
	color: #fff;
}

.step-checkbox-custom.disabled {
	cursor: not-allowed;
	opacity: 0.8;
}

.step-checkbox-custom:not(.checked):hover {
	border-color: #4caf50;
}

.step-checkbox-custom.disabled:hover {
	border-color: #4caf50;
	cursor: not-allowed;
}

.step-info {
	flex: 1;
	min-width: 0;
}

.step-name {
	font-size: 14px;
	color: #333;
}

.step-row.completed .step-name {
	color: #888;
}

.step-date {
	font-size: 12px;
	color: #999;
	min-width: 140px;
	text-align: right;
}

/* 
--------------------------------------------------
*** Dossier Info Box (quando pratica non assegnata) ***
--------------------------------------------------
*/
.dossier-info-box {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-top: 8px;
}

.dossier-info-box-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e0f2fe;
	border-radius: 8px;
	color: #0284c7;
	font-size: 16px;
}

/* Variante Warning */
.dossier-info-box.dossier-info-box--warning {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border-color: #fcd34d;
}

.dossier-info-box--warning .dossier-info-box-icon {
	background: #fef3c7;
	color: #d97706;
}

.dossier-info-box--warning .dossier-info-box-title {
	color: #92400e;
}

.dossier-info-box--warning .dossier-info-box-text {
	color: #a16207;
}

.dossier-info-box-content {
	flex: 1;
	min-width: 0;
}

.dossier-info-box-title {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 4px;
}

.dossier-info-box-text {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

/* 
--------------------------------------------------
*** FIX DROPDOWN MENU NELLE CARD ***
--------------------------------------------------
*/
/* Fix per dropdown che vengono tagliati nelle tabelle dentro le card */
.documenti-card .table-responsive,
.allegati-card .table-responsive,
.steps-card .table-responsive,
.pratica-card .table-responsive,
.documenti-card-body,
.allegati-card-body,
.steps-card-body,
.pratica-card-body {
	overflow: visible !important;
}

.documenti-card .dropdown-menu,
.allegati-card .dropdown-menu,
.steps-card .dropdown-menu,
.pratica-card .dropdown-menu {
	z-index: 1050 !important;
}

.documenti-card .btn-group.open,
.allegati-card .btn-group.open,
.steps-card .btn-group.open,
.pratica-card .btn-group.open {
	position: static;
}

/* 
--------------------------------------------------
*** Document Ready Badge - Documenti predefiniti ***
--------------------------------------------------
*/
.doc-ready-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #FEF2F2;
	border: 2px solid #FECACA;
	border-radius: 50%;
	margin-left: 8px;
	margin-right: 12px;
	vertical-align: middle;
	flex-shrink: 0;
}

.doc-ready-badge i {
	color: #DC2626;
	font-size: 14px;
}
