/* start file: channelreportmailbox.css */
.vac_share_reports {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vac_share_report_table {
    flex: 0 0 38%;
    min-width: 0;
    overflow: visible;
}

.vac_share_mailbox {
    flex: 1 1 auto;
    min-width: 0;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #c8c7c7;
    border-radius: 5px;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border, #BCC9DF) transparent;
}

/* Channel rail — capped at three cards; --vac-share-rail-h is measured from the
   rendered cards by the template script. */
.vac_share_channels_scroll {
    max-height: var(--vac-share-rail-h, none);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border, #BCC9DF) transparent;
}

/* Chain "expand all" toggle (appendToggleAllButton in messageBox.js) — its wrapper
   ships inline padding/text-align only, so it is matched through the button. The
   wrapper collapses to a zero-height sticky overlay and the button shows on hover. */
.vac_share_mailbox .conversation-container > div:has(> #toggle-all-iframes-btn) {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 0;
    padding: 0 !important;
}

.vac_share_mailbox #toggle-all-iframes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 6px;
    border: 1.2px solid var(--color-border, #BCC9DF);
    border-radius: 50%;
    background: #fff;
    color: var(--color-text-subtle, #758199);
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s, background .15s, color .15s;
}

.vac_share_mailbox #toggle-all-iframes-btn:hover {
    background: var(--color-primary-soft, #E4E5FF);
    color: var(--color-primary, #6F61EA);
}

.vac_share_mailbox:hover #toggle-all-iframes-btn {
    opacity: 1;
}

/* Chain segments (generateMessageHtml in messageBox.js) ship their colours inline,
   so the new-design tints need !important to win. */
.vac_share_mailbox .message-chain-header {
    background-color: var(--color-primary-bg, #F0F3FD) !important;
    transition: background-color .15s;
}

.vac_share_mailbox .message-chain-header:hover {
    background-color: var(--color-primary-softer, #EAECFF) !important;
}

.vac_share_mailbox .message-chain-header .bi-arrow-up-right-circle-fill {
    color: var(--color-primary, #6F61EA) !important;
}

/* "No messages" notice (appendNoMessagesFound in messageBox.js) — classless div with
   inline padding; matched to the 48px grid header row. */
.vac_share_mailbox .conversation-container > div:not([class]):not(:has(> #toggle-all-iframes-btn)) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 !important;
}

.vac_share_empty {
    color: #6f61ea;
}
/* end file: channelreportmailbox.css */

/* start file: chosen.min.css */
/* Chosen v1.7.0 | (c) 2011-2017 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */

.chosen-container{
	position:relative;
	display:inline-block;
	vertical-align:middle;
	font-size:13px;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}
.chosen-container *{
	box-sizing:border-box
}
.chosen-container .chosen-drop{
	position:absolute;
	top:100%;
	z-index: 30;
	width:100%;
	border-top:0;
	background:#fff;
	box-shadow:0 10px 5px rgba(0,0,0,.15);
	clip:rect(0,0,0,0)
}
.chosen-container.chosen-with-drop .chosen-drop{
	clip:auto
}
.chosen-container a{
	cursor:pointer
}
.chosen-container .search-choice .group-name,.chosen-container .chosen-single .group-name{
	margin-right:4px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	font-weight:400;
	color:#999
}
.chosen-container .search-choice .group-name:after,.chosen-container .chosen-single .group-name:after{
	content:":";
	padding-left:2px;
	vertical-align:top
}
.chosen-container-single .chosen-single{
	position:relative;
	display:block;
	overflow:hidden;
	padding:0 0 0 8px;
	height:25px;
	border:1px solid #aaa;
	border-radius:5px;
	background-color:#fff;
	background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);
	background-clip:padding-box;
	box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);
	color:#444;
	text-decoration:none;
	white-space:nowrap;
	line-height:24px
}
.chosen-container-single .chosen-default{
	color:#999
}
.chosen-container-single .chosen-single span{
	display:block;
	overflow:hidden;
	margin-right:26px;
	text-overflow:ellipsis;
	white-space:nowrap
}
.chosen-container-single .chosen-single-with-deselect span{
	margin-right:38px
}
.chosen-container-single .chosen-single abbr{
	position:absolute;
	top:6px;
	right:26px;
	display:block;
	width:12px;
	height:12px;
	background:url(../../templates/images/chosen-sprite.png) -42px 1px no-repeat;
	font-size:1px
}
.chosen-container-single .chosen-single abbr:hover{
	background-position:-42px -10px
}
.chosen-container-single.chosen-disabled .chosen-single abbr:hover{
	background-position:-42px -10px
}
.chosen-container-single .chosen-single div{
	position:absolute;
	top:0;
	right:0;
	display:block;
	width:18px;
	height:100%
}
.chosen-container-single .chosen-single div b{
	display:block;
	width:100%;
	height:100%;
	background:url(../../templates/images/chosen-sprite.png) no-repeat 0 2px
}
.chosen-container-single .chosen-search{
	position:relative;
	z-index:10;
	margin:0;
	white-space:nowrap
}
/*.chosen-container-single .chosen-search input[type=text]{
	margin:1px 0;
	padding:4px 20px 4px 5px;
	width:100%;
	height:auto;
	outline:0;
	border:1px solid #aaa;
	background:url(../../templates/images/chosen-sprite.png) no-repeat 100% -20px;
	font-size:1em;
	line-height:normal;
	border-radius:0
}*/
.chosen-container-single .chosen-drop{
	/*margin-top:-1px;*/
	border-radius:10px;
}
.chosen-container-single.chosen-container-single-nosearch .chosen-search{
	position:absolute;
	clip:rect(0,0,0,0)
}
.chosen-container .chosen-results{
	color:#444;
	position:relative;
	overflow-y: scroll;
	max-height: 250px;
	-webkit-overflow-scrolling:touch
}
.chosen-container .chosen-results li{
	display:none;
	margin:0;
	padding:5px 6px;
	list-style:none;
	line-height:15px;
	word-wrap:break-word;
	-webkit-touch-callout:none
}
.chosen-container.chosen-container-multi .chosen-results li.result-selected,
.chosen-container .chosen-results li.active-result{
	display:list-item;
	cursor:pointer;
	padding: 2px 12px;
	width: 100%;
	height: 40px;
	clear: both;
	font-weight: normal;
	color: #555;
	line-height: 36px;
	background-image: none;
	background-color: #fff;
	white-space: nowrap;
}
.chosen-container .chosen-results li.active-result:last-child
{
	border-bottom: none !important;
}
.chosen-container.chosen-container-multi .chosen-results li.result-selected
{
	color:#ccc;
}
.chosen-container .chosen-results li.disabled-result{
	display:list-item;
	color:#ccc;
	cursor:default
}
.chosen-container .chosen-results li.highlighted{
	background-color:#3875d7;
	background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);
	color:#fff
}
.chosen-container .chosen-results li.no-results{
	color:#333;
	display:list-item;
	background-image: none;
	padding: 10px;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	border-radius: 0px;
	background-color: #FFF;
}
.chosen-container .chosen-results li.group-result{
	display:list-item;
	font-weight:700;
	cursor:default
}
.chosen-container .chosen-results li.group-option{
	padding-left:15px
}
.chosen-container .chosen-results li em{
	font-style:normal;
	text-decoration:underline
}
.chosen-container-multi .chosen-choices{
	position:relative;
	overflow:hidden;
	margin:0;
	/*padding:0 5px;*/
	width:100%;
	height:auto;
	border:1px solid #e4e4e4;
	background-color:#fff;
	background-image:linear-gradient(#eee 1%,#fff 15%);
	cursor:text
}
.chosen-container-multi .chosen-choices li{
	float:left;
	list-style:none
}
.chosen-container-multi .chosen-choices li.search-field{
	margin:0;
	padding:0;
	white-space:nowrap;
	border: none !important;
}
.chosen-container-multi .chosen-choices li.search-field input[type=text]{
	margin:1px 0;
	padding:0;
	height:25px;
	outline:0;
	border:0!important;
	background:transparent!important;
	box-shadow:none;
	font-size:100%;
	line-height:normal;
	border-radius:0;
	width:25px;
	color: var(--GRAY-Gray-500, #758199);
}
.chosen-container-multi .chosen-choices li.search-choice span{
	word-wrap:break-word
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
	position:absolute;
	top:4px;
	right:3px;
	display:block;
	width:12px;
	height:12px;
	background:url(../../templates/images/chosen-sprite.png) -42px 1px no-repeat;
	font-size:1px
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{
	background-position:-42px -10px
}
.chosen-container-multi .chosen-choices li.search-choice-disabled{
	padding-right:5px;
	border:1px solid #ccc;
	background-color:#e4e4e4;
	background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);
	color:#666
}
.chosen-container-multi .chosen-choices li.search-choice-focus{
	background:#d4d4d4
}
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{
	background-position:-42px -10px
}
.chosen-container-multi .chosen-results{
	margin:0;
	padding:0;
}
.chosen-container-multi .chosen-drop .result-selected{
	display:list-item;
	color:#ccc;
	cursor:default
}
.chosen-container-active .chosen-choices{
	border: 1px solid #00756A !important;
	outline: 0;
}
.chosen-container-active .chosen-single{
	border:1px solid #5897fb;
	box-shadow:0 0 5px rgba(0,0,0,.3)
}
.chosen-container-active.chosen-with-drop .chosen-single{
	border:1px solid #aaa;
	border-bottom-right-radius:0;
	border-bottom-left-radius:0;
	border: 1px solid #00756A !important;
	box-shadow:0 1px 0 #fff inset
}
.chosen-container-active.chosen-with-drop .chosen-single div{
	border-left:0;
	background:transparent
}
.chosen-container-active.chosen-with-drop .chosen-single div b{
	background-position:-18px 2px
}
.chosen-container-active .chosen-choices{
	border:1px solid #5897fb;
	box-shadow:0 0 5px rgba(0,0,0,.3)
}
.chosen-disabled{
	opacity:.5!important;
	cursor:default
}
.chosen-disabled .chosen-single{
	cursor:default
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close{
	cursor:default
}
.chosen-rtl{
	text-align:right
}
.chosen-rtl .chosen-single{
	overflow:visible;
	padding:0 8px 0 0
}
.chosen-rtl .chosen-single span{
	margin-right:0;
	margin-left:26px;
	direction:rtl
}
.chosen-rtl .chosen-single-with-deselect span{
	margin-left:38px
}
.chosen-rtl .chosen-single div{
	right:auto;
	left:3px
}
.chosen-rtl .chosen-single abbr{
	right:auto;
	left:26px
}
.chosen-rtl .chosen-choices li{
	float:right
}
.chosen-rtl .chosen-choices li.search-field input[type=text]{
	direction:rtl
}
.chosen-rtl .chosen-choices li.search-choice{
	margin:3px 5px 3px 0;
	padding:3px 5px 3px 19px
}
.chosen-rtl .chosen-choices li.search-choice .search-choice-close{
	right:auto;
	left:4px
}
.chosen-rtl.chosen-container-single .chosen-results{
	margin:0 0 4px 4px;
	padding:0 4px 0 0
}
.chosen-rtl .chosen-results li.group-option{
	padding-right:15px;
	padding-left:0
}
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{
	border-right:0
}
.chosen-rtl .chosen-search input[type=text]{
	padding:4px 5px 4px 20px;
	background:url(../../templates/images/chosen-sprite.png) no-repeat -30px -20px;
	direction:rtl
}
.chosen-rtl.chosen-container-single .chosen-single div b{
	background-position:6px 2px
}
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{
	background-position:-12px 2px
}

ul.chosen-results li
{
	padding: 2px;
	/* border-bottom: 1px solid #e4e4e4; */
}

/* end file: chosen.min.css */

/* start file: cookies.css */
.cookie-policy-frame {
	width: 100%;
	height: 100%;
	min-height: 55vh;
	border: 0;
	display: block;
}
/* end file: cookies.css */

/* start file: croppie.css */
.croppie-container {
    width: 100%;
    height: 100%;
}

.croppie-container .cr-image {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    max-height: none;
    max-width: none;
}

.croppie-container .cr-boundary {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.croppie-container .cr-viewport,
.croppie-container .cr-resizer {
    position: absolute;
    border: 2px solid var(--color-purple-900, #6251E3);
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.croppie-container .cr-resizer {
  z-index: 2;
  box-shadow: none;
  pointer-events: none;
}

.croppie-container .cr-resizer-vertical,
.croppie-container .cr-resizer-horisontal {
  position: absolute;
  pointer-events: all;
}

.croppie-container .cr-resizer-vertical::after,
.croppie-container .cr-resizer-horisontal::after {
    display: block;
    position: absolute;
    box-sizing: border-box;
    border: 1px solid black;
    background: #fff;
    width: 10px;
    height: 10px;
    content: '';
}

.croppie-container .cr-resizer-vertical {
  bottom: -5px;
  cursor: row-resize;
  width: 100%;
  height: 10px;
}

.croppie-container .cr-resizer-vertical::after {
    left: 50%;
    margin-left: -5px;
}

.croppie-container .cr-resizer-horisontal {
  right: -5px;
  cursor: col-resize;
  width: 10px;
  height: 100%;
}

.croppie-container .cr-resizer-horisontal::after {
    top: 50%;
    margin-top: -5px;
}

.croppie-container .cr-original-image {
    display: none;
}

.croppie-container .cr-vp-circle {
    border-radius: 50%;
}

.croppie-container .cr-overlay {
    z-index: 1;
    position: absolute;
    cursor: move;
    touch-action: none;
}

.croppie-container .cr-slider-wrap {
    width: 75%;
    margin: 15px auto;
    text-align: center;
}

.croppie-result {
    position: relative;
    overflow: hidden;
}

.croppie-result img {
    position: absolute;
}

.croppie-container .cr-image,
.croppie-container .cr-overlay,
.croppie-container .cr-viewport {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

/*************************************/
/***** STYLING RANGE INPUT ***********/
/*************************************/
/*http://brennaobrien.com/blog/2014/05/style-input-type-range-in-every-browser.html */
/*************************************/

.cr-slider {
    -webkit-appearance: none;
/*removes default webkit styles*/
	/*border: 1px solid white; *//*fix for FF unable to apply focus style bug */
    width: 300px;
/*required for proper track sizing in FF*/
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: transparent;
}

.cr-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 3px;
}

.cr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--color-purple-900, #6251E3);
    margin-top: -6px;
}

.cr-slider:focus {
    outline: none;
}
/*
.cr-slider:focus::-webkit-slider-runnable-track {
background: #ccc;
}
*/

.cr-slider::-moz-range-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 0;
    border-radius: 3px;
}

.cr-slider::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--color-purple-900, #6251E3);
    margin-top: -6px;
}

/*hide the outline behind the border*/
.cr-slider:-moz-focusring {
    outline: 1px solid white;
    outline-offset: -1px;
}

.cr-slider::-ms-track {
    width: 100%;
    height: 5px;
    background: transparent;
/*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
	border-color: transparent;/*leave room for the larger thumb to overflow with a transparent border */
	border-width: 6px 0;
	color: transparent;/*remove default tick marks*/
}
.cr-slider::-ms-fill-lower {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}
.cr-slider::-ms-fill-upper {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}
.cr-slider::-ms-thumb {
	border: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #ddd;
	margin-top:1px;
}
.cr-slider:focus::-ms-fill-lower {
	background: rgba(0, 0, 0, 0.5);
}
.cr-slider:focus::-ms-fill-upper {
	background: rgba(0, 0, 0, 0.5);
}
/*******************************************/

/***********************************/
/* Rotation Tools */
/***********************************/
.cr-rotate-controls {
	position: absolute;
	bottom: 5px;
	left: 5px;
	z-index: 1;
}
.cr-rotate-controls button {
	border: 0;
	background: none;
}
.cr-rotate-controls i:before {
	display: inline-block;
	font-style: normal;
	font-weight: 900;
	font-size: 22px;
}
.cr-rotate-l i:before {
	content: '↺';
}
.cr-rotate-r i:before {
	content: '↻';
}
/* New-design crop dialog (built by UploadManage.js prepareCropData) */
#imageCropModal {
    margin: auto;
    padding: 0;
    max-width: 92vw;
    border: none;
    border-radius: 16px;
    background: var(--color-gray-0, #fff);
    box-shadow: 0 24px 48px -12px rgba(20, 29, 45, 0.25);
    font-family: var(--font-body);
    color: var(--color-gray-900, #141D2D);
    overflow: hidden;
}
#imageCropModal::backdrop {
    background-color: rgba(20, 29, 45, 0.45);
}
#imageCropModal header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-gray-200, #D3DEEF);
}
#imageCropModal h2 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-gray-900, #141D2D);
}
#imageCropModal .modal-body {
    padding: 20px;
    background: var(--color-gray-50, #F6F8FC);
}
#imageCropModal footer {
    padding: 16px 20px !important;
    border-top: 1px solid var(--color-gray-200, #D3DEEF);
}
/* Space the Apply / Cancel buttons (footer keeps its inline text-align:right) */
#imageCropModal footer .btn + .btn {
    margin-left: 8px;
}
/* Cancel is hardcoded as .btn-primary in UploadManage.js — demote it to the
   design-system secondary look (soft purple) so Apply reads as the primary. */
#imageCropModal #cropImageCancelBtn {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}
#imageCropModal #cropImageCancelBtn:hover {
    background: var(--color-primary-softer);
}

/* end file: croppie.css */

/* start file: document_permissions.css */
/* ── Document Permissions page (task=documents) ──────────────────────
   Styles for the new-design override at design/html/document_permissions/.
   Hand-written CSS is bundled globally by design/update.php, so every
   selector here is scoped to this page's markup. */

/* Selected Documents — read-only list of the documents being edited.
   selecteditems.php renders bare <p class="uploadFileItem"> chips. */
#form-item-SELECTED_ITEMS > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#form-item-SELECTED_ITEMS .uploadFileItem {
	margin: 0;
	padding: 6px 12px;
	font-size: 13px;
	line-height: 18px;
	color: var(--color-primary-strong, #5B3FA8);
	background: var(--color-primary-softer, #F3F0FF);
	border: 1px solid var(--color-primary-soft, #E2DBFB);
	border-radius: 999px;
}

/* Document Category Permissions — read-only summary of the inherited
   category grant (a grid, or a "Deny All" note). */
.permission-category-summary {
	padding: 16px;
	background: var(--color-bg-soft, #F6F8FC);
	border: 1px solid var(--color-border-soft, #D3DEEF);
	border-radius: 12px;
}

.permission-category-summary > .control-label {
	display: block;
	margin-bottom: 10px;
}

.permission-category-summary table {
	margin-bottom: 0;
	background: var(--color-bg, #fff);
}

.permission-category-summary .permission-deny-all {
	color: var(--color-text-muted, #758199);
}

/* Custom permission tree (org → units/schedules/workers accordion). */
#form-item-PERSONS,
.permission-items {
	/* display: none; */
}

.permissions-accordion .card {
	margin-bottom: 8px;
	/* overflow: hidden; */
	background: var(--color-bg, #fff);
	border: 1px solid var(--color-border, #BCC9DF);
	border-radius: 12px;
	padding: 0;
}

.permissions-accordion .card-header {
	padding: 0;
	background: transparent;
	border: none;
}

.permissions-accordion .org-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 4px 12px;
}

.permissions-accordion .collapse-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 4px;
	text-align: left;
	text-decoration: none;
	font-weight: 500;
	color: var(--color-text, #2A3550);
	background: transparent;
	border: none;
	cursor: pointer;
}

.permissions-accordion .collapse-btn:disabled {
	color: var(--color-text-muted, #758199);
	cursor: default;
}

.permissions-accordion .collapse-caret {
	flex: none;
	font-size: 12px;
	color: var(--color-text-muted, #758199);
	transition: transform .2s ease;
}

/* New design ships no Bootstrap collapse plugin — drive the panel off the
   `.in` class (toggled by the template's click handler + init script). */
.permissions-accordion .collapse {
	display: none;
}

.permissions-accordion .collapse.in {
	display: block;
}

.permissions-accordion .card:has(.collapse.in) .collapse-caret {
	transform: rotate(180deg);
}

.permissions-accordion .accordion-card {
	margin: 0 12px 16px;
	border-radius: 10px;
}

/* ── Draw (გათამაშება) — confirmation summary ────────────────────────
   Last step of the draw flow (design/html/draw/tmpl/default_confirm.php).
   The `printastext` element renders the chosen workers as a read-only list
   of `<strong>N) name - name</strong>` rows separated by `<hr>`, inside a
   `.form-control.noheight`. Reskin that plain control into a soft card that
   matches the new-design edit pages. */
.draw-confirm .control-label {
	display: block;
	margin-bottom: 10px;
}

.draw-confirm .form-control.noheight {
	height: auto;
	min-height: 0;
	/* max-height: 420px; */
	overflow-y: auto;
	padding: 6px 16px;
	background: var(--color-bg-soft, #F6F8FC);
	border: 1px solid var(--color-border-soft, #D3DEEF);
	border-radius: 12px;
}

.draw-confirm .form-control.noheight strong {
	display: block;
	padding: 10px 2px;
	font-weight: 500;
	color: var(--color-text, #2A3550);
}

.draw-confirm .form-control.noheight hr {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--color-border-soft, #D3DEEF);
}

/* No trailing divider after the last worker. */
.draw-confirm .form-control.noheight hr:last-child {
	display: none;
}

/* Thin custom scrollbar to match the new-design dropdowns. */
.draw-confirm .form-control.noheight {
	scrollbar-width: thin;
	scrollbar-color: var(--color-border, #BCC9DF) transparent;
}
.draw-confirm .form-control.noheight::-webkit-scrollbar {
	width: 6px;
}
.draw-confirm .form-control.noheight::-webkit-scrollbar-track {
	background: transparent;
}
.draw-confirm .form-control.noheight::-webkit-scrollbar-thumb {
	background: var(--color-border, #BCC9DF);
	border-radius: 999px;
}

.dv-preview-outer .document-download-btn {
	right: 64px;
}
/* end file: document_permissions.css */

/* start file: filters.css */
/*
 * New-design filter utilities.
 *
 * Filter fields render as Bootstrap grid columns (col-md-4 col-lg-3 ...) inside
 * .filter-block, so each field takes an equal grid fraction (~25% on lg)
 * regardless of its control. The XML `width` attribute is NOT read by the filter
 * renderer, so to shrink a specific field you add `class="filter_col_narrow"` in
 * the XML filter node (the class lands on the column div) and this rule overrides
 * the column width. Used for short yes/no (state) filters that don't need the
 * full column. Two-class specificity beats the bootstrap col rules, no !important.
 */
@media (min-width: 768px) {
    .filter-block .filter_col_narrow {
        flex: 0 0 auto;
        width: 100px;
        max-width: 100px;
    }
}

.calendar_input_style .bfh-datepicker-toggle > input.form-control {
    padding-right: 2.5em;
}
/* end file: filters.css */

/* start file: gkiknadze.css */
.switch_grid_wrapper img
{
    display: inline;
}
/* end file: gkiknadze.css */

/* start file: gvantsa_distilled.css */
.accordeon-block {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.accordeon-header {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    gap: 12px;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.accordeon-header:hover {
    background-color: #f5f5f5;
}

.accordeon-header > p {
    margin: 0;
    flex-grow: 1;
    user-select: none;
}

.accordeon-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #999;
}

.accordeon-block.active .accordeon-icon {
    transform: rotate(180deg);
}

.accordeon-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    background-color: #fff;
}

.accordeon-content-wrapper {
    padding: 16px;
    border-top: 1px solid #ddd;
}

.accordeon-block.active .accordeon-body {
    max-height: 2000px;
    opacity: 1;
}

.accordeon-block.active {
    border-color: #bbb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
/* end file: gvantsa_distilled.css */

/* start file: hrgraph.css */
/*
    Created on : Sep 16, 2026, 4:24:03 PM
    Author     : z.kapanadze@self.ge
*/

.tk_chk_fix
{
	width:300px !important;

}

.slfstaff_item_with_img-suggestion
{
	zoom: 0.9;
}

.WorkerContainerNew .chosen_img,
.WorkerContainerNew .chosen_img img
{
	width: 24px !important;
	height: 24px !important;
	margin-top: 1%;
	margin-right: -1%;
}

.WorkerContainerNew .WorkertItem,
.WorkerContainerNew .WorkerItem_name
{
	margin: -1%;
	padding: 0%;
}

@media (max-width: 767.98px)
{
	.person_name_cell .person_name_photo_link,
	.slfstaff_item_with_img .chosen_img
	{
		display: none !important;
	}

	.tk_fix.tk_chk_fix
	{
		width: auto !important;
	}
}
/* end file: hrgraph.css */

/* start file: hrtablessum.css */
.table td .tabel_sign_wrap,
.table td .tabel_sign_wrap tbody,
.table td .tabel_sign_wrap tr,
.table td .tabel_sign_wrap td,
.table td .tabel_sign_table,
.table td .tabel_sign_table tbody,
.table td .tabel_sign_table tr,
.table td .tabel_sign_table td {
	all: revert !important;
	background: transparent !important;
	color: #000 !important;
	font-size: 13px !important;
	font-weight: normal !important;
	text-align: left !important;
}
.table td .tabel_sign_wrap {
	display: table !important;
	width: 100% !important;
	border-collapse: collapse !important;
	table-layout: fixed !important;
	margin: 0 !important;
}
.table td .tabel_sign_wrap > tbody > tr > td.tabel_sign_block {
	width: 50% !important;
	vertical-align: top !important;
	border: none !important;
	padding: 10px 30px 0 0 !important;
}
.table td .tabel_sign_wrap > tbody > tr > td.tabel_sign_block + td.tabel_sign_block {
	padding: 10px 0 0 30px !important;
}
.table td .tabel_sign_table {
	display: table !important;
	width: 100% !important;
	border-collapse: collapse !important;
	margin: 0 !important;
}
.table td .tabel_sign_table td {
	border: 1px solid #000 !important;
	padding: 8px 12px !important;
	vertical-align: bottom !important;
}
.table td .tabel_sign_table td.tabel_sign_header {
	height: 64px !important;
	line-height: 20px !important;
	font-weight: bold !important;
	font-size: 14px !important;
	white-space: normal !important;
}
.table td .tabel_sign_table td.tabel_sign_name,
.table td .tabel_sign_table td.tabel_sign_cell,
.table td .tabel_sign_table td.tabel_sign_date_cell {
	white-space: nowrap !important;
}
.table td .tabel_sign_table td.tabel_sign_cell {
	min-width: 120px !important;
}
.table td .tabel_sign_table td.tabel_sign_date_cell {
	min-width: 100px !important;
}
.tabel_signature {
	font-family: cursive;
	white-space: nowrap;
}
.tabel_signature_img {
	height: 40px !important;
	width: auto !important;
	vertical-align: bottom !important;
	border: none !important;
	background: transparent !important;
}
#exportable .tabel_sign_wrap tbody tr:nth-of-type(2n+1),
#exportable .tabel_sign_wrap tbody tr:nth-of-type(2n),
#exportable .tabel_sign_table tbody tr:nth-of-type(2n+1),
#exportable .tabel_sign_table tbody tr:nth-of-type(2n) {
	background: transparent !important;
}
#exportable tbody tr:nth-of-type(2n+1) > td.tabel_sign_row {
	background: #fff !important;
}
#exportable .tabel_sign_wrap > tbody > tr > td.tabel_sign_spacer {
	display: none !important;
	width: 0 !important;
	padding: 0 !important;
	border: none !important;
}
#exportable tbody tr.tabel_sign_row,
#exportable tbody tr.tabel_sign_row:nth-of-type(2n+1),
#exportable tbody tr.tabel_sign_row:nth-of-type(2n) {
	background: transparent !important;
}
#exportable tbody tr.tabel_sign_row > td {
	background: transparent !important;
	border: 1px solid #000 !important;
	padding: 8px 12px !important;
	text-align: center !important;
	vertical-align: bottom !important;
	color: #000 !important;
	font-size: 13px !important;
	font-weight: normal !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_spacer,
#exportable tbody tr.tabel_sign_row > td.tabel_sign_blank {
	border: none !important;
	padding: 0 !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_spacer {
	width: 30px !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_header {
	height: 64px !important;
	line-height: 20px !important;
	font-weight: bold !important;
	font-size: 14px !important;
	white-space: normal !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_name,
#exportable tbody tr.tabel_sign_row > td.tabel_sign_cell,
#exportable tbody tr.tabel_sign_row > td.tabel_sign_date_cell {
	white-space: nowrap !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_cell {
	min-width: 120px !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_date_cell {
	min-width: 100px !important;
}
#exportable tbody tr.tabel_sign_row > td.tabel_sign_lead,
#exportable tbody tr.tabel_sign_row > td.tabel_sign_trail {
	display: none !important;
}
.bill_table > tbody > tr > td[rowspan][colspan="4"] {
	width: 125px;
	white-space: normal;
}
/* end file: hrtablessum.css */

/* start file: jquery.floatingscroll copy.css */
.FloatingScrollbar
{
	width: 100%;
	overflow-x: scroll;
	position: relative;
}
.fl-scrolls {
	overflow: auto;
	position: fixed;
}

.fl-scrolls div {
	overflow: hidden;
	pointer-events: none;
}

.fl-scrolls div:before {
	content: "\A0";
}

.fl-scrolls,
.fl-scrolls div {
	font-size: 1px;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.fl-scrolls-hidden div:before {
	content: "\A0\A0";
}

.fl-scrolls-viewport {
	position: relative;
}

.fl-scrolls-body {
	overflow: auto;
}

.fl-scrolls-viewport .fl-scrolls {
	position: absolute;
}

.fl-scrolls-hoverable .fl-scrolls {
	opacity: 0;
	transition: opacity .5s .3s
}

.fl-scrolls-hoverable:hover .fl-scrolls {
	opacity: 1;
}

.fl-scrolls:not([data-orientation]),
.fl-scrolls[data-orientation=horizontal] {
	bottom: 0;
	min-height: 20px;
}

.fl-scrolls:not([data-orientation]) div,
.fl-scrolls[data-orientation=horizontal] div {
	height: 1px;
}

.fl-scrolls-hidden.fl-scrolls:not([data-orientation]),
.fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
	bottom: 9999px;
}

.fl-scrolls-viewport .fl-scrolls:not([data-orientation]),
.fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
	left: 0;
}

.fl-scrolls[data-orientation=vertical] {
	right: 0;
	min-width: 17px;
}

.fl-scrolls[data-orientation=vertical] div {
	width: 1px;
}

.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
	right: 9999px;
}

.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
	top: 0;
}


/* end file: jquery.floatingscroll copy.css */

/* start file: jquery.floatingscroll.css */
.FloatingScrollbar
{
	width: 100%;
	overflow-x: scroll;
	position: relative;
}
.fl-scrolls {
	overflow: auto;
	position: fixed;
}

.fl-scrolls div {
	overflow: hidden;
	pointer-events: none;
}

.fl-scrolls div:before {
	content: "\A0";
}

.fl-scrolls,
.fl-scrolls div {
	font-size: 1px;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.fl-scrolls-hidden div:before {
	content: "\A0\A0";
}

.fl-scrolls-viewport {
	position: relative;
}

.fl-scrolls-body {
	overflow: auto;
}

.fl-scrolls-viewport .fl-scrolls {
	position: absolute;
}

.fl-scrolls-hoverable .fl-scrolls {
	opacity: 0;
	transition: opacity .5s .3s
}

.fl-scrolls-hoverable:hover .fl-scrolls {
	opacity: 1;
}

.fl-scrolls:not([data-orientation]),
.fl-scrolls[data-orientation=horizontal] {
	bottom: 0;
	min-height: 20px;
}

.fl-scrolls:not([data-orientation]) div,
.fl-scrolls[data-orientation=horizontal] div {
	height: 1px;
}

.fl-scrolls-hidden.fl-scrolls:not([data-orientation]),
.fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
	bottom: 9999px;
}

.fl-scrolls-viewport .fl-scrolls:not([data-orientation]),
.fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
	left: 0;
}

.fl-scrolls[data-orientation=vertical] {
	right: 0;
	min-width: 17px;
}

.fl-scrolls[data-orientation=vertical] div {
	width: 1px;
}

.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
	right: 9999px;
}

.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
	top: 0;
}


/* end file: jquery.floatingscroll.css */

/* start file: jquery.geokbd.css */
.gk-switcher .gk-us,
.gk-switcher.gk-on .gk-ka
{
	display: block;
}
.gk-switcher .gk-ka,
.gk-switcher.gk-on .gk-us
{
	display: none;
}
.gk-ka,
.gk-us {
	height: 34px;
	width: 34px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	z-index: 5757;
}
.gk-ka {
	background-image: url(../../../design/images/newDesign/georgia1.png);
}
.gk-us {
	background-image: url(../../../design/images/newDesign/usa.png);
}
.gk-switcher
{
	padding: 2px 0 0 3px;
	position: relative;
	display: block;
	z-index: 5;
}
span.geokbd-switcher
{
	display: none;
	width: 38px;
    height: 38px;
    right: 4px;
    bottom: 1px;
    top: auto;
}
/* o_worker: wrapper keeps the switcher anchored to the input, not the taller table cell */
.o-worker-comment
{
	position: relative;
}
.o-worker-comment span.geokbd-switcher
{
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}
span.geokbd-switcher:hover
{
	background-color: #f1f5f6;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
/* end file: jquery.geokbd.css */

/* start file: lity.css */
/*! Lity - v2.4.1 - 2020-04-26
* http://sorgalla.com/lity/
* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */
.lity {
	z-index: 999999990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	white-space: nowrap;
	background: #0b0b0b;
	/* Old design backdrop */
	/* background: rgba(19, 19, 19, 0.5); */
	background: rgba(20, 21, 44, 0.40);
	outline: none !important;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
.lity.lity-opened {
	opacity: 1;
}
.lity.lity-closed {
	opacity: 0;
}
.lity * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.lity-wrap {
	z-index: 9990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	outline: none !important;
}
.lity-wrap:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}
.lity-loader {
	z-index: 9991;
	color: #fff;
	position: absolute;
	top: 50%;
	margin-top: -0.8em;
	width: 100%;
	text-align: center;
	font-size: 14px;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
	opacity: 1;
}
.lity-container {
	z-index: 9992;
	position: absolute;
	text-align: left;
	vertical-align: middle;
	display: inline-block;
	white-space: normal;
	max-width: 100%;
	max-height: 100%;
	outline: none !important;
	bottom: 0;
	right: 0;
}
.lity-content {
	z-index: 9993;
	width: 100%;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform 0.3s ease;
	transition: -webkit-transform 0.3s ease;
	-o-transition: -o-transform 0.3s ease;
	transition: transform 0.3s ease;
	transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
	height: 100%;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}
.lity-content:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	display: block;
	right: 0;
	width: auto;
	height: auto;
	z-index: -1;
	/*  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);*/
}
.lity-close {
	display: absolute;
	z-index: 9994;
	width: 23px;
	height: 35px;
	position: absolute;
	right: 23px !important;
	top: -3px !important;
	-webkit-appearance: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	padding: 0;
	color: #c4c4c4;
	font-size: 33px;
	line-height: 35px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	border: 0;
	background: none;
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-weight: normal;
}

.lity-close::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
	text-decoration: none;
	text-align: center;
	padding: 0;
	color: #b6b6b6;
	font-style: normal;
	line-height: 35px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	border: 0;
	background: none;
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.lity-close:active {
	top: 1px;
}
/* Image */
.lity-image img {
	max-width: 100%;
	display: block;
	line-height: 0;
	border: 0;
}
/* iFrame */
.lity-iframe .lity-container, .lity-youtube .lity-container, .lity-vimeo .lity-container, .lity-facebookvideo .lity-container, .lity-googlemaps .lity-container {
	width: 100%;
	max-width: 100%;
	height: calc(100% - 85px);
	border-radius: 40px 40px 0 0;
}
.lity-iframe-container {
	width: 100%;
	height: 100%;
	pointer-events: auto;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-overflow-scrolling: touch;
}
.lity-iframe-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -0.5em 0 0 -0.5em;
	font-size: 44px;
	z-index: 1;
}
.lity-active,
.lity-active body {
	overflow: hidden;
}

.lity-iframe-container iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: #fff;

	/* border-radius: 40px 40px 0 0; */
    border: 1px solid var(--GRAY-Gray-300, #BCC9DF);
    background: #FFF;
    box-shadow: 0 4px 54px 0 rgba(46, 53, 75, 0.07);
    padding-top: 25px;
}

.lity-iframe-container  html{
	scrollbar-width: thin;                /* Firefox */
    scrollbar-color: #BCC9DF transparent; /* Firefox: thumb track */
}

.lity-iframe-container iframe::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.lity-iframe-container iframe::-webkit-scrollbar-track {
    background: transparent;
}

.lity-iframe-container iframe::-webkit-scrollbar-thumb {
    background-color: #BCC9DF;
    border-radius: 8px;
}

.lity-hide {
	display: none;
}


/* Side panel overrides */
.lity-from-side {
	background: transparent;
}

.lity-from-side .lity-wrap {
	text-align: left;
}

.lity-from-side .lity-wrap:before {
	display: none;
}

.lity-from-side .lity-container {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: 40vw;       /* adjust to your needs */
	min-width: 500px;
	max-width: 90vw;
	max-height: 100%;
	height: 100%;
	vertical-align: top;
	display: block;
	-webkit-animation: litySlideIn 0.3s ease;
	animation: litySlideIn 0.3s ease;
}

.lity-from-side.lity-closed .lity-container {
	-webkit-animation: litySlideOut 0.3s ease;
	animation: litySlideOut 0.3s ease;
}

.lity-from-side .lity-content {
	height: 100%;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}

.lity-from-side.lity-loading .lity-content,
.lity-from-side.lity-closed .lity-content {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}

.lity-from-side .lity-iframe .lity-container,
.lity-from-side .lity-youtube .lity-container,
.lity-from-side .lity-vimeo .lity-container {
	width: 100%;
	max-width: 100%;
	height: 100%;
}

.lity-from-side .lity-iframe-container {
	height: 100%;
}

.lity-from-side .lity-close {
	right: 10px !important;
	top: 10px !important;
}

.lity-active, .lity-active body:has(.lity-from-side) {
	overflow: revert;
}

@-webkit-keyframes litySlideIn {
	from { -webkit-transform: translateX(100%); transform: translateX(100%); }
	to   { -webkit-transform: translateX(0);    transform: translateX(0); }
}
@keyframes litySlideIn {
	from { transform: translateX(100%); }
	to   { transform: translateX(0); }
}

@-webkit-keyframes litySlideOut {
	from { -webkit-transform: translateX(0);    transform: translateX(0); }
	to   { -webkit-transform: translateX(100%); transform: translateX(100%); }
}
@keyframes litySlideOut {
	from { transform: translateX(0); }
	to   { transform: translateX(100%); }
}

@media (max-width: 767px) {
	.lity-from-side .lity-container {
		width: 90vw;
		overflow: hidden;
	}
}

/* end file: lity.css */

/* start file: manuals.css */
/* Manual side panel */
#main-wrapper {
	transition: padding-right 0.3s ease;
}

body.manual-panel-open #main-wrapper {
	padding-right: 40vw;
}

#manual-side-panel.manual-panel-open {
	transform: translateX(0);
}

#manual-panel-frame {
	width: 100%;
	height: 100%;
	border: none;
}

body.manual-panel-open #main-wrapper {
	padding-right: var(--panel-width, 41vw);
}

/* Thin scrollbar for the manual page (shown inside #manual-panel-frame iframe) */
#manual-side-panel html {
    scrollbar-width: thin;                /* Firefox */
    scrollbar-color: #BCC9DF transparent; /* Firefox: thumb track */
}

#manual-side-panel html::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#manual-side-panel html::-webkit-scrollbar-track {
    background: transparent;
}

#manual-side-panel html::-webkit-scrollbar-thumb {
    background-color: #BCC9DF;
    border-radius: 8px;
}

