body {
    font-family: "Roboto", sans-serif;
    background-color: var(--uw-white-1);
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: flex-start;
    color: var(--uw-text-1);
}

.followers-container {
    width: 100%;
    max-width: 600px;
    background: var(--uw-white-1);
    margin: auto;
    margin-top:60px;
    margin-bottom:40px;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.1s;
    box-sizing: border-box;
}


/* Search bar */
.followers-search-wrap {
    margin-bottom: 20px;
}

.followers-search-wrap .search-bar {
    display: flex;
    align-items: center;
    background: var(--uw-background-11);
    border-radius: 20px;
    padding: 10px 16px;
    transition: 0.1s;
    box-sizing: border-box;
}

.followers-search-wrap .search-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    opacity: 0.8;
}

.followers-search-wrap .search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--uw-text-1);
    outline: none;
}

.followers-search-wrap .search-bar input::placeholder {
    color: var(--uw-text-2);
}

.no-search-results {
    text-align: center;
    color: var(--uw-text-2);
    font-size: 14px;
    margin: 12px 0;
}

.followers-list {
    list-style-type: none;
    padding: 0;
}

.follower-item {
    display: flex;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.1s;
    margin-bottom:10px;
    width:100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.follower-item:hover {
    background:var(--uw-background-11);
}

.follower-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
}

.follower-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
}

/* Only the profile picture gets full size and circle; decoration overlay is handled by .uw-avatar-deco */
.follower-avatar > img,
.follower-avatar .uw-avatar-wrap > img:first-of-type {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.follower-avatar .uw-avatar-wrap {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.follower-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.follower-header {
    display: flex;
    align-items: center;
    gap: 5px;
}

.follower-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--uw-text-1);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.follower-username {
    font-weight: normal;
    font-size: 14px;
    color: var(--uw-text-2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.following-badge {
    font-size: 12px;
    background-color: var(--uw-white-2);
    border: none;
    outline: none;
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--uw-text-2);
}

.follower-stats {
    display: flex;
    gap: 15px;
    margin: 4px 0;
}

.stat-item {
    font-size: 12px;
    color: var(--uw-text-2);
}

.follower-description {
    font-size: 12px;
    color: var(--uw-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.no-followers {
    text-align: center;
    font-size: 16px;
    color: #ff3235;
    margin: 40px 0;
}

/* Loading state */
.followers-loading {
    text-align: center;
    padding: 40px;
    color: var(--uw-text-3);
}

.followers-loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--uw-white-3);
    border-top: 2px solid var(--uw-blurple-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

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

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .followers-container {
        width: 100%;
        height: auto;
        margin:5px;
    }

    .follower-item {
        padding: 10px;
    }

    .follower-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        flex-shrink: 0;
    }

    .follower-username {
        font-size: 16px;
    }

    .follower-description {
        font-size: 12px;
    }

    .follower-stats {
        gap: 10px;
    }

    .stat-item {
        font-size: 11px;
    }
}
