/* assets/css/custom.css - با فونت لوکال */

/* تعریف فونت وزیرمتن از فایل لوکال */
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

body {
    background: #f4f6f9;
    font-size: 1rem;
    line-height: 1.5;
}

/* بقیه استایل‌ها مانند قبل */
.header-custom {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-custom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-logo img {
    height: 45px;
    width: auto;
    max-width: 150px;
}

.club-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.club-title {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
    margin-top: 2px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.welcome-text {
    font-size: 0.85rem;
    color: #495057;
    white-space: nowrap;
}

.card {
    border-radius: 15px;
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .header-custom .container {
        flex-direction: column;
        text-align: center;
    }
    .header-logo {
        justify-content: center;
    }
    .club-name {
        font-size: 1rem;
    }
    .header-user {
        justify-content: center;
        width: 100%;
    }
    .welcome-text {
        white-space: normal;
    }
    .table-responsive {
        font-size: 0.85rem;
    }
    .btn {
        width: 100%;
        margin-bottom: 8px;
    }
    .btn-sm {
        width: auto;
    }
}

.footer-custom {
    background-color: #343a40;
    color: #ffffff;
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

/* آواتار دایره‌ای ثابت */
.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #0d6efd, #0a58ca);
    box-shadow: 0 4px 10px rgba(13,110,253,0.3);
    flex-shrink: 0;
}

/* در موبایل کمی کوچکتر شود */
@media (max-width: 576px) {
    .avatar-circle {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}