#manual-side-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--panel-width, 40vw);
	min-width: 420px;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	background: #fff;
	border-left:1px solid var(--GRAY-Gray-300, #BCC9DF);
	z-index: 10000000;
	display: flex;
}

#manual-side-panel .page_title{
	margin-bottom: 0;
}

.manual_container{
    color: var(--Gray, #222A39) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 21px !important; /* 150% */
}

#manual-side-panel.manual-panel-open {
	transform: translateX(0);
}

#manual-resize-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: ew-resize;
    z-index: 20;
    transition: background 0.2s ease;
}

/* 👇 hover highlight */
#manual-resize-handle:hover {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.05)
		);
}

.manual-panel-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
}

.manual-panel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
    padding: 8px 15px 0;
}

.manual-panel-header .page_title {
    margin-top: 0;
	margin-bottom: 0;
	min-height: unset;
}


.manual-panel-controls .bi {
    font-size: 16px;
}

/* Custom new-design tooltip for the panel control buttons.
   CSS-only (the .popper-tooltip JS lives in the parent doc, not this iframe);
   reuses the existing data-popper-tooltip attribute. Placed below the button
   so it isn't clipped by the panel's top edge. */
.manual-panel-controls .btn[data-popper-tooltip] {
    position: relative;
}

.manual-panel-controls .btn[data-popper-tooltip]::after {
    content: attr(data-popper-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #49477a;
    color: #fff;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2147483647;
}

.manual-panel-controls .btn[data-popper-tooltip]::before {
    content: "";
    position: absolute;
    top: calc(100% + 3px);
    right: 12px;
    width: 10px;
    height: 10px;
    background: #49477a;
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2147483647;
}

.manual-panel-controls .btn[data-popper-tooltip]:hover::after,
.manual-panel-controls .btn[data-popper-tooltip]:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.manual-panel-controls .btn[data-popper-tooltip]:hover::before,
.manual-panel-controls .btn[data-popper-tooltip]:focus-visible::before {
    opacity: 1;
}

#manual-side-panel.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    z-index: 9999;
}

