/* Follow Suggestions Styles - Instagram Style */
.follow-suggestions-container {
    background-color: var(--bg-color);
    border-radius: 8px;
    margin: 16px;
    
    display: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile full width technique */
@media (max-width: 768px) {
    .follow-suggestions-container {
        margin: 16px 0; /* Remove left/right margin for full width */
        border-radius: 0; /* Remove border radius for full width */
        width: 100%; /* Ensure full width */
        max-width: 100%; /* Remove any max-width restrictions */
    }
    
    .follow-suggestions-header {
        padding: 0 16px 8px; /* Reduced bottom padding from 12px to 8px */
        margin-bottom: 8px; /* Reduced from 12px to 8px */
    }
    
    .follow-suggestions-carousel {
        padding: 0 16px; /* Keep horizontal padding only for carousel */
    }
}

.follow-suggestions-header {
    padding: 0 16px 12px;
    margin-bottom: 12px;
}

.follow-suggestions-header h3 {
    font-size: 16px;
    font-weight: 500; /* Reduced from bold (700) to 500 */
    color: var(--text-color);
    margin: 0;
}

.follow-suggestions-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding: 0 16px;
    scroll-padding: 0 16px;
}

.follow-suggestions-carousel::-webkit-scrollbar {
    display: none;
}

.suggestion-card {
    scroll-snap-align: start;
    flex: 0 0 140px; /* Increased from 110px to 140px */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    border-radius: 8px;
    min-height: 200px; /* Increased from 180px to 200px */
    position: relative;
}

.suggestion-avatar {
    position: relative;
    width: 100%;
    height: 120px; /* Increased from 100px to 120px */
    margin-bottom: 8px;
    overflow: hidden;
    background-color: #f0f2f5; /* Light mode background */
    border-radius: 8px; /* Changed from circle to rectangle */
}

.suggestion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4e6eb; /* Light mode background */
}

.default-avatar svg {
    width: 60px;
    height: 60px;
}

.new-user-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: #1877F2;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
}

.suggestion-info {
    text-align: center;
    width: 100%;
}

.suggestion-username {
    font-weight: bold;
    font-size: 14px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.verified-badge {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.verified-badge.blue {
    color: #1DA1F2;
}

.verified-badge.red {
    color: #FF2E51;
}

.suggestion-follow-btn {
    background-color: #1877F2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
    width: auto; /* Changed from 100% to auto */
    min-width: 80px; /* Added minimum width */
}

.suggestion-follow-btn.following {
    background-color: #E4E6EB;
    color: #050505;
}

.suggestion-follow-btn:hover {
    background-color: #0E6FE0;
}

.suggestion-follow-btn.following:hover {
    background-color: #D8DADF;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .follow-suggestions-container {
        background-color: #101010;
    }
    
    .suggestion-avatar {
        background-color: #3a3b3c; /* Dark mode background */
    }
    
    .default-avatar {
        background-color: #3a3b3c; /* Dark mode background */
    }
    
    .suggestion-follow-btn.following {
        background-color: #3A3B3C;
        color: #E4E6EB;
    }
    
    .suggestion-follow-btn.following:hover {
        background-color: #4E4F50;
    }
}


.suggestion-fullname {
    font-size: 12px;
    color: #657786;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    text-align: center;
    width: 100%;
}

/* Dark mode adjustment */
@media (prefers-color-scheme: dark) {
    .suggestion-fullname {
        color: #8b98a5;
    }
}
