/* Statistics Page Styles */
.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.statistics-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
}

.statistics-section {
    margin-bottom: 3rem;
    background: #fff;
    padding: 2rem;
    border: 1px solid #ddd;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
}

/* Stats Summary Cards */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e5e5e5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-card.total {
    background: #000;
    color: #fff;
    border: none;
}

.stat-card.total h3 {
    color: #fff;
}

.stat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

.stat-card.total .stat-label {
    color: #ccc;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Birth Attributes Grid */
.birth-attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.attribute-card {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.attribute-card.month {
    border-color: #007bff;
}

.attribute-card.day {
    border-color: #28a745;
}

.attribute-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.attribute-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.attribute-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.25rem;
}

.attribute-type {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

/* Info and Footer */
.stats-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.9rem;
    color: #666;
}

.stats-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.875rem;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .statistics-container {
        padding: 1rem 0.5rem;
    }
    
    .statistics-title {
        font-size: 1.5rem;
    }
    
    .statistics-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .birth-attributes-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .attribute-count {
        font-size: 1.25rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .birth-attributes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}