@font-face {
    font-family: "ExtraBold";
    src: url('/assets/font/YekanBakhFaNum-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: "Bold";
    src: url('/assets/font/YekanBakhFaNum-Bold.woff') format('woff');
}

@font-face {
    font-family: "Regular";
    src: url('/assets/font/YekanBakhFaNum-Regular.woff') format('woff');
}

* {
    padding: 0;
    margin: 0;
    user-select: none;
    box-sizing: border-box;
    user-select: none;
    direction: rtl;
}


:root {
    --title_color: #313131;
    --desc_color: #A2A2A2;
    --brown_light: #C67C4E;
    --cream: #f4f1eb;
    --gray: #E3E3E3;
}

.main-container {
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background: #f9f9f9;
}

h1 {
    font-family: "ExtraBold";
    font-size: 0.875rem;
    color: var(--title_color);
}

h2 {
    font-family: "ExtraBold";
    font-size: 1.2rem;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/* Loader Styles */
#page-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#page-loader.active {
    opacity: 1;
    pointer-events: all;
}


.loader-box {
    width: 200px;
    background: #f4f4f4;
    padding: 30px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.spinner {
    color: var(--brown_light);
    width: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    transform: translateX(-38px);
    animation: spin .5s infinite alternate linear;
}

@keyframes spin {
    50% {
        box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px
    }

    100% {
        box-shadow: 19px 0 0 0, 38px 0 0 3px, 57px 0 0 7px
    }
}

.loader-text {
    font-family: "Bold";
    font-size: 0.875rem;
    color: var(--title_color);
}