/* General Styles for the All Users Section */
.all-users-section {
    font-family: Arial, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin-top: 135px;
}

.section-header-title {
    margin-top: 20px;
    text-align: center;
}

/* Section Header Title */
.section-header-title-h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    color: white;
}

.emphasis-text {
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Sub Copy */
.sub-copy {
    text-align: center;
    color: white;
    margin: 0 auto 30px;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Users Wrapper */
.users-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* User Card */
.user-card {
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: calc(100% / 3 - 20px);
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Link inside the user card */
.user-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
}

/* Profile Image Wrapper */
.profile-image-wrapper {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border: 3px solid #7bc0e8; /* Light blue border */
    box-shadow: 0 0 10px rgba(65, 150, 224, 0.5); /* Subtle shadow */
}

/* Profile Image */
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.user-info h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* User Stats (Followers and Following) */
.user-stats {
    margin-top: 10px;
    font-size: 0.9em;
    color: #aaa;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.user-stats p {
    margin: 0;
}

.user-follower-count, .user-following-count {
    font-weight: bold;
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Pagination Buttons */
.pagination-buttons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination-buttons button {
    background-color: #1976d2;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

.pagination-buttons button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .user-card {
        flex-basis: calc(100% / 2 - 20px);
    }
}

@media (max-width: 768px) {
    .user-card {
        flex-basis: 100%;
    }

    .user-card {
        max-width: 90%;
    }
}
