/* Ä°statistikler CSS */
.stats-container {
    padding: 2rem 0;
    background: #ffffff;
    /* min-height: 100vh; */
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

/* Anlık Güncelleme Bildirimi - Sağ Üst Köşe */
.stats-update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4), 0 0 20px rgba(220, 38, 38, 0.2);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    font-size: 14px;
    font-weight: 600;
    animation: slideInRight 0.3s ease-out, pulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.stats-update-notification.show {
    display: flex;
}

.stats-update-notification i {
    animation: spin 1s linear infinite;
}

.stats-update-notification .update-text {
    white-space: nowrap;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

    .stats-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
        animation: float 20s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.stats-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
}

.stats-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Loading Animation - Kırmızı Tema */
.stats-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: white;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 25%, #991b1b 50%, #7f1d1d 75%, #dc2626 100%);
    background-size: 200% 200%;
    border-radius: 20px;
    margin: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4), 0 0 40px rgba(220, 38, 38, 0.2);
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.stats-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.stats-loading::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 4s linear infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-spinner {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 2rem;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.9);
    border-right-color: rgba(255, 255, 255, 0.9);
    animation: spin 1.5s linear infinite, pulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.loading-spinner::after {
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.95);
    border-left-color: rgba(255, 255, 255, 0.95);
    animation: spin 2s linear infinite reverse, pulse 2s ease-in-out infinite 0.5s;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* İç spinner */
.loading-spinner .inner-spinner {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Merkez nokta */
.loading-spinner .center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #fff, #fee2e2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: centerPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 50px rgba(255, 255, 255, 0.6), 0 0 75px rgba(255, 255, 255, 0.3);
}

.loading-text {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #fee2e2, #fecaca, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease-in-out infinite, textPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Loading progress bar */
.loading-progress {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loading-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), transparent);
    border-radius: 4px;
    animation: progressMove 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Loading dots */
.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.loading-dots .dot {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #fff, #fee2e2);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
}

.loading-dots .dot:nth-child(1) { animation-delay: 0s; }
.loading-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dots .dot:nth-child(3) { animation-delay: 0.4s; }

/* Loading states için ek animasyonlar */
.stats-loading.loading-complete {
    animation: loadingComplete 0.8s ease-out forwards;
}

