/* prettier-ignore */
.font-iransharp {
    font-family: iransharp;
}

.font-iransharp-2 {
    font-family: iransharp;
    font-size: smaller;
}

.form-label {
    font-family: iransharp;
}

.form-check-label {
    font-family: iransharp;
}

.form-select {
    font-family: iransharp;
}

.form-control {
    font-family: iransharp;
}

.dropdown-item {
    font-family: iransharp;
}

.nav-item {
    font-family: iransharp;
}

.dropdown {
    font-family: iransharp;
}

.navbar-vertical-label {
    font-family: iransharp;
}

.user-lbl {
    font-family: iransharp;
    font-size: smaller;
}

.user-lbl-sm {
    font-family: iransharp;
    font-size: small !important;
}

.user-lbl2 {
    font-family: iransharp;
    font-size: 14pt;
}

.lbl-for {
    font-family: iransharp;
}

.userNotifiedBackColor {
    background-color: rgb(255, 232, 232);
}

.ltr-col {
    direction: ltr;
}

.form-group.required .form-label:after {
    content: '*';
    color: red;
}

.tooltip .tooltip-inner {
    font-family: "iransharp" !important;
}

#notifyToast {
    z-index: 5555;
}

.disabled-link {
    pointer-events: none;
    /* disables clicking */
    color: gray;
    /* optional visual style */
    text-decoration: none;
    cursor: default;
}

/* Headers */
table.dataTable thead th {
    font-size: smaller;
}

/* All body cells */
table.dataTable tbody td {
    font-size: small;
}

tr.dtrg-group {
    background-color: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
}

tr.dtrg-group.collapsed {
    opacity: 0.6;
}

.otp-input {
    /*font-size: 1.5rem;*/
    width: 45px;
    height: 45px;
    margin: 0 0.3rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

/* ---------- configurable variables ---------- */
:root {
    --spinner-size: 48px;
    /* total spinner width */
    --dot-size: 10px;
    /* single dot diameter */
    --gap: 6px;
    /* gap between dots */
    --dot-color: #007bff;
    /* default dot color (Bootstrap primary) */
    --duration: 0.9s;
    /* animation cycle */
}

/* ---------- spinner layout ---------- */
.three-dot-spinner {
    display: inline-flex;
    align-items: start;
    justify-content: center;
    width: var(--spinner-size);
    height: var(--spinner-size);
    /* keep text baseline consistent when used inline */
    vertical-align: middle;
}

.three-dot-spinner .dot {
    width: var(--dot-size);
    height: var(--dot-size);
    margin: 0 calc(var(--gap) / 2);
    border-radius: 50%;
    background: var(--dot-color);
    transform-origin: center;
    /* ensure GPU acceleration */
    will-change: transform, opacity;
    animation-name: three-dot-pulse;
    animation-duration: var(--duration);
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.2, .6, .8, .4);
}

/* Staggered delays for the three dots */
.three-dot-spinner .dot:nth-child(1) {
    animation-delay: calc(var(--duration) * -0.32);
}

.three-dot-spinner .dot:nth-child(2) {
    animation-delay: calc(var(--duration) * -0.16);
}

.three-dot-spinner .dot:nth-child(3) {
    animation-delay: 0s;
}

/* Keyframes: scale + fade for a pleasant "bouncing" feel */
@keyframes three-dot-pulse {
    0% {
        transform: translateY(0) scale(0.9);
        opacity: 0.6;
    }

    30% {
        transform: translateY(-6px) scale(1.12);
        opacity: 1;
    }

    60% {
        transform: translateY(0) scale(0.98);
        opacity: 0.7;
    }

    100% {
        transform: translateY(0) scale(0.9);
        opacity: 0.6;
    }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .three-dot-spinner .dot {
        animation: none;
        opacity: 1;
    }
}

/* Small/large size helpers */
.spinner-sm {
    --spinner-size: 28px;
    --dot-size: 6px;
    --gap: 4px;
    --duration: 0.75s;
}

.spinner-lg {
    --spinner-size: 64px;
    --dot-size: 14px;
    --gap: 8px;
    --duration: 1s;
}