:root { --asideWidth: 280px; --asidePanelWidth: 320px; --headerHeight: 56px; --navyblue: #264e75; /*#40586d*/ --lightblue: #d0e2ff; /*#dbe1eb;*/ --ultralightblue: #e6f0ff; /*#f5f6f9;*/ --borderRadius: 0.6rem; }

.btn { border-radius: 22px; }
input[type="text"], input[type="password"], input[type="number"], textarea, select, .select2-container--default .select2-selection[aria-expanded="false"] { border-radius: var(--borderRadius); }
.select2-container--default .select2-selection[aria-expanded="true"] { border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; }
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, textarea:focus, .select2-selection[aria-expanded="true"], .select2-dropdown { box-shadow: 0 0 0 0.25rem var(--navyblue); }


[data-theme="semidark"] .autocomplete-container { box-shadow: 0 0 0 0.25rem var(--navyblue); }


[data-theme="semidark"] aside.menu { background: linear-gradient(to bottom, #1c3b59, #171a1c); }
[data-theme="semidark"] aside.menu header { background: var(--navyblue); }
[data-theme="semidark"] aside.menu header h1 { color: white; }
[data-theme="semidark"] aside.menu header p { color: #afafaf; }
[data-theme="semidark"] aside.menu header button.close:before { background: white; }
[data-theme="semidark"] aside.menu nav a { color: #d3d3d3; }
[data-theme="semidark"] aside.menu nav a:hover { text-decoration: none; color: white; background: rgba(0,0,0,.2); }
[data-theme="semidark"] aside.menu nav a.selected { color: white; background: var(--navyblue); }
[data-theme="semidark"] aside.menu nav a[data-icon]:before { background: rgba(233,236,239,.5); }
[data-theme="semidark"] aside.menu nav a[data-icon]:hover:before { background: rgba(233,236,239,1); }
[data-theme="semidark"] aside.menu nav a[data-toggle="collapse"]:after { opacity: 0.5; }
[data-theme="semidark"] aside.menu nav a[data-toggle="collapse"]:hover:after { opacity: 1; }
[data-theme="semidark"] aside.menu nav ul.sidebar-dropdown:before { background: rgba(233,236,239,.2); }
[data-theme="semidark"] main { background: #f4f6f9; }
[data-theme="semidark"] main header { background: white; }
[data-theme="semidark"] main header .hamburger, [data-theme="semidark"] aside.panel header .close-panel { background: #171a1c; }
[data-theme="semidark"] main .head-line { background: white; }
[data-theme="semidark"] .card { background: #f4f6f9; box-shadow: 0 0 0.4rem rgba(4, 9, 20, 0.1); background: white; }
[data-theme="semidark"] .card > b { background-color: black; }
[data-theme="semidark"] main .head-line h2 { color: #222; }
[data-theme="semidark"] input:disabled { background: var(--ultralightblue); }



.layout { display: flex; align-items: stretch; min-height: 100dvh; overflow-x: hidden; }
aside.menu { z-index: 3; min-width: var(--asideWidth); transition: all 0.34s ease-in-out; }
aside.menu header { display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 16px; padding: 0 1.5rem; height: var(--headerHeight); position: relative; }
aside.menu header img { height: 26px; }
aside.menu header h1 { font-size: 1rem; font-weight: 500; }
aside.menu header p { font-size: 0.8rem; margin: 0; font-weight: 300; }
aside.menu header button.close { display: none; position: absolute; top: 50%; transform: translateY(-50%); right: 6px; opacity: 1; cursor: pointer; }
aside.menu nav { position: sticky; top: 0; padding: 0px 10px; max-height: calc(100dvh - var(--headerHeight)); }
aside.menu nav ul { list-style: none; padding: 0; }
aside.menu nav a { position: relative; padding: .9rem 1.525rem; display: flex; align-items: center; font-size: 0.8em; border-radius: var(--borderRadius); }
aside.menu nav a:hover { text-decoration: none; }
aside.menu nav a.selected { text-decoration: none; }
aside.menu nav a[data-toggle="collapse"]:after { content: " "; border: solid; border-width: 0 .15rem .15rem 0; display: inline-block; padding: 0.16rem; transform: rotate(45deg) translateY(-50%); position: absolute; top: 40%; right: 1.525rem; transition: all .2s ease-out; }
aside.menu nav a[aria-expanded=true]:after { transform: rotate(-135deg); top: 50%; right: 1.3rem; }
aside.menu nav a[data-icon]:before { -webkit-mask-size: cover; display: inline-block; width: 18px; height: 18px; content: " "; margin-right: .95rem; transition: 75ms ease-in-out; -webkit-mask-image: var(--icon-url); }
aside.menu nav ul.sidebar-dropdown { display: none; padding: 0; margin: 0; list-style-type: none; position: relative; }
aside.menu nav ul.sidebar-dropdown:before { content: ''; height: 100%; width: 3px; position: absolute; left: 1.96rem; top: 0; border-radius: 20%; opacity: 0.7; }
aside.menu nav ul.sidebar-dropdown.show { display: block; }
aside.menu nav ul.sidebar-dropdown a { padding: .9rem 1.525rem .9rem 1.2rem; margin-left: 2.4rem; }

aside.panel { z-index: 3; min-width: var(--asidePanelWidth); max-width: var(--asidePanelWidth); transition: all 0.34s ease-in-out; background: #fff; margin-right: calc(-1 * var(--asidePanelWidth)); }
aside.panel header { position: sticky; top: 0; height: var(--headerHeight); z-index: 4; display: flex; align-items: center; justify-content: flex-start; box-shadow: 0 5px 5px rgba(0,0,0,0.05); background: #f4f6f9; }
aside.panel header .close-panel { margin: 0 0 0 auto; -webkit-mask-image: url("/libraries/Feather/x.svg"); -webkit-mask-size: 26px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; display: inline-block; width: 60px; height: 100%; cursor: pointer; transition: 0.64s; }

.layout.toggle-menu aside.menu { margin-left: calc(-1 * var(--asideWidth)); }
.layout.toggle-panel aside.panel { margin-right: 0; }


main { width: 100%; flex-grow: 1; transition: all 0.34s ease-in-out; }
main header { position: sticky; top: 0; /*left: var(--asideWidth);*/ height: var(--headerHeight); z-index: 4; display: flex; align-items: center; justify-content: flex-start; box-shadow: 0 0px 6px rgba(0,0,0,0.14); }
main header .hamburger { -webkit-mask-image: url("/libraries/Feather/menu.svg"); -webkit-mask-size: 32px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; display: inline-block; width: 80px; height: 100%; cursor: pointer; transition: 0.64s; }
main header .elements { flex-grow: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-right: 10px; }
main .main-wrapper { overflow-y: auto; min-height: calc(100dvh - var(--headerHeight)); max-height: calc(100dvh - var(--headerHeight)); position: relative; }
main .head-line { display: flex; align-items: center; justify-content: flex-start; height: 80px; padding: 0 20px; z-index: 3; position: relative; }
main .head-line h2 { font-size: 1rem; }
main .head-line button { margin: 0 0px 0 auto; }
main .main-contents { padding: 20px; display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 20px; }
main .main-contents .row-container { width: 100%; }
main .row-container .row-container { width: calc(100% + 10px); margin-left: -5px; margin-right: -5px; }
main .tab-contents > div > .row { width: calc(100% + 10px); }

main .main-contents .row { align-items: flex-start; }
main .main-contents .card:not(:nth-child(1)) { margin-top: 10px; }
main .main-contents h2 { font-size: 16px; margin-bottom: 20px; }
main .main-contents > .tab-contents { padding-top: 0; }

main .main-contents > .tabs { width: 100%; background: white; xgap: 0; height: 86px; padding: 20px; border-radius: var(--borderRadius); box-shadow: 0 0 0.4rem rgba(4, 9, 20, 0.1); }
main .main-contents > .tabs > div { border-radius: var(--borderRadius); }



.btn { display: inline-flex; align-items: center; justify-content: flex-start; }
.btn.back:before { content: ""; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 14px; margin: 0 4px 0 -8px; background: white; -webkit-mask-image: url("/libraries/Feather/chevron-left.svg"); -webkit-mask-size: cover; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; }
.btn.add:before { content: ""; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 14px; margin: 0 4px 0 -8px; background: white; -webkit-mask-image: url("/libraries/Feather/plus.svg"); -webkit-mask-size: cover; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; }
.btn.update:before { content: ""; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 18px; margin: 0 4px 0 -8px; background: white; -webkit-mask-image: url("/libraries/Feather/save.svg"); -webkit-mask-size: 20px 18px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; }
.btn.upload:before { content: ""; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 14px; margin: 0 6px 0 -8px; background: white; -webkit-mask-image: url("/libraries/Feather/upload.svg"); -webkit-mask-size: 20px 18px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; }

.card { width: 100%; height: 100%; padding: 30px; border-radius: var(--borderRadius); border: 2px solid transparent; transition: all .4s ease; position: relative; }
.card > b { opacity: 0.2; z-index: 3; position: absolute; top: 0px; right: 0px; padding: 30px; cursor: pointer; -webkit-mask-image: url("/libraries/Feather/maximize.svg"); -webkit-mask-size: 20px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; transition: 0.2s ease-in-out; }
.card > b.minimize { -webkit-mask-image: url("/libraries/Feather/minimize.svg"); }
.card:hover > b { opacity: 0.5; }
.card > b:hover { opacity: 1; -webkit-mask-size: 26px; }
.card > b:active { transform: scale(0.7); }

.loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28,27,27,0.3); z-index: 999999; }
.loader .box { position: absolute; top: calc(50% - 64px); left: calc(50% - 64px); width: 128px; height: 128px; border-radius: 50%; perspective: 800px; }
.loader .box .i { position: absolute; box-sizing: border-box; width: 100%; height: 100%; border-radius: 50%; }
.loader .box .i:nth-child(1) { left: 0%; top: 0%; animation: rotate-one 1s linear infinite; border-bottom: 8px solid #EFEFFA; border-color: var(--navyblue); }
.loader .box .i:nth-child(2) { right: 0%; top: 0%; animation: rotate-two 1s linear infinite; border-right: 8px solid #EFEFFA; border-color: var(--lightblue); }
.loader .box .i:nth-child(3) { right: 0%; bottom: 0%; animation: rotate-three 1s linear infinite; border-top: 8px solid #EFEFFA; border-color: var(--ultralightblue); }

.percentage-box { position: fixed; background: rgba(0,0,0,0.3); top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 9999999999; }
.percentage-box .circular-chart { display: block; margin: 10px auto; max-width: 80%; max-height: 300px; filter: drop-shadow(0 0 20px var(--lightblue)); }
.percentage-box .circle-bg { fill: none; stroke: #534d9f; stroke-width: 0.8; }
.percentage-box .circle { fill: var(--navyblue); stroke-width: 2.8; stroke-linecap: round; animation: progress 1s ease-out forwards; stroke: var(--lightblue); }
.percentage-box .percentage { fill: #FFF; font-family: sans-serif; font-size: 0.4em; text-anchor: middle; }

.sortable_items { overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.sortable_items > div { width: 100%; padding: 16px 20px; border-radius: var(--borderRadius); border: 1px solid #ced4da; background: white; cursor: pointer; user-select: none; }
.sortable_items > div.dragging { background: var(--ultralightblue); }

.tabs > div { border-radius: var(--borderRadius); }
.tabs > div.active { background: var(--navyblue); }



.header-button { background: #eee; border-radius: 50%; width: 40px; height: 40px; transition: 0.1s; position: relative; }
.header-button:active { transform: scale(0.94); }
.header-button:hover { background: var(--ultralightblue); }
.header-button > div:before { content: ""; width: 40px; height: 40px; display: block; background: #3f3f3f; cursor: pointer; -webkit-mask-size: 20px; -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; transition: 0.2s ease-in-out; }
.header-button span:not(:empty) { background: var(--navyblue); content: ""; position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 100%; z-index: 1; color: white; font-size: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px #fff; }
.header-button.toggle-chat-panel > div:before { -webkit-mask-image: url("/libraries/Feather/message-circle.svg"); }
.header-button.toggle-fullscreen > div:before { -webkit-mask-image: url("/libraries/Feather/maximize.svg"); }
.header-button.toggle-fullscreen.minimize > div:before { -webkit-mask-image: url("/libraries/Feather/minimize.svg"); }


.header-menu { padding: 0 8px 0 0; height: var(--headerHeight); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.header-menu button { padding: 0; width: 24px; height: 24px; border-radius: 50%; border: 0px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: visible; background: white; transition: 0.1s; }
.header-menu button:before { content: ""; position: absolute;  -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center center; background: #7f7f7f; display: block; width: 100%; height: 100%; transition: 0.2s; }
.header-menu button:hover:before { background: #333; }
.header-menu .dropdown-menu { min-width: 240px; background: white; border-radius: var(--borderRadius); box-shadow: 0px 4px 10px rgba(0,0,0,0.15); border-top-left-radius: 0; border-top-right-radius: 0; overflow: hidden; border: 1px solid #e4e4e4; }
.header-menu button span:not(:empty) { background: var(--navyblue); content: ""; position: absolute; top: -8px; right: -7px; width: 18px; height: 18px; border-radius: 100%; z-index: 4; color: white; font-size: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px #fff; }
.header-menu.notifications button:before { -webkit-mask-image: url('/libraries/Feather/bell.svg'); }
.header-menu.messages button:before { -webkit-mask-image: url('/libraries/Feather/message-circle.svg'); }
.header-menu.messages .dropdown-menu ul { min-width: 300px; max-height: 160px; overflow-y: auto; }
.header-menu.messages .dropdown-menu ul::-webkit-scrollbar { width: 4px; }
.header-menu.messages .open-messages { width: 100%; height: 52px; font-size: 0.8em; opacity: 1; color: var(--navyblue); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.header-menu li.message { height: 80px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-start; }
.header-menu li.message:not(:last-child) { border-bottom: 1px solid #e4e4e4; }
.header-menu li.message img { width: 40px; height: 40px; border-radius: 50%; }
.header-menu li.message .contents { padding-left: 10px; }
.header-menu li.message h6 { font-size: 0.9em; margin: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.header-menu li.message p { margin: 0; font-size: 0.8em; font-weight: 400; color: #666; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.header-menu.user button { min-width: 40px; width: 40px; height: 40px; background: #f4f4f4; }
.header-menu.user button:before { -webkit-mask-image: url('/libraries/Feather/user.svg'); -webkit-mask-size: 24px; }
.header-menu.user button img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center center; position: relative; z-index: 3; }
.header-menu ul { list-style-type: none; margin: 0; padding: 0; }
.header-menu li { display: flex; align-items: center; justify-content: flex-start; padding: 0 26px; background: white; cursor: pointer; transition: 0.05s; }
.header-menu li:not(.header):hover { background: #f4f4f4; }
.header-menu li a { display: flex; align-items: center; justify-content: flex-start; height: 40px; font-size: 0.8em; position: relative; width: 100%; transition: 0.05s; color: #444; }
.header-menu li a:before { content: ""; -webkit-mask-repeat: no-repeat; -webkit-mask-size: cover; display: inline-block; width: 18px; height: 18px; content: " "; margin-right: .95rem; transition: 0.05s; background: rgba(0,0,0,.6); }
.header-menu li a:hover { text-decoration: none; color: black; }
.header-menu li a:hover:before { background: rgba(0,0,0,1); }
.header-menu li a.profile:before { -webkit-mask-image: url('/libraries/Feather/user.svg'); }
.header-menu li a.open-messages:before { -webkit-mask-image: url('/libraries/Feather/mail.svg'); }
.header-menu li a.logout:before { -webkit-mask-image: url('/libraries/Feather/log-out.svg'); }
.header-menu li.header { padding: 20px 26px 14px; border-bottom: 1px solid #e4e4e4; margin-bottom: 6px; }
.header-menu li.header .title { padding-left: 10px; }
.header-menu li.header h4 { font-size: 14px; }
.header-menu li.header p { font-size: 12px; margin: 3px 0; padding-right: 20px; }
.header-menu li.footer { border-top: 1px solid #e4e4e4; margin-top: 6px; }
.header-menu li.footer a { height: 52px; }

.floating span.show { -webkit-mask-image: url('/libraries/Feather/eye.svg'); -webkit-mask-size: 20px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center center; background: black; position: absolute; top: 0; right: 0px; width: 46px; height: 100%; z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0.3; transition: 0.3s; cursor: pointer; }
.floating span.show:active { transform: scale(0.7); }
.floating span.show.on { -webkit-mask-image: url('/libraries/Feather/eye-off.svg'); }
.floating span.show:hover { opacity: 1; }

.input-container { position: relative; }
.input-container input { padding-left: 40px; }
.input-container .input-icon { position: absolute; top: 0%; left: 0px; width: 2em; height: 100%; }
.input-container .input-icon:before { content: ""; position: absolute; width: 100%; height: 100%; left: 0; -webkit-mask-repeat: no-repeat; -webkit-mask-position: right center; -webkit-mask-size: 54%; background: #666; }
.input-container .input-icon.search:before { -webkit-mask-image: url('/libraries/Feather/search.svg'); }

.avatar { position: relative; border-radius: 50%; background: #e2e5e9; border: 1px solid #e5e5e5; z-index: 1; }
.avatar:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-mask-image: url('/libraries/Feather/user.svg'); -webkit-mask-repeat: no-repeat; -webkit-mask-position: center center; -webkit-mask-size: 60%; background: #aaa; }
.avatar:after { position: absolute; transform: translate(50%, 50%); bottom: 5px; right: 5px; width: 8px; height: 8px; border-radius: 100%; box-shadow: 0 0 0 2px #fff; z-index: 4; }
.avatar.away:after { content: ""; background: orange; }
.avatar.online:after { content: ""; background: #4ddb01; }
.avatar.busy:after { content: ""; background: red; }
.avatar.hidden:after { content: ""; background: #a3a3a3; }
.avatar img { display: block; border-radius: 50%; width: 100%; height: 100%; position: relative; z-index: 2; object-fit: cover; object-position: center center; }

.tagify { border: 0 !important; }
.tagify__tag>div::before { border-radius: var(--borderRadius) !important; }
.tagify__tag > div > *, .tagify__input { line-height: 26px !important; }
.tagify__input { transition: 0.2s; border-radius: var(--borderRadius); border: 1px solid transparent; }
.tagify-wrapper { position: relative; border-radius: var(--borderRadius); padding: 28px 10px 10px; border: 1px solid #ced4da; }
.tagify-wrapper:hover .tagify__input, .tagify__input:focus { border: 1px solid #ced4da; }
.tagify__input:focus { background: rgba(255,255,255,0.05); }
.tagify-wrapper > label { position: absolute; top: 0; left: 0; padding: 1.3rem 0.75rem; pointer-events: none; border: 1px solid transparent; transform-origin: 0 0; transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; transform: scale(0.85) translateY(-0.65rem) translateX(0.15rem); }

@keyframes rotate-one {
  0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg); }
  100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg); }
}

@keyframes rotate-two {
  0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg); }
  100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg); }
}

@keyframes rotate-three {
  0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg); }
  100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg); }
}

@media (max-width: 1440px) {
body { font-size: 0.95rem; }
.card { padding: 20px; }
}

@media (max-width: 1280px) {
:root { --headerHeight: 66px; --asideWidth: 320px; }
main:before { content: ""; position: absolute; top: var(--headerHeight); left: 0; z-index: 9; transition: 0.6s background; transition-delay: 0.1s; }
aside.menu { margin-left: calc(-1 * var(--asideWidth)); position: absolute; z-index: 999; top: var(--headerHeight); height: calc(100% - var(--headerHeight)); border-radius: var(--borderRadius); }
.layout.toggle-menu aside.menu { margin-left: 0; }
.layout.toggle-menu main { /*margin-right: calc(-1 * var(--asideWidth)); */ }
.layout.toggle-menu main:before { background: rgba(0,0,0,0.4); width: 100%; height: calc(100% - var(--headerHeight)); }
.layout.toggle-panel main { margin-left: calc(-1 * var(--asidePanelWidth)); }

aside.menu header h1 { font-size: 1.3rem; }
aside.menu header p { font-size: 0.9rem; }
aside.menu nav { padding-bottom: 60px; }
aside.menu nav a { padding: 1.2rem 1.525rem; font-size: 0.9em; }
aside.menu nav ul.sidebar-dropdown a { padding: 1.2rem 1.525rem 1.2rem 1.2rem; }
.user-menu li a { font-size: 0.9em; height: 50px; }
main .main-contents { padding: 16px; }
.card { padding: 16px; }
.card > b:hover { transform: scale(1); }
}

@media (max-width: 1024px) {
main .main-contents .row-container { margin-left: 0; }
}

