body {
    background: #f5f7fb;
}

.form-check-input{
    border:1px solid #888;
}
.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.bg-box{
    background: #f0f6fd;
}
.border-box{
    border-color: #c3dcf8 !important;
}

.select2-container .select2-selection--single {
    height: 38px !important; /* Adjust to match normal Bootstrap 5 height */
    display: flex !important;
    align-items: center !important;
}

.app-wrapper {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 270px;
    min-height: 100vh;
    background: #0d47a1;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: .3s;
}

.content {
    margin-left: 270px;
    width: calc(100% - 270px);
    min-height: 100vh;
}

.content > .container-fluid{

    margin-top: 60px;
}

.sidebar-brand {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.sidebar-brand i {
    font-size: 44px;
    margin-bottom: 10px;
}

.sidebar-brand img {
    height: 60px;
    margin-right:5px;
}

.sidebar-brand label{
    font-size:14px;
    line-height: 14px;
}

.sidebar-brand h4{
    letter-spacing: 4px;
}

.sidebar-menu {
    padding: 20px 14px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #fff;
    color: #0d47a1;
}

.sidebar-link.disabled {
    opacity: .6;
    pointer-events: none;
}

.sidebar-footer {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 20px;
    font-size: 14px;
}

.topbar {
    position: fixed;
    right:0;
    left:270px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index:10;
}

.hamburger {
    display: none;
}

.sidebar-backdrop {
    display: none;
}

.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 30px 0;
}

/* garis horizontal */
.stepper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #d0d7e2;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-number {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #e9eef6;
  color: #1f2937;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-label {
  font-size: 14px;
  color: #64748b;
}

/* step aktif */
.step.active .step-number {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
}

.step.active .step-label {
  color: #0d6efd;
  font-weight: 600;
}

/* step selesai */
.step.done .step-number {
  background: #198754;
  border-color: #198754;
  color: #ffffff;
}

.step.done .step-label {
  color: #198754;
  font-weight: 600;
}

/* step failed */
.step.failed .step-number {
  background: #b60000;
  border-color: #a00000;
  color: #ffffff;
}

.step.failed .step-label {
  color: #b60000;
  font-weight: 600;
}

.info-box{
    background: #f0f6fd;
    border: 1px solid #c3dcf8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size:16px;
    line-height: 18px;
}
.warning-box{
    background: #fcf7ee;
    border: 1px solid #eed5a6;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size:16px;
    line-height: 18px;
}

@media (max-width: 767.98px) {
    .topbar {
        left:0;
    }
    .sidebar {
    left: -270px;
    }

    .sidebar.show {
    left: 0;
    }

    .content {
    margin-left: 0;
    width: 100%;
    }

    .content > .container-fluid{
        margin-top: 100px;
    }

    .hamburger {
    display: inline-flex;
    }

    .sidebar-backdrop.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1040;
    }

    .sidebarx-footer {
    position: static;
    margin: 20px 14px;
    }

    .step-label {
        font-size: 11px;
        color: #64748b;
    }
    .step-label > span{
        display: none;
    }
}
