/* POIS additions on top of the Sash theme */
.pois-brand { display: flex; align-items: center; gap: 10px; justify-content: flex-start; width: 100%; }
.pois-mark { width: 38px; height: 38px; border-radius: 9px; background: #6c5ffc; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }
.pois-word { font-weight: 700; font-size: 20px; line-height: 1; color: #282f53; }
.pois-word small { display: block; font-size: 10px; font-weight: 500; color: #8e9cad; margin-top: 3px; }
.pois-brand-top { font-weight: 700; font-size: 20px; margin-left: 12px; }
.app-sidebar .main-sidemenu { height: calc(100vh - 75px); overflow-y: auto; padding-bottom: 40px; }
.side-menu__item .badge { margin-right: 4px; }
@media (min-width: 992px) {
  .app.sidenav-toggled .pois-word, .app.sidenav-toggled .side-menu__item .badge { display: none; }
}
.header .header-right-icons .profile-1 .nav-link { padding: 4px 8px; }
.pois-bell { width: 340px; max-width: 92vw; }
.pois-note { white-space: normal; border-bottom: 1px solid #eaedf1; padding: 12px 16px; }
.pois-unread { background: #f2f1ff; }
.pois-thumb { width: 76px; height: 52px; object-fit: cover; border-radius: 6px; border: 1px solid #e9edf4; }
.pois-toast { position: fixed; right: 20px; bottom: 20px; z-index: 2000; max-width: 420px; }
.pois-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pois-step { flex: 1 1 110px; border-top: 4px solid #e9edf4; padding-top: 8px; color: #8e9cad; font-weight: 500; }
.pois-step span { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: #e9edf4; align-items: center; justify-content: center; margin-right: 6px; font-size: 12px; }
.pois-step.done { border-color: #09ad95; color: #282f53; }
.pois-step.done span { background: #09ad95; color: #fff; }
.pois-step.now { border-color: #6c5ffc; color: #6c5ffc; }
.pois-step.now span { background: #6c5ffc; color: #fff; }
.pois-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid #e9edf4; max-height: 340px; overflow-y: auto; }
.pois-timeline li { position: relative; padding-bottom: 14px; }
.pois-timeline li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #6c5ffc; }
.pois-login { width: 460px; max-width: 94vw; }
a.card:hover { box-shadow: 0 6px 18px rgba(40, 47, 83, .12); }
[hidden] { display: none !important; }
.app .main-content.app-content { padding-top: 74px; }
#content .col-xl-8 .table.text-nowrap { white-space: normal !important; }
.pois-login .login-social-icon { margin-top: 2.25rem !important; }
@media (max-width: 991px) {
  .pois-brand-top { margin-left: 52px; position: static !important; transform: none !important; }
  .app .app-sidebar { z-index: 1050; }
  .app.sidenav-toggled .app-sidebar__overlay { display: block; visibility: visible; opacity: 1; position: fixed; inset: 0; background: rgba(15, 20, 45, .45); z-index: 1045; }
}
.header .badge.header-badge[hidden] { display: none !important; }
@media (max-width: 991px) { .app .app-sidebar .main-sidemenu { margin-top: 20px; } }

/* theme switch */
.pois-login-theme { position: fixed; top: 16px; right: 20px; z-index: 10; }
.pois-login-theme .nav-link { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #282f53; }
.dark-mode .pois-login-theme .nav-link { background: #2a2a4a; color: #fff; }
/* dark theme for the POIS additions */
.dark-mode .pois-word, .dark-mode .pois-step.done { color: #fff; }
.dark-mode .pois-word small, .dark-mode .pois-step { color: #a8a8c8; }
.dark-mode .pois-step.now { color: #a49bff; }
.dark-mode .pois-step, .dark-mode .pois-step span { border-color: rgba(255, 255, 255, .12); }
.dark-mode .pois-step span { background: rgba(255, 255, 255, .12); color: #fff; }
.dark-mode .pois-step.done { border-color: #09ad95; }
.dark-mode .pois-step.now { border-color: #6c5ffc; }
.dark-mode .pois-step.done span { background: #09ad95; }
.dark-mode .pois-step.now span { background: #6c5ffc; }
.dark-mode .pois-unread { background: rgba(108, 95, 252, .22); }
.dark-mode .pois-note, .dark-mode .pois-thumb, .dark-mode .pois-timeline { border-color: rgba(255, 255, 255, .12); }
.dark-mode #content .bg-light { background: rgba(255, 255, 255, .06) !important; }
.modal-header .btn-close { background-image: none; font-size: 24px; line-height: 1; opacity: .7; color: #282f53; }
.dark-mode .modal-header .btn-close { color: #fff; }
.dark-mode [data-note] .fw-semibold, .dark-mode [data-note] h5 { color: #fff; }
