body {
  font-family: "Poppins", sans-serif !important;
  background: #f4f7f9;
}
.card {
  border-radius: 8px !important;
  box-shadow: none;
}
.btn {
  border-radius: 6px;
}
.form-control {
  border-radius: 6px;
}
.select2-container .select2-selection--single {
  border-radius: 6px;
}
.datepicker {
  border: 1px solid #ced4da !important;
}
ol.ui-sortable {
  list-style: none;
  padding-left: 0px !important;
}
ol.ui-sortable li {
  background: aliceblue;
  padding: 10px 15px;
  border-radius: 4px;
  box-shadow: rgb(15 34 58 / 12%) 0px 1px 4px;
  margin-bottom: 8px;
}
ol.ui-sortable li:hover {
  cursor: grab;
}
@media (max-width: 720px) {
  .w-50-mobile {
    width: 50% !important;
  }
  .d-mobile-none {
    display: none !important;
  }
  .floating-div {
    bottom: 10px !important;
    width: 90% !important;
    right: 18px !important;
  }
}
.datepicker.datepicker-dropdown {
  z-index: 99999 !important;
}
.badge-filter {
  padding: 4px 14px;
  text-align: left;
  border: 1px solid #d3d5d7;
  color: #31353bad;
  font-size: 13px;
  display: inline-flex;
}

.w-3 {
  width: 3% !important;
}
.w-5 {
  width: 5% !important;
}
.w-10 {
  width: 10% !important;
}
.w-15 {
  width: 15% !important;
}
.w-20 {
  width: 20% !important;
}
.content-login {
  background-color: #f4f7f9;
}
.content-login .card {
  border-radius: 15px;
  /* box-shadow: 0px 10px 12px rgb(0 0 0 / 25%); */
}
.content-login .card .card-body {
  padding: 35px !important;
}
.pattern-1 {
  position: fixed;
  bottom: 0px;
  left: 0px;
}
.pattern-2 {
  position: fixed;
  bottom: 0px;
  left: 34%;
}
.pattern-3 {
  position: fixed;
  bottom: 0px;
  right: 0px;
}
@media (max-width: 720px) {
  .pattern-1 {
    width: 100%;
  }
  .pattern-2 {
    display: none;
  }
  .pattern-3 {
    display: none;
  }
}
.table-light {
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #d1e1ef;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c6d5e3;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ccdbe9;
  --bs-table-hover-color: #000;
  color: #000;
  border-color: #c6d5e3;
}
th {
  text-transform: uppercase;
}
.table > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
}
.table.no-back > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: #ffffff;
  color: var(--bs-table-striped-color);
}
.sidebar-menu-scroll {
  margin-top: 0px;
}
.vertical-menu {
  margin-top: 70px;
}
#page-topbar {
  left: 0px;
  z-index: 9999;
}
.list-menu-custom {
  display: block !important;
  left: 250px;
}
body.vertical-collpsed #page-topbar {
  left: 0px;
}

@media (max-width: 992px) {
  .vertical-menu {
    margin-top: 0px;
  }
  .logo span.logo-sm {
    display: none;
  }
  .logo span.logo-lg {
    display: inline-block;
  }
}
.mm-active > a {
  background-color: #d3f9e3;
  color: #32b268 !important;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
  box-shadow: 0 3px 5px rgb(11 31 58 / 11%);
}
.mm-active .active i {
  color: #32b268 !important;
}
#sidebar-menu ul li a:hover {
  background-color: #d3f9e3;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}
#sidebar-menu ul li a {
  margin-bottom: 3px;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
  color: #28a382;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul a {
  white-space: normal;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a i {
  color: #28a382;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
  color: #28a382;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li a {
  margin-bottom: 0px;
}
.mm-active > a > i {
  color: #28a382 !important;
}
.mm-active .active {
  color: #28a382 !important;
  box-shadow: none;
}
.mm-active {
  color: #28a382 !important;
}
.mm-active > i {
  color: #28a382 !important;
}
#sidebar-menu ul li ul.sub-menu li a {
  box-shadow: none;
}
.footer {
  background: #ffffff;
  left: 0;
  z-index: 9999;
}
.dropdown-menu {
  min-width: 15rem;
}
.btn-default {
  border: 1px solid #edeef1;
  padding: 5px 15px !important;
}
.btn-default i {
  font-size: 20px;
}
.btn-default:hover {
  background: rgba(57, 77, 111, 0.04);
}
.btn-icon {
  padding: 5px 15px !important;
}
.btn-icon i {
  font-size: 18px;
}
.btn {
  padding: 8px 20px;
}
.breadcrumb-item.home {
  width: auto;
  border-radius: 100%;
  padding: 5px 11px !important;
  background: #28a382;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0px 0px 12px 4px rgb(15 34 58 / 12%);
  margin-left: 0px !important;
}
.breadcrumb-item.home a {
  color: #ffffff !important;
  font-size: 22px;
}
.breadcrumb-item {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 35px;
  font-size: 13px;
  z-index: 1;
  padding-left: 50px !important;
  margin-left: -35px;
  text-align: right;
  box-shadow: 0 2px 4px rgb(15 34 58 / 12%);
}
.breadcrumb-item > a {
  color: #c7c7c7 !important;
}
.breadcrumb-item.active {
  background: #f7b86d;
  margin-left: -55px;
  color: #ffffff;
  z-index: 0;
  text-align: right;
  padding-left: 70px !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}
