/* Main Wrapper */
.userlist-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f1f3f5;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

/* User Card */
.user-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    transition: all 0.25s ease-in-out;
    animation: fadeIn 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Avatar + Dot */
.user-avatar-container {
    position: relative;
    margin-bottom: 10px;
}

.user-avatar-container img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 50% !important;
}

.user-status-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Dot Colors */
.user-status-dot.online { background: #43a047; }
.user-status-dot.busy { background: #f44336; }
.user-status-dot.offline { background: #bbb; }
.user-status-dot.available { background: #257c29; }

/* User Info */
.user-info {
    display: grid;
    text-align: center;
}

.user-info h4 {
    font-size: 14px;
    margin: 6px 0 10px;
    font-weight: 600;
    color: #222;
    word-break: break-word;
}

.user-info h4 a {
    color: #222;
    text-decoration: none;
}

.user-info h4 a:hover {
    color: #0073aa;
}

/* Status Button */

.status-button {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 10px;
    margin-top: 5px;
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #81c784;
    cursor: pointer;
    border: none;
}

.status-button:hover {
    background: #81c784;
}

.offline {
    background: #bbb;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
}

.online {
    background: #43a047;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
}

.available {
    background: #257c29;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
}

.busy {
    background: #e01b14;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* LINE Profile Icon */

.line-profile-link {
    background: green;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.8rem;
    margin: 10px 0;
}