/* Homepage specific styles */

.container {
    background: transparent;
    box-shadow: none;
    padding: 20px;
}

/* Users Section */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px 5px;
}

.user-card {
    /* background: var(--card-bg);
    padding: 15px;
    border-radius: 12px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        */
    overflow: hidden;
    color: inherit;
    display: flex;
    align-items: center;
}

/* 
.user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--card-hover-shadow);
} */

.user-image-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}

.user-image-link:hover .user-image img {
    transform: scale(1.05);
}

.user-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    background: var(--input-bg);
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
}

.user-card:hover .user-image {
    border-color: var(--accent-secondary);
}


.user-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.user-info {
    padding: 0 0 0 15px;
    text-align: left;
    flex: 1;
}

.user-name {
    font-size: 1.1em;
}

.user-name .user-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.user-card:hover .user-link, .user-name .user-link:hover {
    color: var(--accent-secondary);
}

.user-stats {
    display: flex;
    gap: 8px;
    font-size: 0.9em;
}

.user-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
}

.user-stat .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.user-stat .number {
    margin-left: -2px;
    font-weight: 500;
}

/* Paints Section */
.view-all-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.no-data {
    text-align: center;
    color: var(--text-tertiary);
    font-style: italic;
    padding: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .paints-grid {
        grid-template-columns: 1fr;
    }

    .paints-section,
    .users-section {
        padding: 20px;
    }
}
