@font-face {
    font-family: "Vazirmatn";
    src: url("/shared/assets/fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/shared/assets/fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html,
body,
button,
input,
textarea,
select {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f4f6f8;
    min-height: 100vh;
}

button,
input {
    font-family: inherit;
}
.protected-pending > *:not(.accounting-bootstrap-status) {
    visibility: hidden;
}

.accounting-bootstrap-status {
    display: none;
}

.protected-pending .accounting-bootstrap-status {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    visibility: visible;
    background: #f4f7f9;
}

.accounting-bootstrap-card {
    display: grid;
    width: min(360px, 100%);
    padding: 24px;
    justify-items: center;
    gap: 8px;
    border: 1px solid #e1e7ec;
    border-radius: 14px;
    background: #fff;
    color: #263b4d;
    text-align: center;
    box-shadow: 0 16px 38px rgb(16 36 61 / 8%);
}

.accounting-bootstrap-card strong { font-size: 15px; }
.accounting-bootstrap-card p { color: #6a7c8c; font-size: 12px; line-height: 1.8; }
.accounting-bootstrap-spinner {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
    border: 3px solid #d9ebe5;
    border-top-color: #07966f;
    border-radius: 50%;
    animation: accounting-bootstrap-spin .75s linear infinite;
}
@keyframes accounting-bootstrap-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .accounting-bootstrap-spinner { animation: none; } }
.legacy-redirect {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 12px;
    background: #F8FAFC;
    color: #334155;
    text-align: center;
}

.legacy-redirect a {
    color: #047857;
    font-weight: 800;
}
/* Shared SVG icon system: stable across fonts, browsers and mobile devices. */
.ui-icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    pointer-events: none;
}

.ui-icon-fill {
    fill: currentColor;
    stroke: none;
}
