@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Wix+Madefor+Display:wght@400;500;600;700;800&display=swap");
* {
    transition: 0.2s;
    font-family: "Nunito Sans", sans-serif;
    font-family: "Wix Madefor Display", sans-serif;
}
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
*::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: rgba(48, 48, 48, 0.156);
}
.breadcrumb-zaw a {
    text-decoration: none !important;
    text-transform: capitalize;
}
.breadcrumb-zaw div:last-child button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.breadcrumb-zaw div:last-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
/* Notification */
.notification {
    position: fixed;
    top: 0;
    padding: 12px;
    z-index: 9999;
}
.notification .alert {
    border: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
/* Loading */
.loading-content {
    transition: 0.7s !important;
    margin: 0;
    top: 0;
    padding: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 999999;
    height: 100vh;
    width: 100vw;
    display: flex;

    justify-content: center;
    align-items: center;
    background-color: var(--bs-light);
    overflow: hidden;
    opacity: 1;
}
.loading-content.hidden .spinner-border {
    display: none;
}
.loading-content.hidden {
    /* left: -100vw !important; */
    z-index: -9999;
    opacity: 0;
    position: absolute;
}
/* Color */
.bg-primary,
.btn-primary {
    border-color: #3f6ad8 !important;
    background-color: #3f6ad8 !important;
}
a {
    color: #3f6ad8;
}
.bg-light,
.btn-light {
    border-color: #f1f1f1 !important;
    background-color: #f1f1f1 !important;
}
.bg-success,
.btn-success {
    border-color: #31a66a !important;
    background-color: #31a66a !important;
}
.bg-dark,
.btn-dark {
    border-color: #343a40 !important;
    background-color: #343a40 !important;
}
.bg-alternate,
.btn-alternate {
    border-color: #794c8a !important;
    background-color: #794c8a !important;
}
.bg-danger,
.btn-danger {
    border-color: #d92550 !important;
    background-color: #d92550 !important;
}
.bg-secondary,
.btn-secondary {
    border-color: #6c757d !important;
    background-color: #6c757d !important;
}
.bg-warning,
.btn-warning {
    border-color: #f7b924 !important;
    background-color: #f7b924 !important;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    font-size: 30px;
    background: linear-gradient(
            135deg,
            #0000 calc(50% - 0.5em),
            var(--bs-primary) 0 calc(50% + 0.5em),
            #0000 0
        )
        right/300% 100%;
    animation: l22 2s infinite;
}
.loader::before {
    content: "Harap Tunggu...";
    color: #0000;
    padding: 0 5px;
    background: inherit;
    background-image: linear-gradient(
        135deg,
        var(--bs-primary) calc(50% - 0.5em),
        #fff 0 calc(50% + 0.5em),
        var(--bs-primary) 0
    );
    -webkit-background-clip: text;
    background-clip: text;
}
@keyframes l22 {
    100% {
        background-position: left;
    }
}

/* Card */
.card {
    border-radius: 5px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border: 0 !important;
}
.card .card-header {
    border: 0 !important;
    background-color: transparent;
    margin: 0;
}
.card .card-header .card-title {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
}
.card .card-footer {
    border: 0 !important;
    background-color: transparent;
}
.card {
    border-radius: 12px !important;
}

.btn {
    border-radius: 6px !important;
    transition: 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 0.8rem;
}
.btn:hover {
    transform: scale(0.9);
}
.sidebar-content .list-group span {
    display: block;
    overflow: hidden;
    /* white-space: nowrap; */
}
.table th {
    border: none;
}

form,
select,
input,
textarea,
.icon,
.ql-editor,
.badge,
.alert,
.list-group-item {
    border-radius: 12px !important;
}
.badge {
    text-transform: uppercase;
}
a.lead {
    text-decoration: none;
}
th {
    border-bottom: 1px solid #6c757d48 !important;
}

.modal {
    z-index: 99999999;
}
.modal-content,
.modal-header,
.modal-footer,
.modal-body {
    border: 0;
}
.modal-header button {
    box-shadow: rgba(251, 62, 62, 0.1) 0px 4px 12px;
    transition: 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    margin-right: 5px !important;
}
.modal-header button:hover {
    transform: scale(0.9);
    box-shadow:
        rgba(255, 0, 0, 0.1) 0px 10px 15px -3px,
        rgba(255, 0, 0, 0.05) 0px 4px 6px -2px;
    background-color: #d9254ff0 !important;
}

/* Alert Component */
.simple-alerts {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1055;
    width: 350px;
    max-width: calc(100vw - 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simple-alert {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
    transform: translateX(100px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.alert-content {
    flex: 1;
    min-width: 0;
}

.alert-message {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    word-break: break-word;
}

.alert-close {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.7);
}

/* Alert Types */
.alert-success {
    border-left-color: #28a745;
}
.alert-success .alert-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.alert-error {
    border-left-color: #dc3545;
}
.alert-error .alert-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.alert-warning {
    border-left-color: #ffc107;
}
.alert-warning .alert-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.alert-info {
    border-left-color: #17a2b8;
}
.alert-info .alert-icon {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Kolaborasi Style */
.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}
.transition-all {
    transition: all 0.3s ease;
}
.object-fit-cover {
    object-fit: cover;
}
.accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    color: var(--bs-primary);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.1);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}
.list-group-item {
    background-color: transparent;
}

/* Responsive */
@media (max-width: 576px) {
    .simple-alerts {
        left: 20px;
        width: auto;
    }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .simple-alert {
        transform: translateY(-20px);
    }
}
