.ecm-account-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}

.ecm-account-section {
	margin-top: 2rem;
}

.ecm-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.ecm-section-header h4 {
	margin: 0;
}

.ecm-section-header p {
	color: #222;
}

.ecm-section-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .75rem;
	flex-wrap: wrap;
}

.ecm-template-table th:last-child,
.ecm-template-table td:last-child {
	white-space: nowrap;
}

.ecm-template-delete-warning {
	max-width: 760px;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, .18);
	background: #fff;
}

.ecm-template-delete-warning p {
	margin-top: 0;
}

#ecmChecklistTemplateModal .ecm-checklist-delete-dialog {
	max-width: 560px;
}

.ecm-document-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

.ecm-document-option {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: .85rem;
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	cursor: pointer;
}

.ecm-document-option .form-check-input {
	margin-top: .2rem;
	flex: 0 0 auto;
}

.ecm-document-option-body {
	display: block;
	min-width: 0;
}

.ecm-document-option-title {
	display: block;
	font-weight: 700;
	line-height: 1.25;
}

.ecm-document-option-description {
	display: block;
	margin-top: .25rem;
	font-size: .9rem;
	line-height: 1.35;
	color: #5f6368;
}

@media (max-width: 991.98px) {
	.ecm-account-header,
	.ecm-section-header {
		flex-direction: column;
	}

	.ecm-document-picker {
		grid-template-columns: 1fr;
	}
}
#ecmChecklistTemplateModal .modal-dialog {
	max-height: calc(100vh - 3.5rem);
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}

#ecmChecklistTemplateModal .modal-content {
	max-height: calc(100vh - 3.5rem);
	display: flex;
	flex-direction: column;
}

#ecmChecklistTemplateModal .modal-body {
	overflow-y: auto;
	min-height: 0;
}

#ecmChecklistTemplateModal .modal-footer {
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, .12);
}

.ecm-switch-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ecm-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	width: 58px;
	height: 32px;
	padding: 0 8px;
	border-radius: 999px;
	background: #c7cbd1;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 58px;
	transition: background .18s ease;
}

.ecm-switch-knob {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	transition: transform .18s ease;
}

.ecm-switch-text-on {
	display: none;
	margin-right: 24px;
}

.ecm-switch-text-off {
	display: inline;
	margin-left: 24px;
}

.ecm-switch-input:checked + .ecm-switch {
	justify-content: flex-start;
	background: #25b84b;
}

.ecm-switch-input:checked + .ecm-switch .ecm-switch-knob {
	transform: translateX(26px);
}

.ecm-switch-input:checked + .ecm-switch .ecm-switch-text-on {
	display: inline;
}

.ecm-switch-input:checked + .ecm-switch .ecm-switch-text-off {
	display: none;
}

.ecm-switch-input:focus-visible + .ecm-switch {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
}

.ecm-switch-input:disabled + .ecm-switch {
	opacity: .65;
}
.modal-dialog.modal-fullscreen.ecm-checklist-modal-dialog {
	padding: 1.5rem;
	height: 100%;
	margin: 0;
}

.ecm-checklist-modal-dialog .modal-content {
	height: 100%;
	max-height: none;
	border: 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, .18);
}

.ecm-checklist-modal-dialog .modal-header,
.ecm-checklist-modal-dialog .modal-footer {
	flex: 0 0 auto;
}

.ecm-checklist-modal-dialog .modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	min-height: 0;
}

.ecm-checklist-modal-dialog .modal-footer {
	position: static;
	background: #fff;
}

@media (max-width: 767.98px) {
	.modal-dialog.modal-fullscreen.ecm-checklist-modal-dialog {
		padding: .75rem;
	}

	.ecm-checklist-modal-dialog .modal-content {
		border-radius: .75rem;
	}
}
#ecmChecklistTemplateModal .modal-dialog.modal-fullscreen.ecm-checklist-modal-dialog {
	max-height: none;
	height: 100%;
	padding: 1.5rem;
	margin: 0;
}

#ecmChecklistTemplateModal .ecm-checklist-modal-dialog .modal-content {
	height: 100%;
	max-height: none;
}

#ecmChecklistTemplateModal .ecm-checklist-modal-dialog form[data-ecm-template-form="1"] {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

#ecmChecklistTemplateModal .ecm-checklist-modal-dialog .modal-body {
	flex: 1 1 auto;
	overflow-y: auto;
	min-height: 0;
}

#ecmChecklistTemplateModal .ecm-checklist-modal-dialog .modal-footer {
	flex: 0 0 auto;
	position: static;
}

@media (max-width: 767.98px) {
	#ecmChecklistTemplateModal .modal-dialog.modal-fullscreen.ecm-checklist-modal-dialog {
		padding: .75rem;
	}
}
.ecm-custom-documents-block {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, .12);
}

.ecm-document-picker-custom {
	margin-bottom: 1rem;
}

.ecm-custom-documents-empty {
	margin-bottom: 1rem;
	color: #5f6368;
}

.ecm-custom-document-tool {
	max-width: 640px;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
}

.ecm-custom-document-row + .ecm-custom-document-row {
	margin-top: .75rem;
}