/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.cl-view-documents .fav-icon {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 0.5rem;
}

.cl-view-documents .fav-icon .clfdl_document-title {
	margin: 0 0 10px 0;

}

.cl-view-documents .fav-icon .cl-favorite-btn {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
}

.cl-view-documents .fav-icon .cl-icon img {
	width: 25px !important;
	height: 25px !important;
	cursor: pointer;

}



span.wp-doc-empty {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 3px;
	opacity: .5;
	font-size: 14px;
}

.dt-container .dt-info {
	float: left !important;
	padding-top: 15px !important;
	font-weight: 500 !important;
}

.dt-container .dt-paging {
	float: right !important;
	padding-top: 15px !important;
	margin-bottom: 20px !important;
}

/* Clear floats to prevent overlapping with other shortcodes */
.dt-container:after {
	content: "" !important;
	display: table !important;
	clear: both !important;
}

html body .dt-container .dt-paging .dt-paging-button,
html body .dt-container .dt-paging .dt-paging-button.current,
html body .dt-container .dt-paging .dt-paging-button.disabled {
	padding: 8px 16px !important;
	background: #074b79 !important;
	color: #ffffff !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	border: none !important;
	cursor: pointer !important;
	margin: 0 4px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

html body .dt-container .dt-paging .dt-paging-button:hover {
	color: #ffffff !important;
	background: #1e40af !important;
}

.dt-container .dt-length,
.dt-container .dt-search {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin-bottom: 20px !important;
	width: auto !important;
}

.dt-container .dt-search {
	float: right !important;
}

.dt-container .dt-length label,
.dt-container .dt-search label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	white-space: nowrap !important;
	margin: 0 !important;
	font-weight: 500 !important;
}

.dt-container .dt-length select,
.dt-container .dt-search input {
	width: auto !important;
	min-width: 150px !important;
	border: 1px solid #dbdbdb !important;
	padding: 6px 12px !important;
	border-radius: 4px !important;
	outline: none !important;
}

.wp-doc-tc {
	text-align: center;
}

.select2 button {
	color: inherit;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
	margin-inline: 0;
}

span.select2-search.select2-search--inline {
	line-height: unset;
}

textarea.select2-search__field {
	line-height: 1;
}

li.select2-selection__choice {
	display: flex !important;
	align-items: center;
	width: max-content;
	max-width: 100%;
}

.select2 .select2-selection__choice__remove {
	bottom: 0;
}

/* FC Document Viewer */
.cl-modal {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cl-modal-content {
	background: #fff;
	width: 100%;
	height: 100%;
	max-width: 90%;
	max-height: 90%;
	overflow: auto;
	padding: 20px;
	border-radius: 8px;
}

.cl-modal-close {
	float: right;
	cursor: pointer;
	font-size: 24px;
}

.cl-viewer iframe,
.cl-viewer canvas,
.cl-viewer video,
.cl-viewer audio {
	width: 100%;
	max-height: 80vh;
}

.cl-modal .cl-doc-viewer {
	overflow: hidden;
	/* hide outer scroll */
}

.cl-modal .cl-doc-viewer iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

div#FCDocViewer {
	height: 80.5vh;
}

/* FC Document Viewer end */

/* Responsive Starts */


/* CSS */
.cl-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cl-title {
	font-size: 24px;
	margin: 0 0 15px;
	font-weight: 600;
}

.cl-toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.cl-search {
	position: relative;
	flex: 1 1 260px;
	max-width: 420px;
}

.cl-search input {
	width: 100%;
	padding: 8px 30px 8px 12px;
	border-radius: 999px;
	border: 1px solid #d5d8df;
	font-size: 14px;
}

.cl-search-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 13px;
	opacity: 0.6;
}

.cl-toolbar-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.cl-per-page span {
	margin-right: 6px;
	font-size: 13px;
	color: #555;
}

.cl-per-page select {
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid #d5d8df;
	font-size: 13px;
}

.cl-view-toggle button {
	border: 1px solid #d5d8df;
	background: #fff;
	padding: 5px 10px;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.cl-view-toggle button:first-child {
	border-radius: 6px 0 0 6px;
	border-right: none;
}

.cl-view-toggle button:last-child {
	border-radius: 0 6px 6px 0;
}

.cl-view-toggle button.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.cl-folders {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.cl-folders button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	font-size: 13px;
	cursor: pointer;
}

.cl-folders button.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.cl-folder-count {
	min-width: 24px;
	text-align: center;
	border-radius: 999px;
	font-size: 11px;
	padding: 2px 6px;
	background: rgba(0, 0, 0, 0.06);
}

.cl-status {
	margin: 20px 0;
	font-size: 14px;
	color: #4b5563;
}

.cl-status--error {
	color: #b91c1c;
}

.cl-items {
	display: grid;
	gap: 18px;
}

.cl-items-grid {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.cl-items-list {
	grid-template-columns: 1fr;
}

.cl-item-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 24px 18px 18px;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.cl-item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: #eff6ff;
}

.cl-item-icon-label {
	font-size: 20px;
	font-weight: 600;
}

/* type-specific accents */
.cl-type-pdf .cl-item-icon {
	background: #fee2e2;
}

.cl-type-doc .cl-item-icon {
	background: #dbeafe;
}

.cl-type-xls .cl-item-icon {
	background: #dcfce7;
}

.cl-type-video .cl-item-icon {
	background: #fef3c7;
}

.cl-type-audio .cl-item-icon {
	background: #ede9fe;
}

.cl-item-body {
	text-align: center;
}

.cl-item-title {
	font-size: 14px;
	margin: 0 0 6px;
	font-weight: 500;
}

.cl-item-meta {
	font-size: 12px;
	color: #6b7280;
	margin: 0 0 12px;
}

.cl-item-meta span+span::before {
	content: '•';
	margin: 0 4px;
}

.cl-item-footer {
	text-align: center;
}

.cl-download-btn {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: #0ea5e9;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
}

.cl-download-btn:hover {
	background: #0284c7;
}

.cl-pagination {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	font-size: 13px;
}

.cl-pagination button {
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #fff;
	cursor: pointer;
}

.cl-pagination button:disabled {
	opacity: 0.4;
	cursor: default;
}

/* End CSS */

/* theme css fixes fixes */

.cl-frontend :is(input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select) {
	font-size: 14px;
	line-height: 20px;
	border-radius: 6px;
	border-color: #e5e5e5;
}

.view-switcher-wrapper {
	gap: 2px;
}

.lv1,
.lv2 {
	padding: 0px !important;
	margin: 0px;
}

:is(.lv1, .lv2) ul,
:is(.lv1, .lv2) ol {
	padding: 0px;
	margin: 0px;
}

:is(.lv1, .lv2) ul li,
:is(.lv1, .lv2) ol li {
	position: relative;
}

:is(.lv1, .lv2) ul li span::before,
:is(.lv1, .lv2) ol li span::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.no-udl {
	text-decoration: none !important;
}

.swal2-popup {
	overflow: hidden;
	padding: 20px !important;
	border-radius: 14px;
}

.swal2-popup>input#swal2-input {
	margin-inline: 0px !important;
}

.swal2-popup button.swal2-styled {
	padding-block: 6px;
	border-radius: 6px;
}

.the-viewer img {
	object-fit: cover;
}