﻿

/* ============ باکس کاربر جاری ============ */
.current-user-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gold);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .current-user-box > i {
        color: var(--gold);
        font-size: 1.5rem;
        filter: drop-shadow(0 0 6px var(--gold-glow));
    }

    .current-user-box > div {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

.current-user-label {
    color: rgba(212, 175, 55, 0.7);
    font-size: 0.72rem;
    font-weight: 600;
}

.current-user-name {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 800;
}

/* ============ گروه جستجو ============ */
.search-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

    .search-input-group .form-control {
        flex: 1;
        font-family: 'Courier New', monospace;
        letter-spacing: 1px;
        direction: ltr;
        text-align: left;
        font-weight: 700;
    }

.btn-search {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--gold);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-search:hover:not(:disabled) {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        color: var(--ink);
        border-color: var(--ink);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    }

    .btn-search:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .btn-search i {
        font-size: 0.95rem;
    }

.form-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-weight: 500;
    padding-top: 0.25rem;
}

    .form-hint i {
        color: var(--gold);
        font-size: 0.85rem;
    }

/* ============ نتیجه جستجو ورزشکار ============ */
.athlete-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #e6f7ee 0%, #d7f0e1 100%);
    border: 1.5px solid var(--success);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    animation: slideDown 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.athlete-result::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: var(--success);
}

.athlete-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.athlete-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.athlete-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.4;
}

.athlete-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 600;
}

    .athlete-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .athlete-meta i {
        color: var(--gold-dark);
        font-size: 0.82rem;
    }

.athlete-verified-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(15, 122, 61, 0.4);
}

/* ============ ریسپانسیو ============ */
@media (max-width: 500px) {
    .search-input-group {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .athlete-result {
        flex-direction: column;
        text-align: center;
    }

    .athlete-meta {
        justify-content: center;
    }
}


/* هدر */
.page-header {
    max-width: 1300px;
    margin: 0 auto 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.9rem;
    position: relative;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
}

    .page-title i {
        color: var(--gold);
        font-size: 2.1rem;
        filter: drop-shadow(0 6px 14px var(--gold-glow));
        animation: pulse 3s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.page-title span {
    background: linear-gradient(135deg, var(--ink) 20%, var(--gold) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--ink), var(--gold), transparent);
    border-radius: 4px;
}

.page-subtitle {
    font-size: 1.05rem;
    color: var(--ink-soft);
    font-weight: 500;
    max-width: 680px;
    margin: 0 auto;
}

/* ابزار */
.toolbar {
    max-width: 1300px;
    margin: 0 auto 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.stat-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border: 1.5px solid var(--gold);
    border-radius: 60px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(212, 175, 55, 0.1);
}

    .stat-box i {
        color: var(--gold);
        font-size: 1.35rem;
        filter: drop-shadow(0 0 8px var(--gold-glow));
    }

.stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

    .stat-text small {
        color: rgba(212, 175, 55, 0.75);
        font-size: 0.72rem;
        font-weight: 600;
    }

    .stat-text strong {
        color: var(--gold);
        font-size: 1.15rem;
        font-weight: 800;
    }

.search-box {
    position: relative;
    flex: 1 1 320px;
    max-width: 460px;
}

    .search-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gold);
        font-size: 1.05rem;
        pointer-events: none;
    }

    .search-box input {
        width: 100%;
        padding: 0.9rem 3.2rem 0.9rem 1.2rem;
        font-family: inherit;
        font-size: 0.95rem;
        color: var(--ink);
        background: var(--white);
        border: 2px solid var(--ink);
        border-radius: 60px;
        outline: none;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
    }

        .search-box input::placeholder {
            color: var(--ink-muted);
        }

        .search-box input:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), var(--shadow-md);
        }

/* فیلتر */
.filters-bar {
    max-width: 1300px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-sm);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--ink-soft);
    background: var(--white);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

    .filter-chip i {
        font-size: 0.85rem;
        color: var(--gold);
    }

    .filter-chip:hover {
        border-color: var(--gold);
        color: var(--ink);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .filter-chip.active {
        background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
        color: var(--gold);
        border-color: var(--gold);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

        .filter-chip.active i {
            color: var(--gold);
        }

/* گرید */
.events-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}

/* کارت رویداد */
.event-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    animation: cardIn 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) backwards;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.event-card.closed {
    opacity: 0.7;
}

    .event-card.closed:hover {
        transform: translateY(-4px);
    }

/* هدر کارت */
.event-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.event-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

    .event-icon i {
        color: var(--gold);
        font-size: 1.6rem;
        filter: drop-shadow(0 0 6px var(--gold-glow));
    }

.event-title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.5;
}

.event-registered-count {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-muted);
    background: #f5f5f5;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid #e8e8e8;
}

    .event-registered-count i {
        color: var(--gold-dark);
        font-size: 0.72rem;
    }

/* اطلاعات */
.event-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--gold);
    transition: all 0.3s ease;
}

    .info-row:hover {
        background: #fff4d1;
        transform: translateX(-4px);
    }

    .info-row i {
        color: var(--gold-dark);
        font-size: 1.05rem;
        flex-shrink: 0;
    }

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    flex: 1;
}