.content_wrapper_modal .manual-panel-controls{
	display: flex !important;
}

.viewer-button{
	/*	top: -5px;*/
	top: -10px;
	right: 5px;
	width: 50px;
	height: 50px;
	background-color: #141D2D !important;
}

.viewer-button:hover{
	background-color:#243147 !important;
}


@media (max-width: 767px) {
	body.manual-panel-open #main-wrapper {
		padding-right: 90vw;
	}

	#manual-side-panel {
		width: 90vw;
		min-width: unset;
	}
}

/* New-design reset zeroes out list markers globally (ul, ol { list-style: none }).
   Restore them for manual content so bullets/numbers show like the old design. */
.manual_container ul {
    list-style: disc;
}

.manual_container ol {
    list-style: decimal;
}
/* end file: manuals.css */

/* start file: messageBox.css */
/* =====================================================================
   Message box (z__messagebox.php) + inbox page – new design
   ---------------------------------------------------------------------
   Ported from templates/css/src/messageBox.css. The inbox page still
   serves the old template (components/inbox/tmpl), so its layout styles
   are kept faithful; only the floating #message-box compose modal and its
   action buttons are retuned to the new-design primary token
   (var(--color-primary, #6F61EA)) instead of the old #007bff blue.
   ===================================================================== */
.page_container{
	border-radius: 10px;
}

