/* Professional Suggestions Section */
.suggestions-container {
    padding: 15px;
    background: white;
    border-bottom: 1px solid #e6ecf0;
    margin-top: 100px; /* Matches header height */
    position: relative;
    z-index: 1;
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: sticky;
    top: 120px; /* Matches header height */
    background: white;
    z-index: 2;
    padding-top: 10px;
    padding-bottom: 5px;
}

.suggestions-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f1419; /* Dark text color */
    margin: 0;
}

.suggestions-header .see-all {
    font-size: 14px;
    color: #1DA1F2; /* Twitter blue color */
    text-decoration: none;
    font-weight: 500;
}

.suggestions-scroller {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 5px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.suggestions-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.suggestion-item {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
    position: relative;
}

.suggestion-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    border: 2px solid #e6ecf0;
    display: flex; /* Add this */
    align-items: center; /* Add this */
    justify-content: center; /* Add this */
    background-color: #e6ecf0; /* Add light background */
    font-weight: bold; /* Add this */
    color: #0056b3; /* Add text color */
    font-size: 24px; /* Adjust font size */
}

.suggestion-avatar:hover {
    border-color: #1DA1F2; /* Blue border on hover */
}

.suggestion-name {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    color: #0f1419; /* Dark text color to match search page */
}

.suggestion-username {
    font-size: 11px;
    color: #536471; /* Gray color to match search page */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.suggestion-connect {
    margin-top: 5px;
}

.suggestion-connect-btn {
    background-color: #0056b3; /* Dark button color */
    color: white;
    border: none;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.suggestion-connect-btn:hover {
    background-color: #0056b3; /* Blue on hover */
}

.suggestion-connect-btn.pending {
    background-color: #0056b3;
    color: white;
}

.suggestion-connect-btn.connected {
    background-color: #0056b3;
    color; white;
}

.verified-badge {
    color: #1DA1F2; /* Twitter blue color */
    font-size: 12px;
    margin-left: 2px;
}

/* Loading states */
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(29, 161, 242, 0.2);
    border-top-color: #1DA1F2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.no-suggestions, .error-message {
    text-align: center;
    color: #536471;
    padding: 20px 0;
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ensure main header stays fixed */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


.suggestion-name-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
    width: 100%;
}

.suggestion-name-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65px; /* Control name width here */
    font-size: 12px;
    font-weight: 600;
    color: #0f1419;
}



/* Username is now totally independent */
.suggestion-username-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    color: #536471;
    max-width: 100px; /* Control username width separately here */
    margin: 0 auto;
}