.info-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.3px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

.info-row.fee {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4d1 100%);
    border-right-color: var(--gold-dark);
}

    .info-row.fee .info-value {
        color: var(--gold-dark);
        font-size: 1rem;
    }

/* وضعیت */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    width: fit-content;
}

    .status-badge.open {
        background: #e6f7ee;
        color: var(--success);
        border: 1px solid #b8e6c9;
    }

    .status-badge.soon {
        background: #fef5e0;
        color: #a86f0f;
        border: 1px solid #f5dcb0;
    }

    .status-badge.closed {
        background: #fdecec;
        color: var(--danger);
        border: 1px solid #f5c2c0;
    }

    .status-badge i {
        font-size: 0.85rem;
    }

/* فوتر */
.event-footer {
    position: relative;
    z-index: 1;
    margin-top: 0.15rem;
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.4rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--gold);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 40px;
    border: 1.5px solid var(--gold);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

    .btn-register:hover:not(:disabled) {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        color: var(--ink);
        border-color: var(--ink);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45);
    }

    .btn-register:disabled {
        background: #f0f0f0;
        color: #b0b0b0;
        border-color: #d0d0d0;
        cursor: not-allowed;
        box-shadow: none;
    }

    .btn-register i {
        font-size: 1rem;
    }

    .btn-register.already-registered {
        background: #e6f7ee;
        color: var(--success);
        border-color: #b8e6c9;
        cursor: default;
    }

        .btn-register.already-registered:hover {
            transform: none;
            background: #e6f7ee;
            color: var(--success);
        }

/* ============ مودال ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 1.5rem;
}

    .modal-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--gold);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(212, 175, 55, 0.15);
    max-width: 540px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-header {
    padding: 1.35rem 1.6rem 1.15rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-bottom: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 800;
}

    .modal-title i {
        font-size: 1.35rem;
        filter: drop-shadow(0 0 8px var(--gold-glow));
    }

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .modal-close-btn:hover {
        background: var(--gold);
        color: var(--ink);
        transform: rotate(90deg);
    }

.modal-body {
    padding: 1.6rem;
}

.modal-event-summary {
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
    border-right: 4px solid var(--gold);
}

    .modal-event-summary h3 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--ink);
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

        .modal-event-summary h3 i {
            color: var(--gold-dark);
        }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

    .summary-row strong {
        color: var(--ink);
        font-weight: 700;
    }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

    .form-label i {
        color: var(--gold);
        font-size: 0.95rem;
    }

    .form-label .required {
        color: var(--danger);
    }

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 2px solid #e5e5e5;
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    }

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.75rem;
    appearance: none;
}

.alert-inline {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

    .alert-inline.show {
        display: flex;
    }

    .alert-inline.error {
        background: #fdecec;
        color: var(--danger);
        border-right: 3px solid var(--danger);
    }

    .alert-inline.success {
        background: #e6f7ee;
        color: var(--success);
        border-right: 3px solid var(--success);
    }

.modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.6rem 1.6rem;
}



.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--gold);
    border: 1.5px solid var(--gold);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

    .btn-primary:hover:not(:disabled) {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        color: var(--ink);
        border-color: var(--ink);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45);
    }

    .btn-primary:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-secondary {
    background: var(--white);
    color: var(--ink-soft);
    border: 2px solid #e5e5e5;
}

    .btn-secondary:hover {
        border-color: var(--gold);
        color: var(--gold-dark);
    }

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.btn.loading .btn-loader {
    display: inline-block;
}

.btn.loading .btn-text,
.btn.loading > i {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast */
.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 99999;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1);
    border-right: 5px solid var(--gold);
    max-width: 90vw;
    font-weight: 600;
}

    .toast.show {
        transform: translateX(-50%) translateY(0);
    }

    .toast.success {
        border-right-color: var(--success);
    }

    .toast.error {
        border-right-color: var(--danger);
    }

    .toast i {
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .toast.success i {
        color: var(--success);
    }

    .toast.error i {
        color: var(--danger);
    }

    .toast.info i {
        color: var(--gold);
    }

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink);
}

.toast-message {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 500;
}

/* حالت خالی */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    border: 1.5px dashed rgba(212, 175, 55, 0.5);
}

    .empty-state i {
        font-size: 4rem;
        color: var(--gold);
        display: block;
        margin-bottom: 1rem;
        opacity: 0.6;
    }

    .empty-state h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 0.5rem;
    }

    .empty-state p {
        color: var(--ink-muted);
        font-size: 0.95rem;
    }

/* رسپانسیو */
@media (max-width: 900px) {
    .page-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 640px) {
    body {
        padding: 1.75rem 1rem 3rem;
    }

    .page-title {
        font-size: 1.55rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

        .page-title i {
            font-size: 1.4rem;
        }

    .toolbar {
        gap: 0.75rem;
    }

    .stat-box {
        padding: 0.7rem 1.1rem;
        width: 100%;
        justify-content: center;
    }

    .filters-bar {
        border-radius: 22px;
        padding: 0.85rem;
        gap: 0.5rem;
    }

    .filter-chip {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .event-card {
        padding: 1.4rem 1.25rem 1.25rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