/* The inbox fills its wrapper edge-to-edge (its own tabs/dashboard already
   carry the rounded corners), so drop the card's 24px padding and match its
   radius only when the inbox is what's rendered inside it. */
.page-container.card:has(.inbox_page_container) {
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
}

#communication-tabs {
	position: relative;
	background-color: #dbd2e8;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	overflow: hidden;
	height: 60px;
}

.tab-button {
	padding: 20px 30px;
	transition: all 0.2s;
	border: none;
	font-weight: normal;
	font-size: 14px;
	cursor: pointer;
	/* margin: 0; */
}

.tab-button.active {
	background-color: white;
	color: #4f0f74;

}

.tab-button.inactive {
	color: #515966;
	padding: 20px 30px;
	background: none;
}

.tab-button.inactive:hover {
	background-color: #d1c7df;
}

.toggle-button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	font-weight: normal;
}

.toggle-button:hover {
	color: #3e4b86;
	text-decoration: underline;
}

.toggle-button.active {
	color: #3e4b86;
}

/* ── Inbox filter panel ──────────────────────────────────────────────
   Shown/hidden by toggling .d-none (toggleFilterBox); all layout is here. */
#filter-box {
	margin-bottom: 12px;
	padding: 4px 16px 16px;
	background: var(--color-bg-soft, #f7f7fb);
	border: 1px solid var(--color-gray-200, #e7e7f0);
}

/* The new-design bundle doesn't ship Bootstrap's .d-none utility, so the
   toggle (toggleFilterBox flips this class) needs it defined to hide the
   panel — this also keeps it collapsed on initial load. */
#filter-box.d-none {
	display: none !important;
}

