/* Styles for the Top 100 Names page */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    margin-top: 70px; /* Space for fixed navbar */
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.filter-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.name-list-container {
    margin-bottom: 3rem;
}

.name-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1.5rem;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.name-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.name-card-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.name-card-body {
    padding: 1rem;
}

.name-rank {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #4285f4;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 0.75rem;
}

.name-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

.name-gender {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.name-gender.male {
    background-color: rgba(66, 133, 244, 0.1);
    color: #4285f4;
}

.name-gender.female {
    background-color: rgba(219, 68, 55, 0.1);
    color: #db4437;
}

.name-stat {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.name-stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    width: 120px;
}

.name-stat-value {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .name-title {
        font-size: 1.25rem;
    }
    
    .name-rank {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.9rem;
    }
} 