.container {
	/*max-width: 800px;*/
	max-width: 80%;
	margin: 50px auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.form-group {
	margin-bottom: 15px;
}
.form-label {
	display: block;
	margin-bottom: 5px;
}
.form-control {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}
.form-control-sms {
	display: inline !important;
	padding: 10px;
	box-sizing: border-box;
}
select.form-control,
input[type="date"].form-control {
	padding: 8px; /* Adjust padding as necessary */
	font-size: 14px; /* Ensure the font size is appropriate */
	line-height: 1.5; /* Set the line height to ensure content isn't cut off */
	height: auto; /* Allow the height to adjust based on content */
}
.tab-content .tab-pane {
	margin-top: 20px;
}
.button-like-checkbox {
	background-color: #f8f9fa;
	border: 2px solid #007bff;
	border-radius: 0.25rem;
	padding: 10px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.button-like-checkbox:hover {
	background-color: #e2e6ea;
}
.custom-control-input {
	margin-right: 10px;
}

.custom-control-input:checked~.custom-control-label::before {
	background-color: #007bff;
	border-color: #007bff;
}

.custom-control-label {
	font-weight: bold;
	line-height: 1.5;
	cursor: pointer;
	flex-grow: 1;
}

.button-like-checkbox .custom-control-input {
	position: relative;
	z-index: 1;
}

.button-like-checkbox .custom-control-label::before {
	height: 1.5rem;
	width: 1.5rem;
}

.button-like-checkbox .custom-control-input:checked~.custom-control-label::before {
	background-color: #007bff;
	border-color: #007bff;
}

/* Style overwrites for DataTable 2.0 */
table.dataTable > thead > tr > th.sorting::before, table.dataTable > thead > tr > th.sorting::after {
	display: none;
}
table.dataTable .dataTable-filterRow th {
	padding: 5px 4px 0;
	background: #f1f2f6;
}

div.dataTables_wrapper div.dataTables_processing {
	top: 100px;
}


/* Styles for CheckboxSelectList */
.CheckboxSelectList {

}
.CheckboxSelectList .list-group {
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #d1d3e2;
	padding: 8px;
}

/* Styles for codeblock */
.codeBlock {
    border: 1px solid rgba(0,0,0,.2);
    padding: 10px;
    color: #000;
	white-space: pre-line;
}
.codeBlock-comment {
    color: #8c8c8c;
    font-style: italic;
}
.codeBlock-tag {
    color: #000;
}
.codeBlock-name {
    color: #0033b3;
}
.codeBlock-function {
    color: #7a7a43;
}
.codeBlock-attr {
    color: #871094;
}
.codeBlock-string {
    color: #067d17;
}

.stagingHeader{
	background-color: yellow;
    text-align: center;
    font-weight: bold;
    color: black;
  }
.pd20 {
	padding: 20px;
}

/* Styles for select2 dropdown */
.select2-container {
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}

	.select2-container--default .select2-selection--single {
		border: 1px solid #d1d3e2;
		padding: 8px 25px 8px 8px;
		height: fit-content;
	}
	.select2-container--default .select2-selection--single .select2-selection__rendered {
		color: #6e707e;
		padding: 0;
		line-height: 1.4;
	}
	.select2-container--default .select2-selection--single .select2-selection__arrow {
		top: 6px;
	}


	.select2-container--default .select2-selection--multiple {
		border: 1px solid #d1d3e2;
		padding: 8px 25px 8px 8px;
	}
	.select2-container .select2-search--inline .select2-search__field {
		margin: 0;
		font-family: inherit;
		line-height: 1.3;
	}
	.select2-container .select2-selection--multiple {
		min-height: 0;
	}
	.select2-container--default .select2-selection--multiple .select2-selection__choice {
		margin: 0 5px 0 0;
		line-height: 1.4;
		background-color: #f4f4f4;
	}
	.select2-container--default .select2-selection--multiple .select2-selection__clear {
		margin-top: 0;
	}
	

	select.form-control.select2.is-invalid + .select2.select2-container .select2-selection {
        border: 1px solid #e74a3b;
        padding-right: calc(1.5em + 0.75rem);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23e74a3b' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74a3b' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }


/* Styles for Required Indicators */
.form-grouping {
	border: 1px solid #ccc6;
	padding-top: 15px;
	margin-top: 5px;
	margin-bottom: 15px;
}
.form-grouping-label {
	position: absolute;
	background: #f8f9fc;
	padding: 0 1rem;
	top: -10px;
	left: 10px;
	z-index: 10;
	opacity: 0.7;
}
.form-grouping.no-border {
	border: 0;
}

.requiredIndicator {
	display: none;
}



/* ========================= */
/* PREVIEW MODAL STYLES */
/* ========================= */
#previewModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#previewModal .modal-header {
    background-color: #4e73df;
    color: #fff;
	border-bottom: none;
}
	#previewModal .modal-title {
		font-weight: bold;
	}
	#previewModal .modal-header .close {
		color: #fff;
		opacity: 1;
	}
		#previewModal .modal-header .close:hover {
			color: #f8f9fa;
		}
#previewModal .modal-body h6 {
    margin-top: 15px;
    color: #4e73df;
}

#previewModal .modal-footer {
	border-top: 1px solid #e3e6f0;
}


/* ============================== */
/* PILL STATUS COLOR CODING */
/* ============================== */

/* Pill container */
.pill-status {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 38px;
    text-align: center;
}

/* Pill dropdown */
.pill-select {
    background-color: transparent;
    border: none;
    font-weight: bold;
    width: 100%;
    text-align: center;
    text-align-last: center;
    appearance: none;
    padding: 6px 24px 6px 6px;
    border-radius: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'><path d='M5.516 7.548l4.484 4.483 4.484-4.483-1.062-1.063L10 9.906 6.578 6.485z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

/* Force readable dropdown options */
.pill-select option {
    background-color: #fff; /* Force a neutral dropdown bg */
    color: #212529;         /* Readable text */
}

.pill-status select.form-control:focus {
    background-color: #f8f9fa !important;
    color: inherit !important;
    outline: none;
    box-shadow: none; /* Disable Bootstrap blue glow if needed */
}