.terminal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    will-change: opacity, backdrop-filter;
}

.terminal-modal-content {
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background-color: rgba(12, 12, 12, 0.95);
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1),
                0 0 15px rgba(255, 255, 255, 0.05),
                0 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.terminal-modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.terminal-modal-header {
    background-color: rgba(20, 20, 20, 0.9);
    padding: 10px 15px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-modal-title {
    font-size: 14px;
    color: #f0f0f0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.terminal-modal-title::before {
    content: "//";
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.6);
}

.terminal-modal-close {
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    margin: -5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.terminal-modal-close:hover {
    background-color: rgba(255, 51, 102, 0.3);
    color: #ff3366;
}

.terminal-modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 40px);
    background-image: repeating-linear-gradient(
        rgba(20, 20, 20, 0.05) 0px,
        rgba(20, 20, 20, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
    border-left: 2px solid rgba(255, 51, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-item:hover {
    background-color: rgba(40, 40, 40, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 51, 102, 0.8);
}

.user-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.user-item:hover::after {
    left: 100%;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 3px;
}

.user-since {
    font-size: 12px;
    color: #aaaaaa;
}

.user-link {
    background-color: rgba(255, 51, 102, 0.2);
    color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.user-link:hover {
    background-color: rgba(255, 51, 102, 0.4);
    transform: scale(1.05);
}

.no-users, .error-message {
    color: #aaaaaa;
    font-style: italic;
    padding: 15px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3);
}

.error-message {
    border-color: rgba(255, 51, 102, 0.3);
    color: #ff3366;
}

