.nk-content-body.fade-out {
    animation: fadeOutOpacity .3s ease forwards;
}

.nk-content-body.fade-in {
    animation: fadeInOpacity .3s ease forwards;
}

@keyframes fadeOutOpacity {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes fadeInOpacity {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-rows {
    opacity: 0;
    transition: opacity 1s ease;
}

.table-rows.loaded {
    opacity: 1;
}

.loader {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.nk-tb-list.loader {
    position: absolute;
    top: 0;
    left: 0;
}

.card-inner {
    position: relative;
}

.modal .nk-split-page {
    min-height: auto;
}

.loader {
    height: 40vh;
}

.loader .spinner-border {
    left: calc(50% - 60px / 2);
    top: calc(50% - 60px / 2);
    --bs-spinner-width: 60px;
    --bs-spinner-height: 60px;
    position: absolute;
}

.tri-ring {
    width: 120px;
    height: 120px;
}

.loading-animation {
    left: calc(50% - 120px / 2);
    top: calc(50% - 120px / 2);
}

.tri-ring {
    border-top-color: #e6ab0b;
}

.tri-ring:before {
    border-top-color: #a6aaa8;
}

.tri-ring:after {
    border-top-color: #181818;
}

.hide {
    display: none !important;
}

.highlighted {
    animation: flash-bg-danger 0.5s ease-in-out 0s 3 alternate;
}

.highlighted.danger {
    animation: flash-bg-danger 0.5s ease-in-out 0s 3 alternate;
    background-color: #f9e5e5;
}

@keyframes flash-bg-danger {
    from { background-color: #f9e5e5; }
    to   { background-color: #ffffff; }
}

button.no-style {
    border: none;
    background: none;
    color: inherit;
    padding: inherit;
    margin: inherit;
}

.pointer {
    cursor: pointer;
}

.nk-tb-head .nk-tb-col .sub-text {
    display: inline-block;
}

.modal.free-height .modal-dialog {
    min-height: calc(100% - 3.5rem) !important;
}

.modal.free-height .modal-body {
    height: calc(100vh - 7rem) !important;
    overflow: auto;
}

.select-ajax.d-none + .select2-container {
    display: none !important;
}

.fc-event.fc-event-draggable {
    color: #fff;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.fc-event.pulse-highlight {
  animation: pulse 1s ease-in-out 3;
  transition-timing-function: ease-in-out;
  box-shadow: 0 0 12px #FFD700;
  z-index: 10;
}

form .btn-form {
    background: unset;
    border: unset;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 0;
}

.link-list-plain form .btn-form .icon {
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

.alert-input-unique {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    flex-wrap: wrap;

    animation: fadeInOpacity 1s ease forwards;
}

@keyframes fadeInOpacity {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-input-unique span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-input-unique span em {
    font-size: 1.2rem;
    color: #fd9722;
}

.alert-input-unique.fade-out {
    animation: fadeOutOpacity 0.5s ease forwards;
}

@keyframes fadeOutOpacity {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

.text-soft.add-action {
    font-size: 0.8rem;
    text-align: center;
}

.text-soft.add-action em {
    font-size: 1.5rem;
}

.fc .fc-toolbar-title {
    width: 130px;
}

.new-line {
    width: 100%; 
    display: flex; 
    justify-content: center; 
    margin-top: 15px;
}

.nav-tabs + .tab-content {
    min-height: 450px;
}

@media screen and (max-width: 991px) {
    .modal-body {
        padding: 0.5rem 0.5rem;
    }

    .modal-body .card-inner {
        padding: 0.5rem;
    }

    .modal-body .card-inner .nav-tabs-card {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}