/* GV Bağış Raporları Dashboard Styles */

.gv-dashboard-container {
    max-width: 1200px;
    margin: 20px 0;
}

.gv-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gv-stat-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gv-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gv-stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.gv-stat-content {
    flex: 1;
}

.gv-stat-content h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.gv-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1e73be;
    margin-bottom: 4px;
    line-height: 1.2;
}

.gv-stat-label {
    color: #666;
    font-size: 14px;
}

.gv-period-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gv-period-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gv-period-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gv-period-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.gv-period-number {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 5px;
    line-height: 1.2;
}

.gv-period-amount {
    font-size: 20px;
    font-weight: 600;
    color: #1e73be;
    line-height: 1.2;
}

.gv-refresh-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.gv-last-updated {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

#refresh-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

#refresh-stats:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#refresh-stats .dashicons {
    font-size: 16px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .dashicons {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gv-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gv-period-stats {
        grid-template-columns: 1fr;
    }
    
    .gv-stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .gv-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gv-stat-number {
        font-size: 24px;
    }
    
    .gv-period-number {
        font-size: 20px;
    }
    
    .gv-period-amount {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gv-dashboard-container {
        margin: 10px 0;
    }
    
    .gv-stat-card,
    .gv-period-card {
        padding: 15px;
    }
    
    .gv-stat-number {
        font-size: 20px;
    }
    
    .gv-period-number {
        font-size: 18px;
    }
    
    .gv-period-amount {
        font-size: 16px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .gv-stat-card,
    .gv-period-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .gv-stat-content h3,
    .gv-period-card h3 {
        color: #e2e8f0;
    }
    
    .gv-stat-label,
    .gv-last-updated {
        color: #a0aec0;
    }
    
    .gv-refresh-section {
        background: #2d3748;
        border-color: #4a5568;
    }
} 