/* users.css - Style dla strony użytkowników */

.users-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px 16px;
    padding-bottom: 100px;
    background: #f8f9fa;
    min-height: calc(100vh - 75px - 70px);
}

.users-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin: 5px 0 16px 0;
    letter-spacing: -0.3px;
}

.users-search-box {
    position: relative;
    margin-bottom: 18px;
}

.users-search-box input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1.5px solid #DCEBFA;
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font-family: 'Google Sans', 'Segoe UI', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.users-search-box input:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.users-search-box input::placeholder {
    color: #aaa;
}

.users-search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: white;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.user-item:hover,
.user-item:active {
    background: #f0f6ff;
    border-color: #4A90E2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.user-item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 14px;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.user-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.user-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.user-status-dot.online {
    background: #4CAF50;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

.user-status-dot.offline {
    background: #ccc;
}

.user-item-arrow {
    color: #bbb;
    font-size: 22px;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 8px;
}

.users-loading {
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 14px;
}

.users-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 14px;
}

.load-more-btn {
    padding: 12px 28px;
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Google Sans', 'Segoe UI', sans-serif;
}

.load-more-btn:hover {
    background: #357ABD;
}

/* Paginacja - info */
.users-page-info {
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 12px;
}