/* inputs row — let the 5 columns share the width evenly (col-md-2 alone
   only fills ~83%) and wrap on narrow screens. */
#filter-box .row {
	align-items: flex-end;
}

#filter-box .row > [class*="col-"] {
	flex: 1 1 150px;
	max-width: none;
}

#filter-box .form-control {
	height: 40px;
	border-radius: 8px;
	border: 1px solid var(--color-gray-300, #d8d8e2);
	font-size: 14px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

#filter-box .form-control::placeholder {
	color: var(--color-gray-500, #9aa0ac);
}

#filter-box .form-control:focus {
	outline: none;
	border-color: var(--color-primary, #6F61EA);
	box-shadow: 0 0 0 3px var(--color-primary-soft, #E4E5FF);
}

/* "has file" checkbox cell */
#filter-box .form-check-input {
	width: 20px;
	height: 20px;
	margin: 0 0 6px;
	border: 1px solid var(--color-gray-400, #c4c4d0);
	border-radius: 6px;
	cursor: pointer;
}

#filter-box .form-check-input:checked {
	background-color: var(--color-primary, #6F61EA);
	border-color: var(--color-primary, #6F61EA);
}

#filter-box .form-check-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px var(--color-primary-soft, #E4E5FF);
}

#filter-box .form-check-label {
	font-size: 13px;
	color: var(--color-text-soft, #5b5b6b);
	cursor: pointer;
}

/* action buttons */
.filter-box-btns {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 16px;
}

#message-list-container {
	overflow-y: auto;
	padding: 10px;
}

#message-detail-container{
	height: 100%;
	padding-left: 0;
	padding-right: 0;
}

