/* People Online Page Styles */

.online-people-ui {
    display: flex;
    background: #0e0e0f;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: row;
}

    /* SIDEBAR */
    .online-people-ui .op-sidebar {
        width: 299px;
        background: #000;
        padding: 32px 0px 0 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100vh;
    }

        .online-people-ui .op-sidebar ul {
            list-style: none;
            padding-left: 0;
            padding: 0 16px;
        }

        .online-people-ui .op-sidebar li {
            padding: 16px 25px;
            font-size: 15px;
            opacity: 0.8;
            transition: 0.3s;
            font-weight: 400;
            font-style: Regular;
            font-size: 14px;
            line-height: 100%;
            letter-spacing: 0px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .online-people-ui .op-sidebar li:hover,
            .online-people-ui .op-sidebar .active {
                background: #470000;
                opacity: 1;
            }

    /* Sidebar bottom */
    .online-people-ui .op-sidebar-bottom {
        background: #2d0000;
        padding: 15px;
        font-size: 13px;
        border-top: 1px solid #3a0a0a;
    }

        .online-people-ui .op-sidebar-bottom p {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 400;
            font-style: Regular;
            font-size: 14px;
            line-height: 100%;
            letter-spacing: 0px;
        }

    /* MAIN CONTENT */
    .online-people-ui .op-main {
        padding: 40px;
        width: 100%;
    }

    .online-people-ui .op-title {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 25px;
        font-family: Lato;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 48px;
        line-height: 100%;
        letter-spacing: 0px;
        display: flex;
        align-items: center;
    }

    /* FILTERS */
    .online-people-ui .op-filters {
        display: flex;
        gap: 10px;
    }

    .online-people-ui .op-filters button {
        padding: 12px 43px;
        background: #191919;
        border: 1px solid #333;
        border-radius: 25px;
        color: #ccc;
        cursor: pointer;
        transition: 0.3s;
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        line-height: 150%;
        letter-spacing: 0%;
        color: rgba(143, 149, 163, 1);
        width: 145px;
        border-radius: 8px;
    }

        .online-people-ui .op-filters .active,
        .online-people-ui .op-filters button:hover {
            background: rgba(255, 0, 0, 1);
            border-color: rgba(255, 0, 0, 1);
            color: #fff;
        }

/* CARD GRID */
.online-people-ui .op-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
    gap: 130px 15px;
}

/* CARD */
.online-people-ui .op-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 24px;
    transition: 0.3s;
}

    .online-people-ui .op-card:hover {
        transform: translateY(-5px);
        border-color: #ff1d40;
    }

/* Image circle */
.online-people-ui .op-card-img {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-top: -100px;
}

    .online-people-ui .op-card-img img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 100px;
    }

/* Green online dot */
.online-people-ui .op-online-dot {
    width: 16px;
    height: 16px;
    background: rgba(26, 166, 26, 1);
    border-radius: 50%;
    position: absolute;
    right: 82px;
    bottom: 52px;
}

/* CARD BODY */
.online-people-ui .op-card-body h3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 6px;
}

.online-people-ui .verified {
    color: #1e90ff;
}

/* Location */
.online-people-ui .location {
    margin: 0;
    opacity: 0.7;
    font-size: 14px;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
    color: rgba(143, 149, 163, 1);
}

/* Followed text */
.online-people-ui .followed {
    margin: 5px 0 15px;
    opacity: 0.6;
    font-size: 13px;
    font-weight: 400;
    font-style: Regular;
    line-height: 18px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: rgba(143, 149, 163, 1);
}

/* Follow Button */
.online-people-ui .follow-btn {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    border: solid 1px rgba(92, 98, 112, 0.4);
    width: 76px;
    float: right;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    padding: 10px 16px;
}

    .online-people-ui .follow-btn:hover {
        background: #ff0029;
    }

.online-people-ui span.people-span {
    position: relative;
    margin-left: -31px;
    z-index: 1;
}

.online-people-ui span.people-online-head {
    position: relative;
    z-index: 2;
}

.online-people-ui .upcard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.online-people-ui .view-more-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 0, 0, 1);
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.flex-online-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px;
}

.galery-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pupular-div-main {
    display: flex;
    align-items: center;
    background: rgba(143, 149, 163, 0.1);
    padding: 4px 4px;
    border-radius: 12px;
}

.pupular-div-main a {
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    color: rgba(143, 149, 163, 1);
}

a.popular-btn {
    background: rgba(60, 19, 21, 1);
    padding: 10px 11px;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    color: rgba(255, 133, 135, 1);
}

a.latest-btn {
    padding: 10px 11px;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    color: rgba(143, 149, 163, 1);
}

.filter-btn {
    background-color: rgba(143, 149, 163, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
    box-shadow: none;
}

    .filter-btn:focus {
        outline: none;
    }

/* Filter Panel */
.filter-panel {
    width: 320px;
    background: rgba(0, 0, 0, 1);
    padding: 20px;
    border-radius: 8px;
    font-family: "Lato", sans-serif;
    color: #fff;
    position: fixed;
    top: 0;
    right: -350px; /* hidden on right */
    width: 350px;
    height: 100vh;
    background: #111;
    color: #fff;
    padding: 20px;
    overflow-y: auto;
    transition: 0.4s ease;
    z-index: 9999;
    border-left: 1px solid #222;
    transition: right 0.3s ease-in-out;
}

    /* When panel is open */
    .filter-panel.open {
        right: 0;
        top: 79px;
        display: block !important;
    }

.fp-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    text-transform: capitalize;
}

.fp-group {
    margin-bottom: 18px;
}

    .fp-group label {
        display: block;
        font-size: 14px;
        opacity: 0.8;
        margin-bottom: 6px;
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0px;
        margin-bottom: 15px;
    }

.fp-select {
    background: transparent;
    border: 1px solid #333;
    padding: 12px 15px;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

.fp-selected {
    font-size: 15px;
}

.fp-clear {
    position: absolute;
    right: 35px;
    top: 12px;
    font-size: 14px;
    opacity: 0.7;
    cursor: pointer;
}

.fp-arrow {
    position: absolute;
    right: 12px;
    top: 12px;
    opacity: 0.7;
}

.fp-options {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    background: #1d1d1d;
    border: 1px solid #333;
    border-radius: 6px;
    position: absolute;
    width: 100%;
    left: 0;
    top: 120%;
    display: none;
    z-index: 10;
}

    .fp-options li {
        padding: 10px 15px;
        font-size: 14px;
        cursor: pointer;
    }

        .fp-options li:hover {
            background: #333;
        }

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-bottom: 20px;
}

    .filters-header h2 {
        color: #fff;
        font-size: 22px;
        margin: 0;
    }

.filters-close {
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: 0.2s;
}

    .filters-close:hover {
        color: #fff;
        transform: scale(1.1);
    }

/* Pagination */
.pagination {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    margin: 30px 0;
    gap: 10px;
}

    .pagination button {
        margin: 0 5px;
        padding: 8px 12px;
        cursor: pointer;
        padding: 8px 14px;
        border: none;
        background: transparent;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        color: #fff;
        transition: 0.3s ease;
    }

        .pagination button.active {
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
            font-weight: bold;
            border-radius: 50%;
            width: 32px;
            height: 32px;
        }

        .pagination button:hover {
            background: #dbe9ff;
        }

/* Layout adjustments */
.layout-wrapper.filter-open .online-people-ui {
    width: 70%;
}

.online-people-ui.shrink {
    width: 77%;
    transition: 0.3s ease;
}