@keyframes loadingComplete {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% { 
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Responsive loading */
@media (max-width: 768px) {
    .stats-loading {
        margin: 1rem;
        padding: 2rem;
    }
    
    .loading-spinner {
        width: 100px;
        height: 100px;
    }
    
    .loading-spinner::after {
        top: 15px;
        left: 15px;
        width: 70px;
        height: 70px;
    }
    
    .loading-spinner .inner-spinner {
        top: 30px;
        left: 30px;
        width: 30px;
        height: 30px;
    }
    
    .loading-progress {
        width: 250px;
    }
    
    .loading-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .stats-loading {
        padding: 1.5rem;
    }
    
    .loading-spinner {
        width: 80px;
        height: 80px;
    }
    
    .loading-spinner::after {
        top: 10px;
        left: 10px;
        width: 60px;
        height: 60px;
    }
    
    .loading-spinner .inner-spinner {
        top: 20px;
        left: 20px;
        width: 20px;
        height: 20px;
    }
    
    .loading-progress {
        width: 200px;
    }
    
    .loading-text {
        font-size: 1.1rem;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes centerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

@keyframes textGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes progressMove {
    0% { left: -30%; }
    100% { left: 100%; }
}

@keyframes dotBounce {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    border-radius: 25px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    backdrop-filter: blur(10px);
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 180px;
}

    /* Arka plan simgesi - saÄŸ alt kÃ¶ÅŸede 45 derece */
    .stat-card::before {
        content: '';
        position: absolute;
        bottom: -20px;
        right: -20px;
        font-size: 120px;
        opacity: 0.1;
        color: white;
        z-index: 1;
        transform: rotate(-45deg);
        transform-origin: center;
    }

    /* Her kart iÃ§in farklÄ± arka plan nesneleri - iÃ§eriÄŸe uygun */
    /* TÃ¼m Ã¶zel simgeler kaldÄ±rÄ±ldÄ± - genel stil kullanÄ±lÄ±yor */

    /* Her kart iÃ§in farklÄ± renkler */
    .stat-card[data-stat-index="0"] {
        background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    }

    .stat-card[data-stat-index="1"] {
        background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    }

    .stat-card[data-stat-index="2"] {
        background: linear-gradient(135deg, #2563EB, #1E40AF);
    }

    .stat-card[data-stat-index="3"] {
        background: linear-gradient(135deg, #7C3AED, #5B21B6);
    }

    .stat-card[data-stat-index="4"] {
        background: linear-gradient(135deg, #059669, #047857);
    }

    .stat-card[data-stat-index="5"] {
        background: linear-gradient(135deg, #DC2626, #B91C1C);
    }

    .stat-card[data-stat-index="6"] {
        background: linear-gradient(135deg, #EA580C, #C2410C);
    }

    .stat-card[data-stat-index="7"] {
        background: linear-gradient(135deg, #059669, #047857);
    }

    .stat-card[data-stat-index="8"] {
        background: linear-gradient(135deg, #7C2D12, #5C1910);
    }

    .stat-card[data-stat-index="9"] {
        background: linear-gradient(135deg, #92400E, #78350F);
    }

    .stat-card[data-stat-index="10"] {
        background: linear-gradient(135deg, #78350F, #5C1910);
    }

    .stat-card[data-stat-index="11"] {
        background: linear-gradient(135deg, #BE185D, #9D174D);
    }

    .stat-card[data-stat-index="12"] {
        background: linear-gradient(135deg, #F59E0B, #D97706);
    }

    .stat-card[data-stat-index="13"] {
        background: linear-gradient(135deg, #10B981, #059669);
    }

    .stat-card[data-stat-index="14"] {
        background: linear-gradient(135deg, #0EA5E9, #0284C7);
    }

    .stat-card[data-stat-index="15"] {
        background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    }

    .stat-card[data-stat-index="16"] {
        background: linear-gradient(135deg, #F59E0B, #D97706);
    }

    .stat-card[data-stat-index="17"] {
        background: linear-gradient(135deg, #EC4899, #DB2777);
    }

    .stat-card[data-stat-index="18"] {
        background: linear-gradient(135deg, #06B6D4, #0891B2);
    }

    .stat-card[data-stat-index="19"] {
        background: linear-gradient(135deg, #84CC16, #65A30D);
    }

    .stat-card[data-stat-index="20"] {
        background: linear-gradient(135deg, #F97316, #EA580C);
    }

    /* Simge container'Ä± - sol Ã¼stteki kÃ¼Ã§Ã¼k simge */
    .stat-card .stat-icon {
        position: absolute !important;
        top: 10px;
        left: 10px;
        z-index: 3;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

        .stat-card .stat-icon i {
            font-size: 50px;
            color: white;
            animation: iconPulse 2s ease-in-out infinite;
            transition: all 0.3s ease;
        }

    /* Ä°Ã§erik - ortada */
    .stat-card .stat-content {
        position: absolute;
        z-index: 3;
        text-align: center;
        padding-top: 10px;
        right: 72px;
        top: 16px;
    }

    .stat-card .stat-number {
        font-size: 2.8rem;
        font-weight: 700;
        margin: 0 0 0.5rem;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .stat-card .stat-label {
        font-size: 1.1rem;
        margin: 0 0 0.5rem;
        color: white;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .stat-card .stat-info {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        font-style: italic;
        line-height: 1.4;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Arka plan simgesi - saÄŸ alt kÃ¶ÅŸede bÃ¼yÃ¼k ve soluk */
    .stat-card::before {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        font-size: 140px;
        opacity: 0.08;
        color: white;
        z-index: 1;
        transform: rotate(-20deg);
        transform-origin: center;
    }

/* Modal Styles - KKU Mavi Tema */
.stats-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.85);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease-out;
}

    .stats-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 0;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.35);
    border: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #003366 0%, #004080 50%, #0052a3 100%);
    color: white;
    margin-bottom: 0;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    line-height: 1;
}

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

.modal-body {
    margin-bottom: 0;
    padding: 1.5rem;
    background: white;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
}

.stat-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(0, 51, 102, 0.08);
    transition: all 0.2s ease;
    border-radius: 0;
    margin: 0.125rem 0;
}

    .stat-detail:hover {
        background: linear-gradient(90deg, rgba(0, 51, 102, 0.03), rgba(0, 51, 102, 0.05));
        transform: translateX(4px);
    }

    .stat-detail:last-child {
        border-bottom: none;
    }

.stat-detail-label {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-detail-label::before {
    content: '▸';
    color: #003366;
    font-size: 0.7rem;
    opacity: 0.5;
}

.stat-detail-value {
    font-weight: 700;
    color: #003366;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #003366, #004080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-footer {
    display: none;
}

    .modal-footer .btn {
        background: linear-gradient(135deg, #003366 0%, #004080 50%, #0052a3 100%);
        border: none;
        color: white;
        padding: 0.625rem 1.75rem;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 3px 12px rgba(0, 51, 102, 0.25);
        position: relative;
        overflow: hidden;
    }

    .modal-footer .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .modal-footer .btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
    }

    .modal-footer .btn:hover::before {
        left: 100%;
    }

    .modal-footer .btn:active {
        transform: translateY(-1px) scale(1.02);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .stats-container {
        padding: 1rem 0;
    }

    .stats-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .modal-content {
        margin: 1rem;
        max-width: 95%;
    }

    .modal-header {
        padding: 0.875rem 1.25rem;
        min-height: 50px;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-footer {
        padding: 0.875rem 1.25rem;
    }

    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats-title {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

        .stat-icon i {
            font-size: 1.5rem;
        }

    .stat-number {
        font-size: 2rem;
    }
}

/* Error State */
.stats-error {
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.stats-error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.stats-error-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.stats-error-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .stats-error-btn:hover {
        background: rgba(255,255,255,0.3);
        border-color: rgba(255,255,255,0.5);
    }

/* Success Animation */
.stat-card.success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Loading States */
.stat-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

    .stat-card.loading .stat-number {
        background: linear-gradient(90deg, #e2e8f0 25%, #cbd5e0 50%, #e2e8f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Hover efektleri */
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

    .stat-card:hover .stat-icon {
        transform: scale(1.1);
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .stat-card:hover::before {
        opacity: 0.12;
        transform: rotate(-20deg);
    }

/* Kart animasyonlarÄ± */
.stat-card:nth-child(1) {
    animation: slideInLeft 0.6s ease-out 0.1s both;
}

.stat-card:nth-child(2) {
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.stat-card:nth-child(3) {
    animation: slideInLeft 0.6s ease-out 0.3s both;
}

.stat-card:nth-child(4) {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

.stat-card:nth-child(5) {
    animation: slideInLeft 0.6s ease-out 0.5s both;
}

.stat-card:nth-child(6) {
    animation: slideInRight 0.6s ease-out 0.6s both;
}

.stat-card:nth-child(7) {
    animation: slideInLeft 0.6s ease-out 0.7s both;
}

.stat-card:nth-child(8) {
    animation: slideInRight 0.6s ease-out 0.8s both;
}

.stat-card:nth-child(9) {
    animation: slideInLeft 0.6s ease-out 0.9s both;
}

.stat-card:nth-child(10) {
    animation: slideInRight 0.6s ease-out 1.0s both;
}

.stat-card:nth-child(11) {
    animation: slideInLeft 0.6s ease-out 1.1s both;
}

.stat-card:nth-child(12) {
    animation: slideInRight 0.6s ease-out 1.2s both;
}

.stat-card:nth-child(13) {
    animation: slideInLeft 0.6s ease-out 1.3s both;
}

.stat-card:nth-child(14) {
    animation: slideInRight 0.6s ease-out 1.4s both;
}

.stat-card:nth-child(15) {
    animation: slideInLeft 0.6s ease-out 1.5s both;
}

.stat-card:nth-child(16) {
    animation: slideInRight 0.6s ease-out 1.6s both;
}

.stat-card:nth-child(17) {
    animation: slideInLeft 0.6s ease-out 1.7s both;
}

.stat-card:nth-child(18) {
    animation: slideInRight 0.6s ease-out 1.8s both;
}

.stat-card:nth-child(19) {
    animation: slideInLeft 0.6s ease-out 1.9s both;
}

.stat-card:nth-child(20) {
    animation: slideInRight 0.6s ease-out 2.0s both;
}

.stat-card:nth-child(21) {
    animation: slideInLeft 0.6s ease-out 2.1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Simge animasyonlarÄ± - CanlÄ± simgeler */
.stat-card .stat-icon i {
    animation: iconPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon i {
    animation: iconBounce 0.6s ease-in-out;
    transform: scale(1.2);
}

/* Simge pulse animasyonu */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Simge bounce animasyonu */
@keyframes iconBounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1.2);
    }

    40%, 43% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1.1);
    }

    90% {
        transform: scale(1.2);
    }
}

/* Her kart iÃ§in farklÄ± simge animasyon hÄ±zlarÄ± */
.stat-card[data-stat-index="0"] .stat-icon i {
    animation-delay: 0s;
}

.stat-card[data-stat-index="1"] .stat-icon i {
    animation-delay: 0.2s;
}

.stat-card[data-stat-index="2"] .stat-icon i {
    animation-delay: 0.4s;
}

.stat-card[data-stat-index="3"] .stat-icon i {
    animation-delay: 0.6s;
}

.stat-card[data-stat-index="4"] .stat-icon i {
    animation-delay: 0.8s;
}

.stat-card[data-stat-index="5"] .stat-icon i {
    animation-delay: 1s;
}

.stat-card[data-stat-index="6"] .stat-icon i {
    animation-delay: 1.2s;
}

.stat-card[data-stat-index="7"] .stat-icon i {
    animation-delay: 1.4s;
}

.stat-card[data-stat-index="8"] .stat-icon i {
    animation-delay: 1.6s;
}

.stat-card[data-stat-index="9"] .stat-icon i {
    animation-delay: 1.8s;
}

.stat-card[data-stat-index="10"] .stat-icon i {
    animation-delay: 2s;
}

.stat-card[data-stat-index="11"] .stat-icon i {
    animation-delay: 2.2s;
}

.stat-card[data-stat-index="12"] .stat-icon i {
    animation-delay: 2.4s;
}

.stat-card[data-stat-index="13"] .stat-icon i {
    animation-delay: 2.6s;
}

.stat-card[data-stat-index="14"] .stat-icon i {
    animation-delay: 2.8s;
}

.stat-card[data-stat-index="15"] .stat-icon i {
    animation-delay: 3s;
}

.stat-card[data-stat-index="16"] .stat-icon i {
    animation-delay: 3.2s;
}

.stat-card[data-stat-index="17"] .stat-icon i {
    animation-delay: 3.4s;
}

.stat-card[data-stat-index="18"] .stat-icon i {
    animation-delay: 3.6s;
}

.stat-card[data-stat-index="19"] .stat-icon i {
    animation-delay: 3.8s;
}

.stat-card[data-stat-index="20"] .stat-icon i {
    animation-delay: 4s;
}

/* Simge container iÃ§in glow efekti */
.stat-card .stat-icon {
    position: relative;
    overflow: hidden;
}

    .stat-card .stat-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }

.stat-card:hover .stat-icon::before {
    width: 100px;
    height: 100px;
}

/* Simge iÃ§in 3D efekti */
.stat-card .stat-icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Simge hover'da parÄ±ldama efekti */
.stat-card:hover .stat-icon i {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* Modal Animasyonları */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal scrollbar styling */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #003366, #004080);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #004080, #0052a3);
}