.message-detail-header{
	width: 100%;
	/* background-color: #f4f4f4; */
	background-color: #f2eef9;
	padding: 5px 10px;
	border: none;
	border-radius: 0;
}

.message-item {
	cursor: pointer;
	padding: 12px 16px;
	/* border: 1px solid #ebebeb; */
	border-top: 1px solid #ebebeb;
}

.message-item.selected {
	background-color: #e9dcfd;
	border-left: 4px solid #7850bd;
}

.message-item div,
.message-item span {
	font-weight: normal;
}

.message-item:hover {
	background-color: #e8e1f781;
}

.message-item.selected:hover {
	background-color: #e9dcfd;
	border-left: 4px solid #7850bd;
}

/* Unread message style */
.message-item.unread {
	font-weight: bold;
	color: #1a202c; /* Dark text for unread messages */
}

.message-item.unread div,
.message-item.unread span {
	font-weight: inherit; /* Inherit bold from the parent */
	color: inherit; /* Inherit color from the parent */
}

#messages-wrapper{
    padding-right: 3px;
}

/* Message content styling */
.message-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.message-content span {
	font-size: 14px;
}

.message-title {
	font-size: 14px;
	display: flex;
    align-items: center;
    justify-content: space-between;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.message-sender{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


.applicant p{
    margin: 0;
}

.message-detail-header h3{
    margin-top: 0;
	font-size: 18px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 50%;
	padding-bottom: 6px;
}



.message-detail-header p, .applicant p:nth-child(4){
    color: rgb(132, 131, 131);
    margin:0
}

.message-detail p:nth-child(4){
    margin-top: 15px;
}

.message-date{
    color: rgb(138, 136, 136);
}

.applicant-card-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.applicant-card {
	border: 1px solid #eaeaea;
	padding: 8px 12px;
	border-radius: 8px;
	background-color: #fafafa;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* ✅ Box shadow added */
	transition: box-shadow 0.3s ease;
}

.applicant-card p {
	margin: 4px 0;
	font-size: 13px;
	font-weight: normal;
}

#image-container {
	display: flex;
	align-items: center;
	justify-content: center;
	height:100%;
}

#image-container img {
	width: 350px;
	border-radius: 50%;
}

#cancel-message {
	position: absolute;
	right: 15px;
	z-index: 1000;
	padding: 5px inherit;
	border-radius: 4px;
	border: none;
	width: 40px;
	height: 40px;
	background: #c198c1;
}

#cancel-message:hover{
	background: #a37da3;
}

#cancel-message i {
	font-size: 28px;
}

#cancel-message i:hover {
	color: #fff;
}

.email-author-container{
	display: flex;
	align-items: center;
	gap: 8px;
}

.email-author-container i{
	font-size: 16px;
	font-weight: bold;
}

.reply-message-chain-button{
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.reply-button {
	margin-top: 10px;
	padding: 8px 18px;
	background-color: #bcbcf7;
	color: var(--color-gray-800);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	font-weight: normal;
	float: right;
}

.reply-button:not(:disabled):hover {
	background-color: #b0b0f7;
}

.reply-button i {
	font-size: 18px;
}

.reply-button:disabled
{
	pointer-events: none;
	background-color: #ccc;
	cursor: default;
}

.reply-message-chain-button{
	padding: 5px;
	background-color: #78a2ce;
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.reply-message-chain-button:hover{
	background-color: #4474a7;
}

.reply-message-chain-button i {
	font-size: 16px;
}

#message-box {
	position: fixed;
	bottom: 1px;
	right: 40px;
	width: 530px; /* Slightly wider */
	min-height: 560px;
	background: #fff;
	/* padding: 20px; */
	border: 1px solid var(--color-gray-200, #ebebeb);
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	display: none;
	z-index: 9999;
}

.inbox_actions_bar_btn
{
	display: flex;
	align-items: center;
	gap: 5px;
	position: absolute;
	padding:10px;
	background: none;
	border: none;
	color:#4d4c4c;
	background: #dfdddd;
	border-radius: 4px;
}

.inbox_actions_bar_btn:hover
{
	background: #c9c7c7;
	color:#043569;
}

#deleteMessageBtn
{
	right: 315px;
}

#detail-messages-chain-btn
{
	right: 80px;
}

#detail-messages-chain-btn:hover{
	background: #c9c7c7;
}

#detail-messages-chain-btn i, #detail-messages-chain-btn span {
	font-size: 13px;
}

#detail-messages-chain-btn:hover{
	color:#043569;
}

/* Header for the reply box */
#message-box .message-box-header {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	/* margin-bottom: 10px; */
	padding:10px 20px;
	padding-top: 20px;
}

/* Input fields styling */
#message-box input[type="text"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 12px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #f9f9f9;
}

#message-box input[type="text"]:focus, #reply-text:focus {
	outline: none;
	border-color: var(--color-primary, #6F61EA);
	background-color: #ffffff;
}

.mailbox_textarea:focus
{
	outline: none;
	border-color: var(--color-primary, #6F61EA);
	background-color: #ffffff;
}

/* Textarea styling */
#reply-text {
	width: 100%;
	padding: 12px;
	margin-bottom: 12px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background-color: #f9f9f9;
	resize: none;
	min-height: 220px;
}
.mailbox_textarea
{
	width: 100%;
	padding: 12px;
	margin-bottom: 12px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background-color: #f9f9f9;
	resize: none;
	min-height: 220px;
}
/* Send button uses the new-design .btn .btn-primary component (markup);
   only the extra horizontal padding is added here to keep it comfortable. */
#send-message-btn {
	padding-left: 40px;
	padding-right: 40px;
}

/* Add a close button to exit the reply box (Optional) */
#close-reply-box {
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
	color: #888;
	font-size: 18px;
	font-weight: bold;
}

#close-reply-box i {
	font-size: 24px;
}

#close-reply-box:hover {
	color: #333;
}

.action-btns-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 10px;
	padding-bottom: 20px;
}

/* Cancel button uses the new-design .btn .btn-secondary component (markup). */

.disabled-button {
	opacity: 0.5;
	pointer-events: none;
}

.new-message-container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 10px;
	margin-top: 14px;
	margin-bottom: 14px;
}


.get-messages-btn:hover{
	background-color: #bcbcf7;
}

.get-messages-btn i {
    font-size: 16px;
	margin-right: 5px;
}

.get-messages-btn{
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #cecef8;
    padding: 10px 12px;
    border:none;
    border-radius: 4px;
    color:var(--color-gray-800);
}

#to-field,
#sms-to-field
{
	margin-bottom: 12px;
	cursor: default;
	max-height: 43px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.required-star i{
	color: red;
	font-size: 8px;
}

.readonly-field {
	background-color: #f0f0f0;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.subject-text {
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1; /* take remaining width */
}

.attachment-icon {
	flex-shrink: 0; /* don't shrink */
	margin-left: 8px;
	font-size: 13px;
}

.no-messages{
    margin-left: 10px;
}

#toggle-filter-btn{
    display: flex;
    align-items: center;
    gap: 5px;
	display: flex;
	align-items: center;
	float: right;
	transform: translateY(16px);
	margin-right: 10px;

}

