.global-loader {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(246, 243, 255, .64);
    backdrop-filter: blur(2px)
}

.global-loader.show {
    display: flex
}

.global-loader-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #deddf0;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(17, 18, 34, .18);
    font-weight: 800;
    color: #17172a
}

.global-loader-spinner,
.button-spinner {
    display: inline-block;
    border-radius: 50%;
    border: 3px solid #deddf0;
    border-top-color: #1300d8;
    animation: loaderSpin .75s linear infinite
}

.global-loader-spinner {
    width: 28px;
    height: 28px
}

.button-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-top-color: #fff
}

.btn-loading {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: wait !important;
    opacity: .86
}

.is-loading body {
    cursor: progress
}

.table-loader-row .table-loader-cell {
    background: transparent;
    border: none;
    padding: 12px 0;
    text-align: center
}

.table-loader-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    font-weight: 700;
    color: #2b2b3a
}

.table-loader-content .global-loader-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px
}

.file-preview{
    margin-top:10px;
}

.file-preview img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #ddd;
}

.file-preview iframe{
    width:100%;
    height:300px;
    border:1px solid #ddd;
    border-radius:8px;
}

.file-preview a{
    display:inline-block;
    margin-top:10px;
}

.loader-backdrop{
    position: fixed;
    inset:0;
    background: rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.loader-box{
    background:#fff;
    padding:20px 30px;
    border-radius:10px;
    text-align:center;
}

.spinner{
    width:40px;
    height:40px;
    border:4px solid #ddd;
    border-top:4px solid #2563eb;
    border-radius:50%;
    animation: spin 1s linear infinite;
    margin:auto auto 10px;
}

@keyframes spin{
    100%{
        transform: rotate(360deg);
    }
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:760px) {
    .global-loader-box {
        padding: 14px 18px
    }

    .global-loader-text {
        font-size: 14px
    }
}