.sidebar-link.active {
    background: #1e40af;
    color: #fff;
}
.sidebar-link:hover:not(.active) {
    background: #eff6ff;
    color: #1e3a8a;
}

.bottombar-link.active .icon {
    background: #1e40af;
    color: #fff;
}
.bottombar-link.active .teks {
    color: #1e40af;
}

.for-loading {
    position: absolute;
    top: -100%;
    overflow: hidden;
    background: lightgray;
    width: 100vw;
    height: 4px;
}
.for-loading.start {
    top: 0;
}
.for-loading::before {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    background: #00A547;
}
.for-loading.start::before {
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

.my-toast {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 100%;
    min-height: 70px;
    z-index: 99;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.5s;
}

.my-toast .toast-body {
    position: absolute;
    top: -100%;
    right: 0;
    background-color: white;
    color: #212121;
    display: flex;
    max-width: 360px;
    min-height: 50px;
    align-items: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
    padding: 15px;
    transition: 0.5s;
}
.my-toast.showed {
    transform: scale(1);
    transform-origin: top;
}
.my-toast.showed .toast-body {
    top: 0;
}

.my-toast .toast-body .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    margin-right: 12px;
}

.my-toast .toast-body span {
    margin: 0 12px;
    font-size: 12px;
    font-family: "Nunito", sans-serif;
}
.my-toast .toast-body a.toast-close {
    color: #dc3545;
    display: inherit;
    text-decoration: none;
}
.my-toast .toast-body.success {
    background-color: #00A547;
}
.my-toast .toast-body.success .icon i {
    color: #00A547;
}
.my-toast .toast-body.fail {
    background-color: #dc3545;
}
.my-toast .toast-body.fail span,
.my-toast .toast-body.success span {
    color: white;
}
.my-toast .toast-body.fail .icon i {
    color: #dc3545;
}
.my-toast .toast-body.fail a.toast-close {
    color: #010101;
}

.trix-button-group--file-tools {
  display: none !important;
}