.btn.btn-success {
  background-color: #28a382 !important;
  border-color: #28a382 !important;
}
.table-new {
  max-height: 50vh;
}
.table-new::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
.table-new::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.table-new::-webkit-scrollbar-thumb {
  background: #d1d6db;
  border-radius: 10px;
}

/* Handle on hover */
.table-new::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #28a382;
  border-color: #28a382;
  border-radius: 8px;
}
.page-link {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 12px;
}
.page-link:hover {
  cursor: pointer;
}
.page-item:last-child .page-link {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.page-item:not(:first-child) .page-link {
  margin-left: 5px;
}
.modal {
  z-index: 99999;
}
.modal-dialog {
  /* top: 10%; */
}
.vertical-collpsed .logo span.logo-sm {
  display: none;
}
.vertical-collpsed .logo span.logo-lg {
  display: block;
}
.vertical-collpsed .navbar-brand-box {
  width: 250px !important;
}
.search-box .form-control {
  height: 38px;
  border-radius: 8px !important;
  width: 250px;
}
.floating-div {
  position: fixed;
  bottom: 30px;
  background: #28a382;
  box-shadow: 0 2px 20px -2px rgb(40 163 130 / 58%);
  z-index: 99999;
  padding: 15px 20px;
  border-radius: 8px;
  width: 75%;
  right: 45px;
  color: #ffffff;
}
@media (min-width: 1400px) {
  .floating-div {
    width: 78%;
  }
  .vertical-collpsed .floating-div {
    width: 89.7%;
  }
}
.vertical-collpsed .floating-div {
  width: 88.5%;
}
.select2 {
  width: 100% !important;
}
.select2-dropdown {
  z-index: 999999;
}
.rightbar-overlay {
  z-index: 9999;
}
.right-bar {
  height: fit-content;
}
.right-bar:before {
  display: inline-block;
  content: "";
  position: absolute;
  background-color: #fff;
  height: 15px;
  width: 15px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  top: -7.5px;
  margin: auto;
  right: 13px;
  border-radius: 0 3px 0 0;
}
.right-bar-enabled .right-bar {
  width: 400px;
  z-index: 99999;
  right: 96px;
  top: 60px;
}
.rightbar-overlay {
  background-color: rgb(118 118 118 / 55%);
}
.hover-apps {
  padding: 10px;
  border-radius: 4px;
}
.hover-apps:hover {
  box-shadow: 1px 2px 14px 7px rgb(169 169 169 / 29%);
}
.content-login .card {
  z-index: 1;
}
.content-login .account-pages {
  margin-bottom: 100px;
}
#ul_rumus {
  overflow: auto;
}
.modal-backdrop {
  z-index: 9999;
}
.title-floating-footer {
  position: fixed;
  bottom: 83px;
  right: 90px;
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 6px;
  box-shadow: 0px 9px 12px 2px #ebebeb;
  z-index: 99;
}
.title-floating-footer a {
  color: #5d0eff;
  font-weight: 500;
}
.btn-floating {
  background-color: #5d0eff;
  color: #fff;
  position: fixed;
  bottom: 70px;
  border-radius: 30%;
  right: 15px;
  font-size: 40px;
  height: 60px;
  font-weight: 900;
  box-shadow: 0px 9px 12px 2px #c4b0f2;
  z-index: 99;
  border: none;
  padding: 0px 10px;
  transition: all 0.4s;
}
.btn-floating:hover {
  background-color: #5d0eff !important;
  background: #ffffff !important;
  color: #5d0eff !important;
}
.title-floating-footer:after {
  display: inline-block;
  content: "";
  position: absolute;
  background-color: #fff;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  top: 0;
  bottom: 0;
  margin: auto;
  right: -5px;
  border-radius: 0 3px 0 0;
  box-shadow: 1px -1px 4px 0 #eee;
}
.floating {
  animation-name: floating;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.floating:hover {
  animation: none;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 7.5px);
  }
  100% {
    transform: translate(0, -0px);
  }
}
.list-komponen {
  border: 1px solid #d1d1d1;
  padding: 22px;
  border-radius: 10px;
  margin-bottom: 15px;
}
.main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.footer {
  padding: 20px;
  margin-top: auto !important;
  position: inherit;
}
.datepicker.datepicker-dropdown {
  font-size: 12px;
}
.sticky-col {
  position: sticky;
  width: 200px;
  min-width: 125px;
  max-width: 125px;
  left: 0px;
  z-index: 1;
  background: white;
}
.table > :not(caption) > * > * {
  background-color: #ffffff !important;
}

