
/*=====================================================
    Online Members Premium
=====================================================*/

body{
    background:#f5f7fb !important;
    font-family:Inter,system-ui,sans-serif;
    color:#1f2937;
}

.online-page{
    min-height:100vh;
}

*{

    box-sizing:border-box;

}

html,
body{

    overflow-x:hidden;

}

.member-card{

    overflow:hidden;

}

.member-avatar img{

    max-width:none;

}

.member-content{

    min-width:0;

    overflow:hidden;

}

.member-left{

    min-width:0;

}

/*=====================================================
    Hero
=====================================================*/

.online-hero{

    background:#fff;

    border:1px solid #e8edf5;

    border-radius:22px;

    padding:28px;

    margin-bottom:24px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

    box-shadow:
    0 12px 35px rgba(15,23,42,.05);
}

.online-hero h1{

    margin:0;

    font-size:2rem;

    font-weight:700;
}

.online-hero p{

    margin-top:8px;

    margin-bottom:0;

    color:#6b7280;
}

.online-count{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    border-radius:14px;

    background:#ecfdf5;

    color:#16a34a;

    font-weight:700;

    border:1px solid #bbf7d0;
}

.online-dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#22c55e;

    animation:pulse 1.8s infinite;
}

@keyframes pulse{

0%{

transform:scale(.9);

opacity:1;

}

50%{

transform:scale(1.35);

opacity:.45;

}

100%{

transform:scale(.9);

opacity:1;

}

}

/*=====================================================
    Search Card
=====================================================*/

.search-card{

    background:#fff;

    border-radius:20px;

    padding:20px;

    margin-bottom:28px;

    border:1px solid #e8edf5;

    box-shadow:
    0 10px 30px rgba(15,23,42,.04);
}

.search-input{

    display:flex;

    align-items:center;

    gap:12px;

    background:#f8fafc;

    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:13px 16px;
}

.search-input i{

    color:#94a3b8;

    font-size:18px;
}

.search-input input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;
}

.search-buttons{

    display:flex;

    gap:10px;

    justify-content:flex-end;
}

.btn-search{

    border:none;

    background:#4f7cff;

    color:#fff;

    padding:12px 22px;

    border-radius:12px;

    font-weight:600;

    transition:.25s;
}

.btn-search:hover{

    background:#3969f2;

    transform:translateY(-2px);
}

.btn-reset{

    text-decoration:none;

    background:#eef2ff;

    color:#4f7cff;

    padding:12px 18px;

    border-radius:12px;

    font-weight:600;

    transition:.25s;
}

.btn-reset:hover{

    background:#4f7cff;

    color:#fff;
}

/*=====================================================
    Member Card
=====================================================*/

.member-card{

    background:#fff;

    border:1px solid #e8edf5;

    border-radius:18px;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:18px;

    height:100%;

    transition:.25s;

    box-shadow:
    0 8px 25px rgba(15,23,42,.04);
}

.member-card:hover{

    transform:translateY(-4px);

    background:#fbfcff;

    box-shadow:
    0 20px 45px rgba(15,23,42,.08);
}

/*=====================================================
    Left
=====================================================*/

.member-left{

    display:flex;

    align-items:center;

    gap:16px;

    flex:1;
}

/*=====================================================
    Avatar
=====================================================*/

.member-avatar{

    position:relative;
}

.member-avatar img{

    width:62px;

    height:62px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #fff;

    box-shadow:
    0 8px 18px rgba(0,0,0,.08);
}

.status-dot{

    position:absolute;

    right:2px;

    bottom:2px;

    width:14px;

    height:14px;

    background:#22c55e;

    border:3px solid #fff;

    border-radius:50%;
}

/*=====================================================
    Content
=====================================================*/

.member-content{

    flex:1;

    min-width:0;
}

.member-content h5{

    margin:0;

    font-size:17px;

    font-weight:700;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;
}

.country-flag{

    width:22px;

    margin-right:5px;

    border-radius:3px;

    vertical-align:middle;
}

.member-status{

    margin-top:5px;

    margin-bottom:8px;
}

.status-badge{

    display:inline-flex;

    align-items:center;

    gap:6px;

    background:#ecfdf5;

    color:#16a34a;

    border:1px solid #bbf7d0;

    padding:4px 10px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;
}

.status-badge::before{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:#22c55e;
}

/*=====================================================
    Meta
=====================================================*/

.member-meta{

    display:flex;

    align-items:center;

    gap:16px;

    flex-wrap:wrap;

    font-size:13px;

    color:#6b7280;
}

.level-pill{

    background:#eef4ff;

    color:#4f7cff;

    padding:4px 10px;

    border-radius:999px;

    font-weight:700;
}

/*=====================================================
    Action
=====================================================*/

.member-action{

    flex-shrink:0;
}

.message-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    text-decoration:none;

    background:#4f7cff;

    color:#fff;

    padding:11px 18px;

    border-radius:12px;

    font-weight:600;

    transition:.25s;
}

.message-btn:hover{

    background:#3969f2;

    color:#fff;

    transform:translateY(-2px);
}

/*=====================================================
    Scrollbar
=====================================================*/

::-webkit-scrollbar{

    width:8px;
}

::-webkit-scrollbar-thumb{

    background:#cfd8e3;

    border-radius:30px;
}

::-webkit-scrollbar-thumb:hover{

    background:#aebdce;
}

/*=====================================================
    Responsive
=====================================================*/

@media(max-width:992px){

.online-hero{

    flex-direction:column;

    align-items:flex-start;
}

.search-buttons{

    justify-content:flex-start;

    margin-top:10px;
}

}

@media(max-width:768px){

.online-hero{

    padding:22px;
}

.online-hero h1{

    font-size:1.7rem;
}

.member-card{

    padding:16px;
}

.member-avatar img{

    width:56px;

    height:56px;
}

.member-content h5{

    font-size:16px;
}

.member-meta{

    gap:10px;

    font-size:12px;
}

.message-btn{

    padding:10px 15px;

    font-size:14px;
}

}

@media(max-width:576px){

.container{

    padding-left:12px;

    padding-right:12px;

}

.row{

    --bs-gutter-x:0.75rem;

}

.member-card{

    flex-direction:column;

    align-items:flex-start;

    width:100%;

    overflow:hidden;

}

.member-left{

    width:100%;

    min-width:0;

    gap:12px;

}

.member-content{

    flex:1;

    min-width:0;

    width:100%;

}

.member-content h5{

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.member-meta{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    width:100%;

}

.member-action{

    width:100%;

}

.message-btn{

    width:100%;

    justify-content:center;

}

.search-buttons{

    flex-direction:column;

}

.btn-search,
.btn-reset{

    width:100%;

    text-align:center;

}

}
