#reader {
	width: 100%;
}

#reader__scan_region {
	background: white;
}

#reader__scan_region video{
	width: 100% !important;
}

@media (max-width: 768px) {
	.dock {
		display: none !important;
	}
}

html[data-bs-theme="dark"] .modal-content {
	box-shadow: 0px 0px 15px rgba(155, 155, 155, 0.1) !important;
}

body[data-bs-theme="dark"] .ck-content {
	border-color: #a3abb4 !important;
	background: #182433 !important;
	color: #fcfdfe;
}

body[data-bs-theme="dark"] .ck-toolbar {
	border-color: #a3abb4 !important;
	background: #182433 !important;
	color: #fcfdfe !important;
}

body[data-bs-theme="dark"] .ck-button {
	color: #fcfdfe !important;
}

body[data-bs-theme="dark"] {
	--litepicker-container-months-color-bg: #182433;
	--litepicker-day-color: #ddd;
	--litepicker-month-header-color: #ddd;
	--litepicker-is-in-range-color: #0b4c80;
}

body[data-bs-theme="light"] .form-label {
	color: #0054a6;
}

body[data-bs-theme="dark"] .form-label {
	color: #fafafa;
}

#file-list img {
	height: 32px;
}

.page-wrapper::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('../img/logo-45.png');
	background-repeat: repeat;
	background-size: 36px auto;
	background-position: center;
	opacity: 0.1;
	z-index: -1;
}

body[data-bs-theme="dark"] .page-wrapper::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('../img/logo-45-dark.png');
	background-repeat: repeat;
	background-size: 36px auto;
	background-position: center;
	opacity: 0.05;
	z-index: -1;
}

.navbar .navbar-nav .nav-link {
   justify-content: start;
}

.quoted-text {
   background-color: #f7f7f7;
   border-left: 4px solid #007bff;
   padding: 10px;
   margin-bottom: 10px;
   font-style: italic;
   font-size: 0.9rem;
   color: #6c757d;
}

.muted-box {
   background-color: #f0f0f0;
   border-left: 4px solid #6c757d;
   color: #6c757d;
   font-size: 0.85rem;
   padding: 8px;
   margin-bottom: 8px;
   font-style: italic;
}

.chat-item {
   position: relative;
   margin-bottom: 8px;
}

   .chat-item .chat-bubble {
	   position: relative;
   }

.chat-bubble-body p {
   margin: 0;
   margin-bottom: 8px;
}

.chat-bubble-title .chat-bubble-user {
   font-weight: bold;
}

.chat-bubble-title .chat-bubble-date {
   font-size: 0.8rem;
   color: #6c757d;
}

#quoted-message {
   background-color: #e9ecef;
   border: 1px solid #ddd;
   margin-bottom: 0;
   position: sticky;
   bottom: 0;
   width: 100%;
}

   #quoted-message span {
	   color: #6c757d;
   }

.sticky-notification {
   position: sticky;
   bottom: 12px;
   left: 50%;
   transform: translate(-50%, -50%);
}

#file-preview {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: 10px;
}

#media-gallery {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

   #media-gallery img {
	   max-width: 100px;
	   max-height: 100px;
	   object-fit: cover;
   }

.file-card {
   display: flex;
   align-items: center;
   justify-content: space-between;
   background-color: #f8f9fa;
   border: 1px solid #dee2e6;
   border-radius: 8px;
   padding: 8px 12px;
   margin-bottom: 4px;
}

	.file-card img {
		/*max-height: 40px;*/
		border-radius: 4px;
		margin-right: 10px;
	}

   .file-card .file-info {
	   display: flex;
	   align-items: center;
   }

   .file-card .file-icon {
	   font-size: 30px;
	   color: #6c757d;
	   margin-right: 10px;
   }

   .file-card button {
	   background: none;
	   border: none;
	   color: #dc3545;
	   font-size: 18px;
	   cursor: pointer;
   }

.floating-buttons {
   position: absolute;
   bottom: 20px;
   right: 20px;
   z-index: 1050;
}

#floating-btn {
   position: relative;
   width: 40px;
   height: 40px;
   font-size: 16px;
   border: none;
   display: flex;
   justify-content: center;
   align-items: center;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
}

#floating-actions {
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin-bottom: 10px;
}

   #floating-actions button {
	   width: 40px;
	   height: 40px;
	   font-size: 16px;
	   border: none;
	   display: flex;
	   justify-content: center;
	   align-items: center;
	   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	   transition: all 0.3s ease;
   }

.floating-buttons button:hover {
   background-color: #0056b3;
}

#floating-actions button:hover {
   background-color: #5a6268;
}

.group-image-container {
   width: 60px;
   text-align: center;
}

.group-image-label {
   width: 100%;
   height: 60px;
   background-color: #f8f9fa;
   border: 1px dashed #ddd;
   border-radius: 5px;
   cursor: pointer;
   color: #6c757d;
   font-size: 14px;
   display: flex;
   justify-content: center;
   align-items: center;
}

#preview-image {
   max-width: 100%;
   height: auto;
   border: 1px solid #ddd;
   border-radius: 5px;
}

@media only screen and (max-width: 1024px) {
   .docModalBody {
	   height: 240px;
	   overflow-y: auto;
   }
}

@media only screen and (min-width: 1024px) {
   .docModalBody {
	   height: 100%;
	   overflow-y: auto;
   }
}

.ts-control.bg-dark input {
	color: #fafafa;
}

