.selected-platform-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-platform-icon i {
    font-size: 20px;
}

.selected-platform-icon .fa-instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.selected-platform-icon .fa-facebook {
    color: #1877f2;
}

.selected-platform-icon .fa-tiktok {
    color: #000;
}

.selected-platform-icon .fa-youtube {
    color: #ff0000;
}

.smm-search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.smm-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #833ab4;
    animation: smm-spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes smm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.smm-search-message {
    padding: 20px;
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smm-search-results-inner {
    padding: 10px;
}

.smm-autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.2s;
    margin-bottom: 5px;
}

.smm-autocomplete-item:hover {
    background-color: #f8f9fa;
}

.smm-autocomplete-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.smm-profile-avatar-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.smm-profile-avatar-small {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.smm-profile-avatar-small.loading {
    opacity: 0.5;
    object-fit: cover;
}

.smm-autocomplete-details {
    flex: 1;
}

.smm-autocomplete-username {
    font-weight: 600;
    font-size: 15px;
    color: #262626;
    margin-bottom: 2px;
}

.smm-autocomplete-full-name {
    color: #8e8e8e;
    font-size: 14px;
}

.smm-select-btn {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.smm-select-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.smm-search-message {
    padding: 20px;
    text-align: center;
    color: #8e8e8e;
}

.smm-error {
    color: #dc3545;
    padding: 20px;
    text-align: center;
}

/* Scrollbar Styling */
.smm-search-results::-webkit-scrollbar {
    width: 8px;
}

.smm-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.smm-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.smm-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Original styles */
.smm-platform-tabs {
    margin-bottom: 10px;
}

.smm-services .service {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 8px;
}

.smm-media .media-item {
    display: inline-block;
    width: 120px;
    margin: 6px;
}

.smm-media .media-item img {
    width: 100%;
}

.smm-pricing {
    font-weight: bold;
    margin-top: 10px;
}
