/*#region Fonts*/

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Vazir-Light.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Vazir-Regular.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Vazir-Medium.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Vazir-Bold.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/Vazir-Bold.ttf) format('woff2');
}
/*#endregion*/

/*#region Layout Styles*/
html, body {
    height: 100%;
}

.mud-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mud-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mud-main-content > div:first-child {
    flex: 1;
}
/*#endregion*/

/*#region Footer Styles*/
.footer-section {
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-divider);
    margin-top: auto;
}

.footer-title {
    color: var(--mud-palette-text-primary);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--mud-palette-text-secondary);
    line-height: 1.6;
}

.footer-link {
    color: var(--mud-palette-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.footer-contact {
    color: var(--mud-palette-text-secondary);
}

.footer-copyright {
    color: var(--mud-palette-text-secondary);
}

.social-links .social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links .social-icon:hover {
    transform: translateY(-2px);
    color: var(--mud-palette-primary);
}

.footer-legal {
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .footer-legal {
        justify-content: flex-start !important;
        margin-top: 1rem;
    }
}

/* Dark mode adjustments */
.mud-theme-dark .footer-section {
    background: var(--mud-palette-dark-background);
    border-top-color: var(--mud-palette-dark-divider);
}

/*#region Profile Page Styles*/
.profile-avatar {
    width: 80px;
    height: 80px;
}

.profile-header {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: white;
}

.profile-stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.settings-section {
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
}

.tab-content {
    padding: 24px;
}

.form-section {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 24px;
}

.stats-grid .mud-paper {
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-surface-variant) 100%);
    border: 1px solid var(--mud-palette-divider);
}

@media (max-width: 768px) {
    .tab-content {
        padding: 16px;
    }

    .form-section {
        padding: 16px;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }
}

/* Dark mode adjustments for profile */
.mud-theme-dark .profile-stats-card {
    background: var(--mud-palette-dark-surface);
}

.mud-theme-dark .settings-section {
    border-color: var(--mud-palette-dark-divider);
}

.mud-theme-dark .stats-grid .mud-paper {
    background: linear-gradient(135deg, var(--mud-palette-dark-surface) 0%, var(--mud-palette-dark-surface-variant) 100%);
}
/*#endregion*/
/*#endregion*/