.ts-control {
   --tblr-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23929dab' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
   display: block;
   width: 100%;
   padding: 0.5625rem 2.25rem 0.5625rem 0.75rem;
   font-family: var(--tblr-font-sans-serif);
   font-size: 0.875rem;
   font-weight: 400;
   line-height: 1.4285714286;
   color: var(--tblr-body-color);
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   background-color: var(--tblr-bg-forms);
   background-image: var(--tblr-form-select-bg-img), var(--tblr-form-select-bg-icon, none);
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 16px 12px;
   border: var(--tblr-border-width) solid var(--tblr-border-color);
   border-radius: var(--tblr-border-radius);
   box-shadow: var(--tblr-box-shadow-input);
   transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.ts-dropdown {
   display: block;
   width: 100%;
   font-family: var(--tblr-font-sans-serif);
   font-size: 0.875rem;
   font-weight: 400;
   color: var(--tblr-body-color);
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   background-color: var(--tblr-bg-forms);
   background-image: var(--tblr-form-select-bg-img), var(--tblr-form-select-bg-icon, none);
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 16px 12px;
   border: var(--tblr-border-width) solid var(--tblr-border-color);
   border-radius: var(--tblr-border-radius);
   box-shadow: var(--tblr-box-shadow-input);
   transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body[data-bs-theme="light"] .ts-dropdown .active {
	background-color: #1967D2;
	color: #fcfdfe;
}

body[data-bs-theme="dark"] .ts-dropdown .active {
	background-color: #99C8FF;
	color: var(--tblr-bg-surface-dark);
}

.ts-control input::placeholder {
   color: var(--tblr-body-color);
}

.ts-control input {
	height: 15px;
}

.ts-control.bg-dark {
	background-color: #151F2C !important;
}

.ts-product .ts-dropdown, .ts-product-alt .ts-dropdown {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: .125rem;
	padding-right: .125rem;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
}

.ts-sm .ts-dropdown {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: .125rem;
	padding-right: .125rem;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
}

.ts-sm .ts-control {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: 6px;
	padding-right: 6px;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
}

.ts-product .ts-control {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: 6px;
	padding-right: 6px;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
	width: 440px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ts-product-100 .ts-control {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: 6px;
	padding-right: 6px;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ts-product-alt .ts-control {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: 6px;
	padding-right: 6px;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
	width: 320px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ts-control > input{
	min-width: 10rem;
}

.ts-sm .ts-control {
	padding-top: .125rem;
	padding-bottom: .125rem;
	padding-left: 6px;
	padding-right: 6px;
	font-size: .75rem;
	border-radius: var(--tblr-border-radius-sm);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ts-sm .ts-dropdown {
   width: 100%;
}

#table td {
	padding-top: 6px;
	padding-bottom: 6px;
}

#definitionModal th, #definitionModal td {
	padding: 2px !important;
}

.dock {
	z-index: 2	;
	width: auto;
	height: 60px;
	border-radius: 16px;
	display: flex;
	justify-content: center;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

	.dock .dock-container {
		padding: 3px;
		width: auto;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 16px;
		background: rgba(160, 160, 160, 0.18);
		backdrop-filter: blur(13px);
		-webkit-backdrop-filter: blur(13px);
		border: 1px solid rgba(255, 255, 255, 0.18);
		opacity: 0.3;
	}

	.dock .dock-container:hover {
		opacity: 1;
	}

		.dock .dock-container .a-bin {
			margin-left: 20px;
			border-left: 1.5px solid rgba(255, 255, 255, 0.4);
			padding: 0px 10px;
		}

		.dock .dock-container .a-1::after {
			position: absolute;
			width: 5px;
			height: 5px;
			border-radius: 50%;
			background: rgba(255, 255, 255, 0.5);
			content: "";
			bottom: 2px;
		}

		.dock .dock-container a {
			text-decoration: none;
			color: var(--tblr-font-weight-bold);
			display: flex;
			align-items: center;
			justify-content: center;
			width: 50px;
			height: 50px;
			vertical-align: bottom;
			transition: 0.2s;
			transform-origin: 50% 100%;
		}

			.dock .dock-container a:hover {
				margin: 0px 13px 0px 13px;
			}

			.dock .dock-container a .name {
				position: absolute;
				top: -70px;
				background: rgba(0, 0, 0, 0.5);
				color: rgba(255, 255, 255, 0.9);
				height: 10px;
				padding: 10px 15px;
				display: flex;
				align-items: center;
				justify-content: center;
				border-radius: 5px;
				visibility: hidden;
			}

				.dock .dock-container a .name::after {
					content: "";
					position: absolute;
					bottom: -10px;
					width: 0;
					height: 0;
					backdrop-filter: blur(13px);
					-webkit-backdrop-filter: blur(13px);
					border-left: 10px solid transparent;
					border-right: 10px solid transparent;
					border-top: 10px solid rgba(0, 0, 0, 0.5);
				}

			.dock .dock-container a .ico {
				width: 100%;
				height: 100%;
				object-fit: cover;
				transition: 0.2s;
				display: inline-block;
				transition: transform 0.3s ease;
			}

			.dock .dock-container a .ico-bin {
				width: 94% !important;
				height: 94% !important;
				object-fit: cover;
				transition: 0.2s;
			}

				.dock .dock-container a .ico-bin:hover {
					margin-left: 10px;
				}

[class^="a-"]:hover .name {
	visibility: visible !important;
}