/* Base styles: fonts, reset, root variables, and global defaults. */

@font-face {
    font-family: 'Estedad';
    src: url('/static/fonts/Estedad-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/static/fonts/Estedad-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/static/fonts/Estedad-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Estedad', Tahoma, Arial, sans-serif;
}

:root {
    --primary-color: #5e72e4; /* آبی روشن مدرن */
    --secondary-color: #2dce89; /* سبز مدرن */
    --accent-color: #f5365c; /* قرمز مدرن */
    --text-color: #32325d; /* رنگ متن تیره‌تر */
    --light-gray: #f8f9fe; /* خاکستری روشن‌تر */
    --medium-gray: #e9ecef;
    --dark-gray: #8898aa;
    --white: #fff;
    --shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.fa-solid,
.fa-regular {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.125em;
    line-height: 1;
}

.fa-solid .local-fa-svg,
.fa-regular .local-fa-svg {
    width: 100%;
    height: 100%;
}

.fa-spin {
    animation: local-fa-spin 1s linear infinite;
}

@keyframes local-fa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


body {
    font-family: 'Estedad', tahoma, Arial, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    min-height: 100vh;
    overscroll-behavior-y: none;
}

.container {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 65px; /* Match the height of the bottom navbar */
}

#mainAppContainer.container {
    padding-bottom: 0;
}