#toggle-filter-btn .bi-filter-square{
	display: none;
}

.new-message-btn i{
    color: white;
    font-size: 20px;
}

.new-message-btn:hover{
    background-color: #0662c5;
}

.go-back-btn{
    background: none;
    border: none;
    color: #007bff;
}

#dashboard {
	height: 670px;
	overflow: hidden;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

/* The inbox template (old-design fallback) uses Bootstrap-3 float columns,
   but the new-design bundle ships Bootstrap-5 flex columns — `.col-*` only
   lay out side by side inside a `display:flex .row`, and the template's
   wrappers (`.dashboard-row`, `#message-detail-container`) are NOT `.row`s.
   Without this the columns stack vertically and the message detail renders
   below the clipped `#dashboard` (height:670px; overflow:hidden) — i.e. a
   clicked message "doesn't open". Restore the side-by-side layout here. */
.dashboard-row {
	height: 100%;
	display: flex;
	flex-wrap: wrap;
}

/* Detail (col-md-8) + applicants (col-md-4) share the row under the
   full-width header; floats keep the header full width (a flex parent would
   shrink it to content). */
#message-detail-section,
#applicants-section {
	float: left;
}

#message-detail-container::after {
	content: "";
	display: table;
	clear: both;
}

.dashboard-section {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding-left: 0;
	padding-right: 0;
}

.section-inner {
	flex: 1;
	border-right: 1px solid #ddd;
	overflow-y: auto;
	box-sizing: border-box;
	background-color: #fff; /* optional for better look */
}

.inner-message-detail-wrapper, .inner-applicants-wrapper{
	padding: 10px;
}

/* Entire scrollbar */
/* ::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
} */

#message-list-wrapper::-webkit-scrollbar, .inner-message-detail-wrapper::-webkit-scrollbar, .inner-applicants-wrapper::-webkit-scrollbar {
	width: 4px;
}

#message-list-wrapper::-webkit-scrollbar-track, .inner-message-detail-wrapper::-webkit-scrollbar-track, .inner-applicants-wrapper::-webkit-scrollbar-track {
	background: #e0e0e0;
}

#message-list-wrapper::-webkit-scrollbar-thumb, .inner-message-detail-wrapper::-webkit-scrollbar-thumb, .inner-applicants-wrapper::-webkit-scrollbar-thumb {
	background: #9c9c9c;
	border-radius: 50px;
}

#message-list-wrapper::-webkit-scrollbar-thumb:hover, .inner-message-detail-wrapper::-webkit-scrollbar-thumb:hover, .inner-applicants-wrapper::-webkit-scrollbar-thumb:hover  {
	background: #555;
}

#custom-confirm {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
}

.confirm-content {
	background: white;
	padding: 30px 60px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
	position:relative;
	margin-left:10px;
	margin-right: 10px;
}

.confirm-content p {
	margin-bottom: 30px;
	font-size: 18px;
}

.confirm-content button {
	margin: 0 10px;
	padding: 8px 16px;
	cursor: pointer;
	border:none !important;
	border-radius: 5px;
	font-size: 16px;
}

#confirm-ok{
	background-color: var(--color-primary, #6F61EA);
	color: white;
}

#confirm-ok:hover{
	background-color: var(--color-primary-hover, #6251E3);
}

#close-confirm-modal{
	position: absolute;
	right: -7px;
	top:2px;
	cursor:pointer;
	border:none;
	background: none;
	margin:0;
}

#close-confirm-modal i {
	font-size: 30px;
	color: #a1a3a3
}

#close-confirm-modal i:hover{
	color:#565858
}

#filter-text{
	font-weight: normal;
	font-size: 13px;
}

.inbox-attachments-section{
	border-bottom: 1px solid #dbd5d5;
}

.inbox-noApplication-label{
	margin-top: 5px;
}

.inbox-attachments-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 1rem;
}

.inbox-attachment-card {
	display: flex;
	align-items: center;
	padding: 10px 14px;
    border: 1px solid #eaeaea;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s;
	max-width: 270px;
	min-width: 270px;
	background-color: #f9f9f9;
	gap: 10px;
	box-sizing: border-box;
}

.inbox-attachment-card:hover {
	background-color: #eef5ff;
}

.file-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.file-name {
	display: flex;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}

.file-base {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex-shrink: 1;
	max-width: 100%;
}

.file-ext {
	flex-shrink: 0;
	margin-left: 2px;
}

.inbox-attachment-label{
	font-size: 16px;
	font-weight: normal;
}

.message-chain-attachments{
	display: none;
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid #ebebeb;
}

.message-chain-header p{
	margin: 0;
}

.mail-lead-text {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: normal;
	font-size: 14px;
}

/* Mobile devices: max-width 767px */
@media (max-width: 767px) {
	#filter-box {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}
	#filter-box div {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	#filter-box .row{
		flex-direction: column;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}

	#image-container, #cancel-message {
		display: none !important;
	}

	#toggle-filter-btn{
		position: absolute;
		z-index: 10;
		top: 20px;
		right: 20px;
		transform: none;
	}

	#toggle-filter-btn .bi-filter-square{
        display: block;
		font-size: 20px;
	}

	#toggle-filter-btn #filter-icon, #toggle-filter-btn #filter-text{
		display: none;
	}

	.message-detail-header{
		background-color: white;
	}

	#detail-messages-chain-btn{
		top:5px;
		right:5px;
	}

}

.message-chain-header{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 12px;
	border-radius: 5px;
	position: relative;
}

.message-chain-header:hover{
	background-color: #ece5f7 !important;
}

#toggle-all-iframes-btn{
	cursor: pointer;
	background: none;
	border:none;
	border-radius: 50%;
	padding: 10px;
	width: 40px;
	height: 40px;
}

#toggle-all-iframes-btn:hover{
	background-color: #f0f0f0;
}

#messageTemplateSelect_chosen{
	margin-bottom: 10px;
}

#messageTemplateSelect_chosen .chosen-single, #applicants-wrapper .chosen-single{
	border-radius: 4px !important;
}

#messageTemplateSelect_chosen .chosen-single:focus, #applicants-wrapper .chosen-single:focus {
	border: 1px solid #3877bbd7 !important;
	outline: none !important;
}

.message-box-info-contianer{
	max-height: 570px;
	overflow-y: auto;
	padding: 20px;
	padding-bottom: 0px;
	padding-top: 0px;
}

.mailbox_upload_wrapper input[type="file"]
{
	display: none;
}

.mailbox_textarea_wrapper .tox-tinymce
{
	border: none !important;
}

.mailbox_textarea_wrapper
{
	background-color: white;
	border: 1px solid #ccc;
	border-radius: 10px;
	position: relative;
}

.mailbox_upload_wrapper
{
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	min-height: 40px;
	padding: 5px 10px;
	height: 100%;
}

.mailbox_upload_btn
{
	margin: 0 !important;
	padding: 0 !important;
	width: 30px;
	height: 30px;
	transition: background-color .1s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 3px;
	flex-shrink: 0;
	/*padding: ;*/
}

.mailbox_upload_btn:hover
{
	background-color: #dee0e2;
}

.mailbox_upload_btn i
{
	font-size: 20px;
	line-height: 1;
}

.mailbox_upload_file_list
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	flex-grow: 1;
	align-items: center;
	gap: 4px;
	min-height: 100%;
	align-self: stretch;
}

.mailbox_upload_file_list_element
{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 20px;
	background-color: #f0f0f0;
	padding: 2px 5px;
	max-width: 200px;
	overflow: hidden;
	gap: 5px;
	border-radius: 2px;
	order: 0;
}

.mailbox_upload_file_list_element_inner
{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	height: 100%;
	flex-grow: 1;
	overflow: hidden;
}