.catatan-dokumen-lamaran p,
#komentar_show p {
  margin-bottom: 0px;
}
/* 
.mce-menu {
  z-index: 999999999;
}

#mceu_71_ {
  z-index: 9999999 !important;
} */
.mce-container.mce-panel.mce-floatpanel.mce-window.mce-in {
  z-index: 999999 !important;
}
.mce-reset.mce-fade.mce-in {
  z-index: 99999 !important;
}
.mce-container.mce-panel.mce-floatpanel.mce-menu.mce-menu-has-icons.mce-menu-align {
  z-index: 999999 !important;
}
.mce-container.mce-panel.mce-floatpanel.mce-menu.mce-menu-sub.mce-menu-align.mce-menu-sub-tr-tl {
  z-index: 999999 !important;
}
@media (max-width: 720px) {
  .btn-menu-mobile {
    display: inline-block !important;
  }
  .btn-menu-web {
    display: none !important;
  }
}
.btn-menu-mobile {
  display: none;
}
.nav-custom-2.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #5b73e8;
  border-color: #5b73e8 !important;
}
.nav-custom-2.nav-pills .nav-link {
  background: 0 0;
  border-radius: 3px;
  border: 1px solid #ececec !important;
  margin: 2px;
}

/* Sticky column styling */
@media (min-width: 800px) {
  .sticky-column {
    position: sticky;
    z-index: 2;
  }

  /* Sticky Column Offsets */
  th.sticky-column:nth-child(1),
  td.sticky-column:nth-child(1) {
    left: 0;
  }
  th.sticky-column:nth-child(2),
  td.sticky-column:nth-child(2) {
    left: 48px;
  }
  th.sticky-column:nth-child(3),
  td.sticky-column:nth-child(3) {
    left: 94px;
  }
}

.max-vh-50 {
  max-height: 50vh !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
  width: 23px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  margin-right: 10px;
}
.gap-box.status-kurang {
  background-color: #fde1e1;
  border-color: #fbc4c4;
  color: #d9534f;
}
.gap-box {
  padding: 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  border: 1px solid #eee;
}
.gap-box.status-cukup {
  background-color: #dff0d8;
  border-color: #d0e9c6;
  color: #3c763d;
}
.gap-box.status-lebih {
  background-color: #d9edf7;
  border-color: #bcdff1;
  color: #31708f;
}
.gap-detail {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 2px;
}
.gap-result {
  font-weight: 700;
  display: block;
  text-transform: uppercase;
}
/* Container Utama */
.notification-ticker-container {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 5px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  gap: 10px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  width: 500px;
  position: relative;
}

@media (max-width: 768px) {
  .notification-ticker-container {
    display: none;
  }

  .ticker-text {
    font-size: 11px; /* Ukuran font lebih kecil untuk mobile */
    max-width: 180px; /* Batasi lebar teks agar tidak menabrak badge info */
  }

  .ticker-badge {
    display: none; /* Sembunyikan badge "9+ Info" di mobile untuk hemat ruang */
  }
}

.notification-ticker-container:hover {
  background: #ffffff;
  border-color: #3b71ca;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Animasi Ticker */
.ticker-content {
  position: relative;
  width: 100%;
}

.ticker-item {
  display: none;
  align-items: center;
  animation: slideUp 0.5s ease;
}

.ticker-item.active {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulsa untuk Notifikasi Penting */
.animate-pulse {
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 106, 106, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(244, 106, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 106, 106, 0);
  }
}

.ticker-text {
  font-size: 13px;
  color: #495057;
}

/* Warna lembut untuk kategori agar tidak terlalu kontras */
.bg-soft-danger {
  background-color: rgba(244, 106, 106, 0.08) !important;
}
.bg-soft-success {
  background-color: rgba(52, 195, 143, 0.08) !important;
}

/* Styling Scrollbar di dalam panel */
[data-simplebar] {
  overflow-x: hidden;
}

/* Hover effect pada item list */
.list-group-item-action:hover {
  background-color: #f3f6f9 !important;
}

/* Badge pulse untuk urgent di side panel */
.avatar-title.bg-danger {
  animation: pulse-red-small 2s infinite;
  padding: 10px;
}

@keyframes pulse-red-small {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 106, 106, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(244, 106, 106, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 106, 106, 0);
  }
}
