@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';

/* /Components/Shared/IsLoading.razor.rz.scp.css */
/* اسپینر برای لودینگ صفحه */
.page-loading-overlay[b-gdqr687e6x] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient( circle, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0) 40%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101; /*100 for modal/*/
}

.spinner[b-gdqr687e6x] {
    border: 10px solid var(--color-level3);
    border-top: 10px solid var(--danger);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin-b-gdqr687e6x 1s linear infinite;
}

@keyframes spin-b-gdqr687e6x {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* استایل 3 نقطه لودینگ */
.loading-dots[b-gdqr687e6x] {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 20px;
}

    .loading-dots span[b-gdqr687e6x] {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 0 5px;
        border-radius: 50%;
        opacity: 0;
        animation: loading-dots-b-gdqr687e6x 1.5s infinite;
    }

        .loading-dots span:nth-child(1)[b-gdqr687e6x] {
            animation-delay: 0s;
        }

        .loading-dots span:nth-child(2)[b-gdqr687e6x] {
            animation-delay: 0.3s;
        }

        .loading-dots span:nth-child(3)[b-gdqr687e6x] {
            animation-delay: 0.6s;
        }

/* انیمیشن نقطه‌ها */
@keyframes loading-dots-b-gdqr687e6x {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}
/* /Components/Shared/J68Input.razor.rz.scp.css */
.input-wrapper[b-72ikc1hr9u] {
    position: relative;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 0 0 1px black;
    background-color: white;
    padding: 0 12px;
    height: 40px;
}

    .input-wrapper > .form-control[b-72ikc1hr9u] {
        all: unset;
        width: 100%;
        background: transparent;
        direction: rtl;
        text-align: right;
    }

.floating-label[b-72ikc1hr9u] {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #757575;
    transition: all 0.2s ease;
    background-color: transparent;
    padding: 0 4px;
    cursor: text;
}

    .floating-label.float[b-72ikc1hr9u] {
        font-size: 0.8rem;
        top: -10px;
        transform: none;
        background-color: white;
    }

        .floating-label.float.not-focused-with-value[b-72ikc1hr9u] {
            color: black;
        }

/* حذف دکمه‌های up/down در input[type=number] */
input[type="number"][b-72ikc1hr9u]::-webkit-outer-spin-button,
input[type="number"][b-72ikc1hr9u]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"][b-72ikc1hr9u] {
    -moz-appearance: textfield;
}