.mailbox_upload_file_list_element_label
{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.mailbox_upload_file_list_element_progress
{
	width: 70px;
	min-width: 70px;
	border: 1px solid #ccc;
	padding: 1px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	height: 100%;
}

.mailbox_upload_file_list_element_progress_bar
{
	height: 100%;
	width: 1%;
	background-color: var(--color-primary, #6F61EA);
	transition: all .1s ease;
}

.mailbox_upload_file_list_element-upload_done
{
	order: 1;
}

.mailbox_upload_file_list_element-upload_error {
	order: 2;
}

.mailbox_upload_file_list_element-upload_done .mailbox_upload_file_list_element_progress
{
	display: none;
}

.mailbox_upload_file_list_element-upload_done .mailbox_upload_file_list_element_label
{
	color: var(--color-primary, #6F61EA) !important;
}


.mailbox_upload_file_list_element-upload_error .mailbox_upload_file_list_element_label
{
	color: #D32A0E !important;
}

.mailbox_upload_file_list_element-upload_error .mailbox_upload_file_list_element_progress_bar
{
	background-color: #D32A0E;
}

.mailbox_upload_file_list_element_delete
{
	outline: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: transparent !important;
}

.mailbox_upload_file_list_element_delete:hover
{
	background-color: transparent !important;
}

.page-body.drag-over {
    border: 2px dashed #007bff;
    background-color: #f0f8ff;
}

.file-drop-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background: rgba(234, 234, 234, 0.49);
	font-weight: bold;
	z-index: 10;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-radius: 6px;
	width: 100%;
	height: 100%;
	border: 3px dashed #aca7a7;
}

.file-drop-overlay p, .file-drop-overlay i{
	color: rgb(124, 122, 122);
	font-size: 40px;
}

.file-drop-overlay-text{
	display: flex;
	align-items: center;
	gap: 12px;
}

.loader-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-top: 2px solid #999;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 6px;
	vertical-align: middle;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Tablet devices: from 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
	#filter-box div {
		margin-top: 8px; /* Add margin-top on tablet devices */
	}
}

.inbox_page_container
{
	position: relative;
	overflow: hidden;
}

.inbox_modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
	padding: 24px;

	background-color: rgba(34, 42, 57, 0.25);

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	transition: opacity 0.3s ease;
	z-index: 999999;
}

.inbox_modal-hidden
{
	opacity: 0;
	pointer-events: none;
}

/* Mirrors the footer "article-modal" family (design/scss/login.scss):
   soft rounded dialog, faint elevation shadow, --font-body, purple pill
   confirm button. Metrics scaled down for this compact confirmation box. */
.inbox_modal_window
{
	max-width: 440px;
	width: 100%;
	background-color: var(--color-bg, #fff);
	border-radius: 38px; /* same corner as .article-modal__dialog */
	box-shadow: 0 4px 54px rgba(46, 53, 75, 0.07);
	overflow: hidden;
	font-family: var(--font-body, Poppins, "Noto Sans Georgian", system-ui, sans-serif);
}

.inbox_modal_inner
{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.inbox_modal_container
{
	padding: 20px 24px;
	width: 100%;
}

.inbox_modal_header
{
	padding-bottom: 8px;
}

.inbox_modal h2
{
	padding: 0;
	margin: 0;
	font-size: var(--fs-18, 18px);
	font-weight: var(--fw-semibold, 600);
	line-height: normal;
	color: var(--color-text-strong, #141D2D);
	word-break: break-word;
}

.inbox_modal span
{
	display: block;
	font-weight: var(--fw-regular, 400) !important;
	font-size: var(--fs-14, 14px);
	line-height: 22px;
	color: var(--color-text-muted, #596476);
}

.inbox_modal_footer
{
	padding-top: 8px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.inbox_modal_btn
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	min-width: 120px;
	height: 48px;
	border-radius: var(--radius-24, 24px);
	font-size: var(--fs-14, 14px);
	font-weight: var(--fw-medium, 500);
	line-height: 22px;
	text-align: center;
	outline: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.inbox_modal_btn:disabled
{
	opacity: .55;
	pointer-events: none;
	cursor: default;
}

/* Secondary / dismiss action (template "cancel", JS popup "no") */
.inbox_modal_btn-cancel,
.inbox_modal_btn-no
{
	background-color: var(--color-bg-soft, #F0F3FD);
	color: var(--color-text-muted, #596476);
	border-color: var(--color-border-soft, #D3DEEF);
}

.inbox_modal_btn-cancel:not(:disabled):hover,
.inbox_modal_btn-no:not(:disabled):hover
{
	background-color: var(--color-secondary-softer, #F3F5FF);
	border-color: var(--color-border, #BCC9DF);
	color: var(--color-text, #222A39);
}

/* Primary / confirm action (JS popup "yes", dynamic primary confirm) */
.inbox_modal_btn-yes,
.inbox_modal_btn[data-confirm-type="primary"]
{
	background-color: var(--color-primary, #6F61EA);
	color: var(--color-text-inverse, #fff);
}

.inbox_modal_btn-yes:not(:disabled):hover,
.inbox_modal_btn[data-confirm-type="primary"]:not(:disabled):hover
{
	background-color: var(--color-primary-hover, #6251E3);
}

/* Destructive action (template delete + dynamic danger confirm) */
.inbox_modal_btn-danger,
.inbox_modal_btn[data-confirm-type="danger"]
{
	background-color: var(--color-danger, #FA3E93);
	color: var(--color-text-inverse, #fff);
}

.inbox_modal_btn-danger:not(:disabled):hover,
.inbox_modal_btn[data-confirm-type="danger"]:not(:disabled):hover
{
	background-color: var(--color-danger-strong, #EB267F);
}

/* ── Scrollable "terms / checkbox" variant (generateCheckBoxPopup) ────────
   A taller reader dialog with a close icon, a scrolling rich-text body and a
   checkbox + submit footer — styled to the .article-modal family. */
.inbox_modal_window-scroll
{
	max-width: 700px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
}

.inbox_modal_window-scroll .inbox_modal_inner
{
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

/* The yes/no popup (GenerateYesNoPopup) has no .inbox_modal_body — its
   content div must scroll itself, otherwise a long list pushes the footer
   buttons out of the 85vh window. */
.inbox_modal_window-scroll .inbox_modal_content
{
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.inbox_modal_header-close
{
	display: flex;
	justify-content: flex-end;
	padding-bottom: 0;
}

.inbox_modal_close
{
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: var(--radius-8, 8px);
	background: transparent;
	color: var(--color-text, #222A39);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
	margin-right: 20px;
    margin-top: 10px;
}

.inbox_modal_close:hover
{
	background: var(--color-bg-soft, #F0F3FD);
	color: var(--color-primary, #6F61EA);
}

.inbox_modal_close i
{
	font-size: var(--fs-16, 16px);
	line-height: 1;
}

/* Rich text coming from the article body (h1/p/b/i/ul…). */
.inbox_modal_body
{
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding-top: 0;
	color: var(--color-text, #222A39);
	font-size: var(--fs-14, 14px);
	line-height: 22px;
}

.inbox_modal_body h1,
.inbox_modal_body h2,
.inbox_modal_body h3,
.inbox_modal_body h4
{
	margin: 0 0 8px;
	font-weight: var(--fw-medium, 500);
	line-height: normal;
}

.inbox_modal_body h1,
.inbox_modal_body h2 {
	font-size: var(--fs-16, 16px);
	color: var(--color-text, #222A39);
}

.inbox_modal_body h3,
.inbox_modal_body h4 {
	font-size: var(--fs-14, 14px);
	color: var(--color-text-subtle, #758199);
}

.inbox_modal_body p {
	margin: 0 0 16px;
	color: var(--color-text-muted, #596476);
}
.inbox_modal_body ul,
.inbox_modal_body ol {
	margin: 0 0 16px;
	padding-left: 22px;
	color: var(--color-text-muted, #596476);
}
.inbox_modal_body li {
	margin-bottom: 4px;
}
.inbox_modal_body a {
	color: var(--color-primary, #6F61EA);
	text-decoration: underline;
}

.inbox_modal_body::-webkit-scrollbar {
	width: 4px;
}
.inbox_modal_body::-webkit-scrollbar-track {
	background: transparent;
}
.inbox_modal_body::-webkit-scrollbar-thumb {
	background: var(--color-primary-strong, #BBB4FD);
	border-radius: 4px;
}

.inbox_modal_footer-checkbox
{
	justify-content: space-between;
}

.inbox_modal_checkbox
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: var(--fs-13, 13px);
	font-weight: var(--fw-regular, 400);
	color: var(--color-text-muted, #596476);
	cursor: pointer;
	user-select: none;
}

.inbox_modal_checkbox input[type="checkbox"]
{
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--color-primary, #6F61EA);
	cursor: pointer;
	flex-shrink: 0;
}

.message-box-block
{
	margin: 20px 0;
}

.message-box-block-title
{
	margin-bottom: 15px;
}

.successful-message-response-box {
	position: fixed;
	bottom: 12px;
	right: 40px;

	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	color: #6acc8b;
	padding: 24px 18px;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);

	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	width: 530px;
	z-index: 9999;

}

/* visible state */
.successful-message-response-box.show {
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);

}

.successful-message-response-text{
	font-size: 19px;
	margin:0;
	text-align: center
}

/* Status-label text colors, mapped to the new-design palette. Matches the
   canonical .blue in design/scss/utilities/_colors.scss; the palette has no
   true orange/brown, so these use the nearest on-brand warm/neutral tokens. */
.blue {
	color: var(--color-purple-900, #6251E3);
}

.darkpink {
	color: var(--color-pink-800, #DA1BBE);
}

.orange {
	color: var(--color-yellow-600, #FDAF42);
}

.brown {
	color: #674237;
}

/* No button bar (SMS block without an external link): the textarea already
   carries its own border, so the outer frame would only double it. */
.mailbox_textarea_wrapper:not(:has(.mailbox_upload_wrapper))
{
	border: none;
}
/* end file: messageBox.css */