.modal.colored-header .modal-dialog {
	margin-top: 40px;
}
.modal.colored-header .modal-content {
	border: none;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
}

.modal.colored-header .modal-content .modal-header {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	color: #1f2937;
	padding: 16px 22px;
	border-bottom: 1px solid #eef2f7;
}
.modal.colored-header .modal-content .modal-header:before,
.modal.colored-header .modal-content .modal-header:after {
	display: none;
}
.modal.colored-header .modal-content .modal-header .modal-title {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -.01em;
}
.modal.colored-header .modal-content .modal-header .modal-title b {
	font-weight: 700;
}
.modal.colored-header .modal-content .modal-header .modal-title small {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
}
.modal.colored-header .modal-content .modal-header .modal-title > i:first-child {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e8f0fe;
	color: #1a73e8;
	font-size: 15px;
	margin: 0;
	opacity: 1;
}
.modal.colored-header .modal-content .modal-header .close {
	order: 2;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 18px;
	line-height: 1;
	opacity: 1;
	text-shadow: none;
	transition: background .15s ease, color .15s ease;
}
.modal.colored-header .modal-content .modal-header .close:hover {
	background: #fde8e8;
	color: #c5221f;
}

.modal.colored-header .modal-content .modal-body {
	background: #fff;
	color: #374151;
	padding: 20px 22px 8px;
}
.modal.colored-header .modal-body > .row > .panel {
	margin: 0 15px;
}
.modal.colored-header .modal-body .panel,
.modal.colored-header .modal-body .panel-default {
	background: transparent;
	border: none;
	box-shadow: none;
	margin-bottom: 0;
}
.modal.colored-header .modal-body .panel-body {
	padding: 0;
}
.modal.colored-header .modal-body .form-group {
	margin-bottom: 14px !important;
}

.modal.colored-header .modal-content label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #4b5563;
}
.modal.colored-header .modal-content label small {
	font-weight: 500;
	color: #9ca3af;
}
.modal.colored-header .modal-content .form-control {
	height: 38px;
	padding: 7px 12px;
	font-size: 13px;
	color: #1f2937;
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.modal.colored-header .modal-content textarea.form-control {
	height: auto;
	min-height: 90px;
	line-height: 1.5;
}
.modal.colored-header .modal-content .form-control:focus {
	border-color: #4285f4;
	box-shadow: 0 0 0 3px rgba(66, 133, 244, .14);
	outline: 0;
}
.modal.colored-header .modal-content .form-control::placeholder {
	color: #9ca3af;
}
.modal.colored-header .modal-content .input-group-addon {
	border-color: #dde3ea;
	background: #f8fafc;
	color: #6b7280;
	border-radius: 8px;
}

.modal.colored-header .select2-container--classic .select2-selection--single,
.modal.colored-header .select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	background: #fff;
	background-image: none;
	outline: 0;
}
.modal.colored-header .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 36px;
	padding-left: 12px;
	font-size: 13px;
	color: #1f2937;
}
.modal.colored-header .select2-container .select2-selection--single .select2-selection__arrow {
	height: 36px;
	border: none;
	background: transparent;
	background-image: none;
}
.modal.colored-header .select2-container--classic .select2-selection--multiple,
.modal.colored-header .select2-container--default .select2-selection--multiple {
	min-height: 38px;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	background: #fff;
}
.modal.colored-header .select2-container .select2-selection--multiple .select2-selection__choice {
	background: #e8f0fe;
	border: 1px solid #c5d7fc;
	color: #1a73e8;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
}
.modal.colored-header .select2-container--open .select2-selection,
.modal.colored-header .select2-container--focus .select2-selection {
	border-color: #4285f4 !important;
	box-shadow: 0 0 0 3px rgba(66, 133, 244, .14);
}
.modal-open .select2-dropdown {
	z-index: 10060 !important;
	border-color: #dde3ea;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
}
.modal-open .select2-close-mask {
	z-index: 10055 !important;
}
.modal-open .select2-results__option--highlighted[aria-selected] {
	background: #4285f4;
}

.modal.colored-header .modal-content .modal-footer,
.modal.colored-header .modal-content form > .panel-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border-top: 1px solid #eef2f7;
	padding: 14px 22px;
	margin-top: 12px;
}
.modal.colored-header .modal-content .modal-footer:before,
.modal.colored-header .modal-content .modal-footer:after {
	display: none;
}
.modal.colored-header .modal-content .modal-footer:empty {
	display: none;
}
.modal.colored-header .modal-content .modal-footer .btn,
.modal.colored-header .modal-content form > .panel-footer .btn {
	margin: 0;
	height: auto;
	padding: 9px 20px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	border-radius: 8px;
	box-shadow: none;
}
.modal.colored-header .modal-content .btn-primary {
	background: #4285f4;
	border-color: #4285f4;
}
.modal.colored-header .modal-content .btn-primary:hover,
.modal.colored-header .modal-content .btn-primary:focus {
	background: #3367d6;
	border-color: #3367d6;
}
.modal.colored-header .modal-content .btn-warning {
	background: #f59e0b;
	border-color: #f59e0b;
	color: #fff;
}
.modal.colored-header .modal-content .btn-warning:hover,
.modal.colored-header .modal-content .btn-warning:focus {
	background: #d97706;
	border-color: #d97706;
}

.modal.colored-header .modal-content .alert {
	border-radius: 10px;
}
.modal.colored-header .modal-content .cke {
	border-radius: 8px;
	overflow: hidden;
	border-color: #dde3ea;
}

@media (max-width: 767px) {
	.modal.colored-header .modal-dialog {
		margin: 12px;
	}
}
